Did you forget to add '#include "OgreStableHeaders.h"' to yo

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
User avatar
nevarim
Gnoll
Posts: 675
Joined: Mon Jul 05, 2010 6:16 pm
Location: Pavia Italy
x 4

Did you forget to add '#include "OgreStableHeaders.h"' to yo

Post by nevarim »

i have this error while compiling ogre latest version

Code: Select all

Error	6	error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "OgreStableHeaders.h"' to your source?	D:\code\OgreSDK\ogre\OgreMain\src\OgreShaderParams.cpp	98	1	OgreMain
downloaded from bitbucket
dependencies branches sdl2
ogre branche 2-1 pso compute

VS2012 as compiler

anyone has this error?
i'm a noob until proven otherwise :D
used in my project ;) and thanks to everyone :D
Ogre 3d
Mygui
Skyx
Hydrax
MOC
CCS
User avatar
nevarim
Gnoll
Posts: 675
Joined: Mon Jul 05, 2010 6:16 pm
Location: Pavia Italy
x 4

Re: Did you forget to add '#include "OgreStableHeaders.h"' t

Post by nevarim »

problem updated

i get V2-1 and now i have error on RTSshadersystem


Code: Select all


1>------ Build started: Project: OgreRTShaderSystem, Configuration: Debug Win32 ------
1>  OgreShaderGenerator.cpp
1>  OgreShaderHLSLProgramWriter.cpp
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(548): error C2061: syntax error : identifier 'IlluminationStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C2146: syntax error : missing ';' before identifier 'getIlluminationStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): warning C4183: 'getIlluminationStage': missing return type; assumed to be a member function returning 'int' (..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(599): error C2146: syntax error : missing ';' before identifier 'mStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(599): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C2065: 'mStage' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(574): error C2065: 'mStage' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(574): error C2065: 'IS_UNKNOWN' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(548): error C2061: syntax error : identifier 'IlluminationStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderHLSLProgramWriter.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C2146: syntax error : missing ';' before identifier 'getIlluminationStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderHLSLProgramWriter.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\..\..\Components\RTShaderSystem\src\OgreShaderHLSLProgramWriter.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): warning C4183: 'getIlluminationStage': missing return type; assumed to be a member function returning 'int' (..\..\..\Components\RTShaderSystem\src\OgreShaderHLSLProgramWriter.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(599): error C2146: syntax error : missing ';' before identifier 'mStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderHLSLProgramWriter.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(599): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\..\..\Components\RTShaderSystem\src\OgreShaderHLSLProgramWriter.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C2065: 'mStage' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderHLSLProgramWriter.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(574): error C2065: 'mStage' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderHLSLProgramWriter.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(574): error C2065: 'IS_UNKNOWN' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderHLSLProgramWriter.cpp)
1>  OgreShaderMaterialSerializerListener.cpp
1>..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp(1521): error C2061: syntax error : identifier 'IlluminationStage'
1>..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp(1526): error C2065: 'mStage' : undeclared identifier
1>..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp(1526): error C2065: 'stage' : undeclared identifier
1>..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp(1668): error C2065: 'IS_UNKNOWN' : undeclared identifier
1>..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp(1680): error C2039: 'IlluminationPassIterator' : is not a member of 'Ogre::Technique'
1>          D:\code\OgreSDK\ogre\OgreMain\include\OgreTechnique.h(50) : see declaration of 'Ogre::Technique'
1>..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp(1680): error C2065: 'IlluminationPassIterator' : undeclared identifier
1>..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp(1680): error C2146: syntax error : missing ';' before identifier 'pi'
1>..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp(1680): error C2065: 'pi' : undeclared identifier
1>..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp(1680): error C2039: 'getIlluminationPassIterator' : is not a member of 'Ogre::Technique'
1>          D:\code\OgreSDK\ogre\OgreMain\include\OgreTechnique.h(50) : see declaration of 'Ogre::Technique'
1>..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp(1682): error C2065: 'pi' : undeclared identifier
1>..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp(1682): error C2228: left of '.hasMoreElements' must have class/struct/union
1>          type is ''unknown-type''
1>..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp(1682): fatal error C1903: unable to recover from previous error(s); stopping compilation
1>  OgreShaderParameter.cpp
1>d:\code\ogresdk\ogre\components\rtshadersystem\include\OgreShaderGenerator.h(548): error C2061: syntax error : identifier 'IlluminationStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderMaterialSerializerListener.cpp)
1>d:\code\ogresdk\ogre\components\rtshadersystem\include\OgreShaderGenerator.h(571): error C2146: syntax error : missing ';' before identifier 'getIlluminationStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderMaterialSerializerListener.cpp)
1>d:\code\ogresdk\ogre\components\rtshadersystem\include\OgreShaderGenerator.h(571): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\..\..\Components\RTShaderSystem\src\OgreShaderMaterialSerializerListener.cpp)
1>d:\code\ogresdk\ogre\components\rtshadersystem\include\OgreShaderGenerator.h(571): warning C4183: 'getIlluminationStage': missing return type; assumed to be a member function returning 'int' (..\..\..\Components\RTShaderSystem\src\OgreShaderMaterialSerializerListener.cpp)
1>d:\code\ogresdk\ogre\components\rtshadersystem\include\OgreShaderGenerator.h(599): error C2146: syntax error : missing ';' before identifier 'mStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderMaterialSerializerListener.cpp)
1>d:\code\ogresdk\ogre\components\rtshadersystem\include\OgreShaderGenerator.h(599): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\..\..\Components\RTShaderSystem\src\OgreShaderMaterialSerializerListener.cpp)
1>d:\code\ogresdk\ogre\components\rtshadersystem\include\OgreShaderGenerator.h(571): error C2065: 'mStage' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderMaterialSerializerListener.cpp)
1>d:\code\ogresdk\ogre\components\rtshadersystem\include\OgreShaderGenerator.h(574): error C2065: 'mStage' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderMaterialSerializerListener.cpp)
1>d:\code\ogresdk\ogre\components\rtshadersystem\include\OgreShaderGenerator.h(574): error C2065: 'IS_UNKNOWN' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderMaterialSerializerListener.cpp)
1>  OgreShaderProgramManager.cpp
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(548): error C2061: syntax error : identifier 'IlluminationStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderParameter.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C2146: syntax error : missing ';' before identifier 'getIlluminationStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderParameter.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\..\..\Components\RTShaderSystem\src\OgreShaderParameter.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): warning C4183: 'getIlluminationStage': missing return type; assumed to be a member function returning 'int' (..\..\..\Components\RTShaderSystem\src\OgreShaderParameter.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(599): error C2146: syntax error : missing ';' before identifier 'mStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderParameter.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(599): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\..\..\Components\RTShaderSystem\src\OgreShaderParameter.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C2065: 'mStage' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderParameter.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(574): error C2065: 'mStage' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderParameter.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(574): error C2065: 'IS_UNKNOWN' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderParameter.cpp)
1>  OgreShaderProgramProcessor.cpp
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(548): error C2061: syntax error : identifier 'IlluminationStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramManager.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C2146: syntax error : missing ';' before identifier 'getIlluminationStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramManager.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramManager.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): warning C4183: 'getIlluminationStage': missing return type; assumed to be a member function returning 'int' (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramManager.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(599): error C2146: syntax error : missing ';' before identifier 'mStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramManager.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(599): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramManager.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(548): error C2061: syntax error : identifier 'IlluminationStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramProcessor.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C2146: syntax error : missing ';' before identifier 'getIlluminationStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramProcessor.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramProcessor.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): warning C4183: 'getIlluminationStage': missing return type; assumed to be a member function returning 'int' (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramProcessor.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(599): error C2146: syntax error : missing ';' before identifier 'mStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramProcessor.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(599): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramProcessor.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C2065: 'mStage' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramManager.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(574): error C2065: 'mStage' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramManager.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(574): error C2065: 'IS_UNKNOWN' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramManager.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C2065: 'mStage' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramProcessor.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(574): error C2065: 'mStage' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramProcessor.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(574): error C2065: 'IS_UNKNOWN' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramProcessor.cpp)
1>  OgreShaderRenderState.cpp
1>  OgreShaderScriptTranslator.cpp
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(548): error C2061: syntax error : identifier 'IlluminationStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderRenderState.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C2146: syntax error : missing ';' before identifier 'getIlluminationStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderRenderState.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\..\..\Components\RTShaderSystem\src\OgreShaderRenderState.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): warning C4183: 'getIlluminationStage': missing return type; assumed to be a member function returning 'int' (..\..\..\Components\RTShaderSystem\src\OgreShaderRenderState.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(599): error C2146: syntax error : missing ';' before identifier 'mStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderRenderState.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(599): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\..\..\Components\RTShaderSystem\src\OgreShaderRenderState.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C2065: 'mStage' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderRenderState.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(574): error C2065: 'mStage' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderRenderState.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(574): error C2065: 'IS_UNKNOWN' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderRenderState.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(548): error C2061: syntax error : identifier 'IlluminationStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderScriptTranslator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C2146: syntax error : missing ';' before identifier 'getIlluminationStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderScriptTranslator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\..\..\Components\RTShaderSystem\src\OgreShaderScriptTranslator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): warning C4183: 'getIlluminationStage': missing return type; assumed to be a member function returning 'int' (..\..\..\Components\RTShaderSystem\src\OgreShaderScriptTranslator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(599): error C2146: syntax error : missing ';' before identifier 'mStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderScriptTranslator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(599): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\..\..\Components\RTShaderSystem\src\OgreShaderScriptTranslator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C2065: 'mStage' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderScriptTranslator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(574): error C2065: 'mStage' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderScriptTranslator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(574): error C2065: 'IS_UNKNOWN' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderScriptTranslator.cpp)
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========


