내 wxwidget (3.10 DEV 버전) 파일을 찾을 수 없습니다 :'WX/wx.h'이 링크를 기반으로 설치되어 codelite의 최신 wxwidget 버전 이클립스 CDT 프로젝트에
http://codelite.org/LiteEditor/WxWidgets31Binaries
및 대응 헤드 파일이있는 것으로 나타났습니다 넣어 :
/usr/include/wx-3.1-unofficial/wx/wx.h
를 들어 파일에서 "wx.h는"같이 포함되어 있습니다 :
#ifndef DSTODO_H_
#define DSTODO_H_
#include <wx/wx.h>
구축, eclip 에 포함하여 변경 한 후
Info: Internal Builder is used for build
clang++ -I/usr/lib/llvm-3.8/lib -O0 -emit-llvm -g3 -Wall -c -fmessage-length=0 -o src/DSToDo.bc ../src/DSToDo.cpp
In file included from ../src/DSToDo.cpp:8:
../src/DSToDo.h:11:10: fatal error: 'wx/wx.h' file not found
#include <wx/wx.h>
^
1 error generated.
: 그 자체가 나에게주는
#include <wx-3.1-unofficial/wx/wx.h>
이클립스 것은 나에게 제공합니다
/usr/include/wx-3.1-unofficial
에 추가
Info: Internal Builder is used for build
clang++ -I/usr/lib/llvm-3.8/lib -O0 -emit-llvm -g3 -Wall -c -fmessage-length=0 -o src/DSToDo.bc ../src/DSToDo.cpp
In file included from ../src/DSToDo.cpp:8:
In file included from ../src/DSToDo.h:11:
/usr/include/wx-3.1-unofficial/wx/wx.h:14:10: fatal error: 'wx/defs.h' file not found
#include "wx/defs.h"
^
1 error generated.
경우
c/c++ build->settings->LLVM Clang++->Includes
이클립스는 제공 :
Info: Internal Builder is used for build
clang++ -I/usr/lib/llvm-3.8/lib **-I/usr/include/wx-3.1-unofficial** -O0 -emit-llvm -g3 -Wall -c -fmessage-length=0 -o src/DSToDo.bc ../src/DSToDo.cpp
In file included from ../src/DSToDo.cpp:8:
In file included from ../src/DSToDo.h:11:
In file included from /usr/include/wx-3.1-unofficial/wx/wx.h:14:
In file included from /usr/include/wx-3.1-unofficial/wx/defs.h:20:
/usr/include/wx-3.1-unofficial/wx/platform.h:136:10: fatal error: 'wx/setup.h' file not found
#include "wx/setup.h"
^
1 error generated.
어떻게이 문제를 해결하려면?
"헤더 검색 경로"및 "링커 옵션"에 대한 프로젝트 설정은 무엇입니까? – Igor