2014-12-18 10 views
0

이것은 cegui의 첫 번째 문제입니다. 어쩌면이 문제는 어리석은 것처럼 들릴지 모르겠지만, 나는 정말로 이유가 없습니다.나는 cmake에 의해 CEGUI-0.8.2를 만든 다음 ogre3d를 추가하려고했지만 약간의 문제가 발생했습니다.

현재 cegui vs_solution을 (를) 컴파일하고 있지만 컴파일 오류가 있습니다.

나는 이미 ogre-sdk-1.8.1ver와 cmake가 만든 cegui-0.8.2 vs_solution입니다. 열린 파일 '부스트/실/tss.hpp'수 없습니다 : 그런 파일이나 디렉토리 C는 : \ ogresdk_vc10_v1-8-1 \ \ 귀신 \ 스레딩 \ OgreThreadHeadersBoost을 포함 여기

오류 C1083은 ERROR_CODE입니다.

소스 코드 나 추가가 경로 C를 포함 tryed

/*------------------------------------------------------------------------- 
This source file is a part of OGRE 
(Object-oriented Graphics Rendering Engine) 

For the latest info, see http://www.ogre3d.org/ 

Copyright (c) 2000-2012 Torus Knot Software Ltd 
Permission is hereby granted, free of charge, to any person obtaining a copy 
of this software and associated documentation files (the "Software"), to deal 
in the Software without restriction, including without limitation the rights 
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 
copies of the Software, and to permit persons to whom the Software is 
furnished to do so, subject to the following conditions: 

The above copyright notice and this permission notice shall be included in 
all copies or substantial portions of the Software. 

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 
THE SOFTWARE 
-------------------------------------------------------------------------*/ 
#ifndef __OgreThreadHeadersBoost_H__ 
#define __OgreThreadHeadersBoost_H__ 

#if OGRE_COMPILER == OGRE_COMPILER_CLANG || OGRE_COMPILER == OGRE_COMPILER_GCC 
#pragma GCC diagnostic push 
#pragma GCC diagnostic ignored "-Wshadow" 
#pragma GCC diagnostic ignored "-Wpadded" 
#pragma GCC diagnostic ignored "-Wweak-vtables" 
#pragma GCC diagnostic ignored "-Wall" 
#endif 

#include <boost/thread/tss.hpp> //this code makes error  
#include <boost/thread/recursive_mutex.hpp> //this code makes error 
#include <boost/thread/condition.hpp> //this code makes error 
#include <boost/thread/thread.hpp> //this code makes error 
#include <boost/thread/shared_mutex.hpp> //this code makes error 
#include <boost/thread/locks.hpp> //this code makes error 

#if OGRE_COMPILER == OGRE_COMPILER_CLANG || OGRE_COMPILER == OGRE_COMPILER_GCC 
# pragma GCC diagnostic pop 
#endif 

#endif 

이다 OgreThreadHeadersBoots.h에

H 37 ..... \ OgreSDK_vc1 0_v1-8-1; $ (IncludePath) 또는 C : \ OgreSDK_vc10_v1-8-1 \ 괴물 또는 내가 누군가가이 문제를 알고있는 경우 :(

이 PLZ 나에게

답변

0

필요 조언을 생각 everyting blahblah 가능한 경로 \ 포함 "c:\ogresdk_vc10_v1-8-1\boost"을 포함 시키면 문제가 해결됩니다. 추가 라이브러리에 "c:\ogresdk_vc10_v1-8-1\boost\lib"을 추가해야 할 수도 있습니다.

+0

네가 맞아 :) 이미 "boost_1.42_lib"이 추가되어있어, 내가 조언 한 것을 놓쳤다. 고마워요 :) –

+0

문제 없습니다 .. 해결 된 것으로 표시해주세요. –