i'm a noob until proven otherwise :D
used in my project ;) and thanks to everyone :D
Ogre 3d
Mygui
Skyx
Hydrax
MOC
CCS
al2950
OGRE Expert User
OGRE Expert User
Posts: 1227
Joined: Thu Dec 11, 2008 7:56 pm
Location: Bristol, UK
x 157

Re: Did you forget to add '#include "OgreStableHeaders.h"' t

Post by al2950 »

nevarim wrote:problem updated

i get V2-1 and now i have error on RTSshadersystem


Code: Select all


1>------ Build started: Project: OgreRTShaderSystem, Configuration: Debug Win32 ------
1>  OgreShaderGenerator.cpp
1>  OgreShaderHLSLProgramWriter.cpp
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(548): error C2061: syntax error : identifier 'IlluminationStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C2146: syntax error : missing ';' before identifier 'getIlluminationStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): warning C4183: 'getIlluminationStage': missing return type; assumed to be a member function returning 'int' (..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(599): error C2146: syntax error : missing ';' before identifier 'mStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(599): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C2065: 'mStage' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(574): error C2065: 'mStage' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(574): error C2065: 'IS_UNKNOWN' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(548): error C2061: syntax error : identifier 'IlluminationStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderHLSLProgramWriter.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C2146: syntax error : missing ';' before identifier 'getIlluminationStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderHLSLProgramWriter.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\..\..\Components\RTShaderSystem\src\OgreShaderHLSLProgramWriter.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): warning C4183: 'getIlluminationStage': missing return type; assumed to be a member function returning 'int' (..\..\..\Components\RTShaderSystem\src\OgreShaderHLSLProgramWriter.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(599): error C2146: syntax error : missing ';' before identifier 'mStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderHLSLProgramWriter.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(599): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\..\..\Components\RTShaderSystem\src\OgreShaderHLSLProgramWriter.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C2065: 'mStage' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderHLSLProgramWriter.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(574): error C2065: 'mStage' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderHLSLProgramWriter.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(574): error C2065: 'IS_UNKNOWN' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderHLSLProgramWriter.cpp)
1>  OgreShaderMaterialSerializerListener.cpp
1>..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp(1521): error C2061: syntax error : identifier 'IlluminationStage'
1>..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp(1526): error C2065: 'mStage' : undeclared identifier
1>..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp(1526): error C2065: 'stage' : undeclared identifier
1>..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp(1668): error C2065: 'IS_UNKNOWN' : undeclared identifier
1>..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp(1680): error C2039: 'IlluminationPassIterator' : is not a member of 'Ogre::Technique'
1>          D:\code\OgreSDK\ogre\OgreMain\include\OgreTechnique.h(50) : see declaration of 'Ogre::Technique'
1>..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp(1680): error C2065: 'IlluminationPassIterator' : undeclared identifier
1>..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp(1680): error C2146: syntax error : missing ';' before identifier 'pi'
1>..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp(1680): error C2065: 'pi' : undeclared identifier
1>..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp(1680): error C2039: 'getIlluminationPassIterator' : is not a member of 'Ogre::Technique'
1>          D:\code\OgreSDK\ogre\OgreMain\include\OgreTechnique.h(50) : see declaration of 'Ogre::Technique'
1>..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp(1682): error C2065: 'pi' : undeclared identifier
1>..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp(1682): error C2228: left of '.hasMoreElements' must have class/struct/union
1>          type is ''unknown-type''
1>..\..\..\Components\RTShaderSystem\src\OgreShaderGenerator.cpp(1682): fatal error C1903: unable to recover from previous error(s); stopping compilation
1>  OgreShaderParameter.cpp
1>d:\code\ogresdk\ogre\components\rtshadersystem\include\OgreShaderGenerator.h(548): error C2061: syntax error : identifier 'IlluminationStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderMaterialSerializerListener.cpp)
1>d:\code\ogresdk\ogre\components\rtshadersystem\include\OgreShaderGenerator.h(571): error C2146: syntax error : missing ';' before identifier 'getIlluminationStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderMaterialSerializerListener.cpp)
1>d:\code\ogresdk\ogre\components\rtshadersystem\include\OgreShaderGenerator.h(571): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\..\..\Components\RTShaderSystem\src\OgreShaderMaterialSerializerListener.cpp)
1>d:\code\ogresdk\ogre\components\rtshadersystem\include\OgreShaderGenerator.h(571): warning C4183: 'getIlluminationStage': missing return type; assumed to be a member function returning 'int' (..\..\..\Components\RTShaderSystem\src\OgreShaderMaterialSerializerListener.cpp)
1>d:\code\ogresdk\ogre\components\rtshadersystem\include\OgreShaderGenerator.h(599): error C2146: syntax error : missing ';' before identifier 'mStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderMaterialSerializerListener.cpp)
1>d:\code\ogresdk\ogre\components\rtshadersystem\include\OgreShaderGenerator.h(599): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\..\..\Components\RTShaderSystem\src\OgreShaderMaterialSerializerListener.cpp)
1>d:\code\ogresdk\ogre\components\rtshadersystem\include\OgreShaderGenerator.h(571): error C2065: 'mStage' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderMaterialSerializerListener.cpp)
1>d:\code\ogresdk\ogre\components\rtshadersystem\include\OgreShaderGenerator.h(574): error C2065: 'mStage' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderMaterialSerializerListener.cpp)
1>d:\code\ogresdk\ogre\components\rtshadersystem\include\OgreShaderGenerator.h(574): error C2065: 'IS_UNKNOWN' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderMaterialSerializerListener.cpp)
1>  OgreShaderProgramManager.cpp
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(548): error C2061: syntax error : identifier 'IlluminationStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderParameter.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C2146: syntax error : missing ';' before identifier 'getIlluminationStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderParameter.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\..\..\Components\RTShaderSystem\src\OgreShaderParameter.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): warning C4183: 'getIlluminationStage': missing return type; assumed to be a member function returning 'int' (..\..\..\Components\RTShaderSystem\src\OgreShaderParameter.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(599): error C2146: syntax error : missing ';' before identifier 'mStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderParameter.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(599): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\..\..\Components\RTShaderSystem\src\OgreShaderParameter.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C2065: 'mStage' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderParameter.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(574): error C2065: 'mStage' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderParameter.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(574): error C2065: 'IS_UNKNOWN' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderParameter.cpp)
1>  OgreShaderProgramProcessor.cpp
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(548): error C2061: syntax error : identifier 'IlluminationStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramManager.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C2146: syntax error : missing ';' before identifier 'getIlluminationStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramManager.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramManager.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): warning C4183: 'getIlluminationStage': missing return type; assumed to be a member function returning 'int' (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramManager.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(599): error C2146: syntax error : missing ';' before identifier 'mStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramManager.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(599): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramManager.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(548): error C2061: syntax error : identifier 'IlluminationStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramProcessor.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C2146: syntax error : missing ';' before identifier 'getIlluminationStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramProcessor.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramProcessor.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): warning C4183: 'getIlluminationStage': missing return type; assumed to be a member function returning 'int' (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramProcessor.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(599): error C2146: syntax error : missing ';' before identifier 'mStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramProcessor.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(599): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramProcessor.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C2065: 'mStage' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramManager.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(574): error C2065: 'mStage' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramManager.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(574): error C2065: 'IS_UNKNOWN' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramManager.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C2065: 'mStage' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramProcessor.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(574): error C2065: 'mStage' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramProcessor.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(574): error C2065: 'IS_UNKNOWN' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderProgramProcessor.cpp)
1>  OgreShaderRenderState.cpp
1>  OgreShaderScriptTranslator.cpp
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(548): error C2061: syntax error : identifier 'IlluminationStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderRenderState.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C2146: syntax error : missing ';' before identifier 'getIlluminationStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderRenderState.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\..\..\Components\RTShaderSystem\src\OgreShaderRenderState.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): warning C4183: 'getIlluminationStage': missing return type; assumed to be a member function returning 'int' (..\..\..\Components\RTShaderSystem\src\OgreShaderRenderState.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(599): error C2146: syntax error : missing ';' before identifier 'mStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderRenderState.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(599): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\..\..\Components\RTShaderSystem\src\OgreShaderRenderState.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C2065: 'mStage' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderRenderState.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(574): error C2065: 'mStage' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderRenderState.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(574): error C2065: 'IS_UNKNOWN' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderRenderState.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(548): error C2061: syntax error : identifier 'IlluminationStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderScriptTranslator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C2146: syntax error : missing ';' before identifier 'getIlluminationStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderScriptTranslator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\..\..\Components\RTShaderSystem\src\OgreShaderScriptTranslator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): warning C4183: 'getIlluminationStage': missing return type; assumed to be a member function returning 'int' (..\..\..\Components\RTShaderSystem\src\OgreShaderScriptTranslator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(599): error C2146: syntax error : missing ';' before identifier 'mStage' (..\..\..\Components\RTShaderSystem\src\OgreShaderScriptTranslator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(599): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\..\..\Components\RTShaderSystem\src\OgreShaderScriptTranslator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(571): error C2065: 'mStage' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderScriptTranslator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(574): error C2065: 'mStage' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderScriptTranslator.cpp)
1>D:\code\OgreSDK\ogre\Components\RTShaderSystem\include\OgreShaderGenerator.h(574): error C2065: 'IS_UNKNOWN' : undeclared identifier (..\..\..\Components\RTShaderSystem\src\OgreShaderScriptTranslator.cpp)
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========


Ogre 2.1 does not support the RTShaderSystem component. Make sure it is unselected in cmake. If you did not select it in the first place then it would probably be a good idea to delete your build directory and start cmake again to ensure you have sensible build defaults for 2.1
User avatar
nevarim
Gnoll
Posts: 675
Joined: Mon Jul 05, 2010 6:16 pm
Location: Pavia Italy
x 4

Re: Did you forget to add '#include "OgreStableHeaders.h"' t

Post by nevarim »

there is anything other to deselect for to build 2.1 branch?
i'm a noob until proven otherwise :D
used in my project ;) and thanks to everyone :D
Ogre 3d
Mygui
Skyx
Hydrax
MOC
CCS
User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5561
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1403

