Hi, I`ve modified the directory structure to one that I like better :
Display All
Basically I want to move all msvc projects in one place instead of having them spread in the source files. I want the core,editor and game folders to contain only h/cpp files. I`ve created a new project CoreLIB and setup the directories accordingly but I get an annoying error message when I try to use the precompiled header. The project is setup to use the precompiled header for all platforms and configurations except for the CoreStd.cpp file which is setup to create the CoreStd.pch file.
The error I get is :
C:\Program Files\Microsoft Visual Studio 10.0\VC\include\xlocnum(133): error C2857: '#include' statement specified with the /YcCodeStd.h command-line option was not found in the source file
Other times I get the same error for a different file : memory.
I`ve played with the project settings to try figure out why it does this but I can`t find what I`m doing wrong. I`m comparing my project`s options with your project options (GameCode4_2010) and oddly enough yours is working just fine :).
CoreStd.h/cpp are located in Dev/Source/MSVC/CoreLIB/and corestd.cpp includes corestd.h at the top of the file.
Please help!
Thanks
Source Code
Basically I want to move all msvc projects in one place instead of having them spread in the source files. I want the core,editor and game folders to contain only h/cpp files. I`ve created a new project CoreLIB and setup the directories accordingly but I get an annoying error message when I try to use the precompiled header. The project is setup to use the precompiled header for all platforms and configurations except for the CoreStd.cpp file which is setup to create the CoreStd.pch file.
The error I get is :
C:\Program Files\Microsoft Visual Studio 10.0\VC\include\xlocnum(133): error C2857: '#include' statement specified with the /YcCodeStd.h command-line option was not found in the source file
Other times I get the same error for a different file : memory.
I`ve played with the project settings to try figure out why it does this but I can`t find what I`m doing wrong. I`m comparing my project`s options with your project options (GameCode4_2010) and oddly enough yours is working just fine :).
CoreStd.h/cpp are located in Dev/Source/MSVC/CoreLIB/and corestd.cpp includes corestd.h at the top of the file.
Please help!
Thanks
The post was edited 1 time, last by ColdFire ().