Ambient Occlusion in TLK 1.4.2 Error
by Max Thomas · in Torque Game Engine · 07/14/2009 (10:44 am) · 4 replies
Hey Guys,
I'm working on merging the Ambient Occlusion for TGE resource into TLK, but happen to be getting a few errors that I havn't been able to figure out on my own, and was hoping someone here maybe had the same issue and could help point me in the right direction.
When I go to compile the engine it's spitting these errors back out at me:
../engine\interior/interiorInstance.h(187) : error C2086: 'mUseGLLighting' : redefinition
../engine\interior/interiorInstance.h(214) : error C2086: 'mDoSimpleDynamicRender' : redefinition
and
C:\LightingPack\engine\synapseGaming\contentPacks\lightingPack\sgLightMap.cc(523) : error C2039: 'normal' : is not a member of 'sgLexel'
../engine\synapseGaming/contentPacks/lightingPack/sgLightMap.h(87) : see declaration of 'sgLexel'
C:\LightingPack\engine\synapseGaming\contentPacks\lightingPack\sgLightMap.cc(532) : error C2039: 'normal' : is not a member of 'sgLexel'
../engine\synapseGaming/contentPacks/lightingPack/sgLightMap.h(87) : see declaration of 'sgLexel'
C:\LightingPack\engine\synapseGaming\contentPacks\lightingPack\sgLightMap.cc(533) : error C2039: 'normal' : is not a member of 'sgLexel'
../engine\synapseGaming/contentPacks/lightingPack/sgLightMap.h(87) : see declaration of 'sgLexel'
C:\LightingPack\engine\synapseGaming\contentPacks\lightingPack\sgLightMap.cc(536) : error C2039: 'normal' : is not a member of 'sgLexel'
../engine\synapseGaming/contentPacks/lightingPack/sgLightMap.h(87) : see declaration of 'sgLexel'
C:\LightingPack\engine\synapseGaming\contentPacks\lightingPack\sgLightMap.cc(542) : error C2039: 'normal' : is not a member of 'sgLexel'
../engine\synapseGaming/contentPacks/lightingPack/sgLightMap.h(87) : see declaration of 'sgLexel'
C:\LightingPack\engine\synapseGaming\contentPacks\lightingPack\sgLightMap.cc(583) : error C2039: 'normal' : is not a member of 'sgLexel'
../engine\synapseGaming/contentPacks/lightingPack/sgLightMap.h(87) : see declaration of 'sgLexel'
C:\LightingPack\engine\synapseGaming\contentPacks\lightingPack\sgLightMap.cc(591) : error C2039: 'sgData' : is not a member of 'ColorF'
../engine\core/color.h(19) : see declaration of 'ColorF'
I've gone back to the sources of the problems to try and figure out what's going wrong, but all looks fine to me, even though it clearly is not.
The TGE Ambient Occlusion Resource: www.garagegames.com/community/blogs/view/15055
Help would be greatly appreciated.
Thank you, Max Thomas
I'm working on merging the Ambient Occlusion for TGE resource into TLK, but happen to be getting a few errors that I havn't been able to figure out on my own, and was hoping someone here maybe had the same issue and could help point me in the right direction.
When I go to compile the engine it's spitting these errors back out at me:
../engine\interior/interiorInstance.h(187) : error C2086: 'mUseGLLighting' : redefinition
../engine\interior/interiorInstance.h(214) : error C2086: 'mDoSimpleDynamicRender' : redefinition
and
C:\LightingPack\engine\synapseGaming\contentPacks\lightingPack\sgLightMap.cc(523) : error C2039: 'normal' : is not a member of 'sgLexel'
../engine\synapseGaming/contentPacks/lightingPack/sgLightMap.h(87) : see declaration of 'sgLexel'
C:\LightingPack\engine\synapseGaming\contentPacks\lightingPack\sgLightMap.cc(532) : error C2039: 'normal' : is not a member of 'sgLexel'
../engine\synapseGaming/contentPacks/lightingPack/sgLightMap.h(87) : see declaration of 'sgLexel'
C:\LightingPack\engine\synapseGaming\contentPacks\lightingPack\sgLightMap.cc(533) : error C2039: 'normal' : is not a member of 'sgLexel'
../engine\synapseGaming/contentPacks/lightingPack/sgLightMap.h(87) : see declaration of 'sgLexel'
C:\LightingPack\engine\synapseGaming\contentPacks\lightingPack\sgLightMap.cc(536) : error C2039: 'normal' : is not a member of 'sgLexel'
../engine\synapseGaming/contentPacks/lightingPack/sgLightMap.h(87) : see declaration of 'sgLexel'
C:\LightingPack\engine\synapseGaming\contentPacks\lightingPack\sgLightMap.cc(542) : error C2039: 'normal' : is not a member of 'sgLexel'
../engine\synapseGaming/contentPacks/lightingPack/sgLightMap.h(87) : see declaration of 'sgLexel'
C:\LightingPack\engine\synapseGaming\contentPacks\lightingPack\sgLightMap.cc(583) : error C2039: 'normal' : is not a member of 'sgLexel'
../engine\synapseGaming/contentPacks/lightingPack/sgLightMap.h(87) : see declaration of 'sgLexel'
C:\LightingPack\engine\synapseGaming\contentPacks\lightingPack\sgLightMap.cc(591) : error C2039: 'sgData' : is not a member of 'ColorF'
../engine\core/color.h(19) : see declaration of 'ColorF'
I've gone back to the sources of the problems to try and figure out what's going wrong, but all looks fine to me, even though it clearly is not.
The TGE Ambient Occlusion Resource: www.garagegames.com/community/blogs/view/15055
Help would be greatly appreciated.
Thank you, Max Thomas
#2
07/14/2009 (1:21 pm)
Hey Ryan, Just fired an email your way. Thank you so much for taking the time to look over them.
#3
07/15/2009 (7:49 am)
Just shot you an email back. Hope it helps get things up and working for you.
#4
07/15/2009 (1:27 pm)
Any chance you all can post the results for the community?
Torque Owner Ryan Mounts
CornerstoneViz