Re: Did you forget to add '#include "OgreStableHeaders.h"' t

Post by dark_sylinc »

nevarim wrote:there is anything other to deselect for to build 2.1 branch?
Use the default CMake options (turn on OGRE_BUILD_SAMPLES2 to build the samples):
Beware most of the CMake option configurations haven’t been checked. Stick to defaults at first, and once you get the samples compiling and running, start experimenting with the other CMake options.
One more thing: You're using the PSO-Compute branch. This is an experimental branch I'm working on. The stable one is "2.1". "2.1-pso" also works very well by now and hasn't been merged with "2.1" yet because it needs more testing before it goes live for everyone.
But 2.1-pso-compute branch is unstable.
User avatar
nevarim
Gnoll
Posts: 675
Joined: Mon Jul 05, 2010 6:16 pm
Location: Pavia Italy
x 4

Re: Did you forget to add '#include "OgreStableHeaders.h"' t

Post by nevarim »

adding dependencies folder right?
changed in 2.1


nothing to do, if i exclude samples2 all well, if i include it i have errors
i'm a noob until proven otherwise :D
used in my project ;) and thanks to everyone :D
Ogre 3d
Mygui
Skyx
Hydrax
MOC
CCS
User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5561
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1403

Re: Did you forget to add '#include "OgreStableHeaders.h"' t

