V
VangHoaHong
Guest
Dear,
I re-compile Ogre SDK (www.ogre3d.org), i meet a problem. There is an error like:
1>------ Rebuild All started: Project: OgreMain, Configuration: Release Win32 ------
1>Deleting intermediate and output files for project 'OgreMain', configuration 'Release|Win32'
1>Compiling...
1>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
1>OgrePrecompiledHeaders.cpp
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\include\vector(46) : error C2857: '#include' statement specified with the /YcOgreStableHeaders.h command-line option was not found in the source file
1>Build log was saved at "file://c:\Documents and Settings\Le Khanh Thanh\Desktop\KlinkCore\OgreMain\obj\Release\BuildLog.htm"
1>OgreMain - 1 error(s), 1 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
Where: OgrePrecompiledHeader with declaration: #include "OgreStableHeaders.h"
My project settings in C/C++ tab is:
+ Create/Use PCH through File: OgreStableHeaders.h
+ Precompiled Header File: $(InDir)\$(TargetName).pch
Then, i change my setting with:
+ Create/Use PCH through File: OgreStableHeaders.h
+ Precompiled Header File:
Compiler still error: error C2857: '#include' statement specified with the /YcOgreStableHeaders.h command-line option was not found in the source file
Then i change my setting again, this time is:
+ Create/Use PCH through File: OgreStableHeaders.h
+ Precompiled Header File: $(InDir)\$(TargetName).pch
Compiler still error: error C2857: '#include' statement specified with the /YcOgreStableHeaders.h command-line option was not found in the source file
Pls tell me what i was wrong ?
Thanks
thanhly's
Continue reading...
I re-compile Ogre SDK (www.ogre3d.org), i meet a problem. There is an error like:
1>------ Rebuild All started: Project: OgreMain, Configuration: Release Win32 ------
1>Deleting intermediate and output files for project 'OgreMain', configuration 'Release|Win32'
1>Compiling...
1>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
1>OgrePrecompiledHeaders.cpp
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\include\vector(46) : error C2857: '#include' statement specified with the /YcOgreStableHeaders.h command-line option was not found in the source file
1>Build log was saved at "file://c:\Documents and Settings\Le Khanh Thanh\Desktop\KlinkCore\OgreMain\obj\Release\BuildLog.htm"
1>OgreMain - 1 error(s), 1 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
Where: OgrePrecompiledHeader with declaration: #include "OgreStableHeaders.h"
My project settings in C/C++ tab is:
- Precompiled Headers:
+ Create/Use PCH through File: OgreStableHeaders.h
+ Precompiled Header File: $(InDir)\$(TargetName).pch
Then, i change my setting with:
- Precompiled Headers:
+ Create/Use PCH through File: OgreStableHeaders.h
+ Precompiled Header File:
Compiler still error: error C2857: '#include' statement specified with the /YcOgreStableHeaders.h command-line option was not found in the source file
Then i change my setting again, this time is:
- Precompiled Headers:
+ Create/Use PCH through File: OgreStableHeaders.h
+ Precompiled Header File: $(InDir)\$(TargetName).pch
Compiler still error: error C2857: '#include' statement specified with the /YcOgreStableHeaders.h command-line option was not found in the source file
Pls tell me what i was wrong ?
Thanks
thanhly's
Continue reading...