Post by dark_sylinc »

nevarim wrote:nothing to do, if i exclude samples2 all well, if i include it i have errors
What kind of errors?
User avatar
nevarim
Gnoll
Posts: 675
Joined: Mon Jul 05, 2010 6:16 pm
Location: Pavia Italy
x 4

Re: Did you forget to add '#include "OgreStableHeaders.h"' t

Post by nevarim »

ok finished with samples2 compiled without error but when i launch any kind of sample
i have this error

03:47:31: OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library .\RenderSystem_Direct3D11. System Error: The specified module could not be found.

in DynLib::load at ..\..\OgreMain\src\OgreDynLib.cpp (line 111)
i'm a noob until proven otherwise :D
used in my project ;) and thanks to everyone :D
Ogre 3d
Mygui
Skyx
Hydrax
MOC
CCS
User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5561
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1403

Re: Did you forget to add '#include "OgreStableHeaders.h"' t

Post by dark_sylinc »

There should be a RenderSystem_Direct3D11.dll in OgreDir\build\bin\release (assuming OgreDir\build is where you told CMake to build). Otherwise something wasn't compiled correctly, try a full rebuild. Also try running the sample by going to the folder and double clicking on it. There could be a problem in Visual Studio's setup causing the sample to search for the DLLs in the wrong folders.

If you do have the RenderSystem_Direct3D11.dll, it's possible you don't have the latest DX11 runtimes installed, or you lack the KB2670838 update. If you built the x64 version, we've encountered issues where you had to manually copy-paste the d3dx11_47.dll from your system folder into the sample's folder.

Or just disable the D3D11 RenderSystem from CMake so Ogre doesn't try to load it.
User avatar
nevarim
Gnoll
Posts: 675
Joined: Mon Jul 05, 2010 6:16 pm
Location: Pavia Italy
x 4

Re: Did you forget to add '#include "OgreStableHeaders.h"' t

Post by nevarim »

great reply :d i'll try this evening
thanks for help :D

Neva
i'm a noob until proven otherwise :D
used in my project ;) and thanks to everyone :D
Ogre 3d
Mygui
Skyx
Hydrax
MOC
CCS
User avatar
nevarim
Gnoll
Posts: 675
Joined: Mon Jul 05, 2010 6:16 pm
Location: Pavia Italy
x 4

Re: Did you forget to add '#include "OgreStableHeaders.h"' t

Post by nevarim »

nope upgrade is for win 7 and error is again here, diectx is updated

strange think is that error is not for dll
i have RenderSystem_Direct3D11.dll in folder

problem is that error is not for a .dll but only RenderSystem_Direct3D11.(without extension)

20:35:43: OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library .\RenderSystem_Direct3D11. System Error: The specified module could not be found.

in DynLib::load at ..\..\OgreMain\src\OgreDynLib.cpp (line 111)
i'm a noob until proven otherwise :D
used in my project ;) and thanks to everyone :D
Ogre 3d
Mygui
Skyx
Hydrax
MOC
CCS
User avatar
Zonder
Ogre Magi
Posts: 1176
Joined: Mon Aug 04, 2008 7:51 pm
Location: Manchester - England
x 76

Re: Did you forget to add '#include "OgreStableHeaders.h"' t

Post by Zonder »

did you try removing the extension to see if it works?
There are 10 types of people in the world: Those who understand binary, and those who don't...
User avatar
nevarim
Gnoll
Posts: 675
Joined: Mon Jul 05, 2010 6:16 pm
Location: Pavia Italy
x 4

Re: Did you forget to add '#include "OgreStableHeaders.h"' t

Post by nevarim »

o no i've not tried this ;S

i'll try
i'm a noob until proven otherwise :D
used in my project ;) and thanks to everyone :D
Ogre 3d
Mygui
Skyx
Hydrax
MOC
CCS
User avatar
nevarim
Gnoll
Posts: 675
Joined: Mon Jul 05, 2010 6:16 pm
Location: Pavia Italy
x 4

Re: Did you forget to add '#include "OgreStableHeaders.h"' t

Post by nevarim »

is impossible to try0
when i remove extension automatically windows remove the dot
i'm a noob until proven otherwise :D
used in my project ;) and thanks to everyone :D
Ogre 3d
Mygui
Skyx
Hydrax
MOC
CCS
User avatar
nevarim
Gnoll
Posts: 675
Joined: Mon Jul 05, 2010 6:16 pm
Location: Pavia Italy
x 4

Re: Did you forget to add '#include "OgreStableHeaders.h"' t

Post by nevarim »

no more things to try? :)
i'm a noob until proven otherwise :D
used in my project ;) and thanks to everyone :D
Ogre 3d
Mygui
Skyx
Hydrax
MOC
CCS
User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5561
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1403

Re: Did you forget to add '#include "OgreStableHeaders.h"' t

Post by dark_sylinc »

I don't know why it's not working. Running Dependency Walker on RenderSystemD3D11.dll could help a lot. The Event Log in the Control Panel may contain information about what DLL is failing.
Debugging and stepping into Root::loadPlugin could help greatly to understand why it's not loading. e.g. is pluginName correct? is it a relative path? an absolute path? Does mInst return null inside DynLib::load?

This is all standard Windows programming. We're not wizards. When something doesn't work hook the debugger and check why it's not working.
User avatar
nevarim
Gnoll
Posts: 675
Joined: Mon Jul 05, 2010 6:16 pm
Location: Pavia Italy
x 4

Re: Did you forget to add '#include "OgreStableHeaders.h"' t

Post by nevarim »

nothing to do... i installed wisual studio 2015 for to try to compile, but cmake 2.8 hasn't in drop menu visual studio 14

there's a way to do this?
i'm a noob until proven otherwise :D
used in my project ;) and thanks to everyone :D
Ogre 3d
Mygui
Skyx
Hydrax
MOC
CCS