Open GoogleCodeExporter opened 9 years ago
Try with lasest trunk.
Thanks.
Original comment by harkon...@gmail.com
on 7 May 2013 at 2:25
with just wxWidgets enabled from the default
[ 0%] Building C object
wxWidgets-2.9.1/wxCMake/wxSupport/CMakeFiles/wxSupport.dir/__/__/src/expat/lib/x
mlparse.o
/home/salamanderrake/src/gamekit/trunk/wxWidgets-2.9.1/src/expat/lib/xmlparse.c:
30:26: fatal error: expat_config.h: No such file or directory
compilation terminated.
make[2]: ***
[wxWidgets-2.9.1/wxCMake/wxSupport/CMakeFiles/wxSupport.dir/__/__/src/expat/lib/
xmlparse.o] Error 1
make[1]: *** [wxWidgets-2.9.1/wxCMake/wxSupport/CMakeFiles/wxSupport.dir/all]
Error 2
make: *** [all] Error 2
Original comment by salamand...@gmail.com
on 7 May 2013 at 3:01
remove cmake cache & try clean build.
Original comment by harkon...@gmail.com
on 8 May 2013 at 2:15
I did it again, I usally do rm -rf * in the build dir, but its the same issue.
I do build outside of the source directory.
[ 9%] Building C object
wxWidgets-2.9.1/wxCMake/wxSupport/CMakeFiles/wxSupport.dir/__/__/src/expat/lib/x
mlparse.o
/home/salamanderrake/src/gamekit/trunk/wxWidgets-2.9.1/src/expat/lib/xmlparse.c:
30:26: fatal error: expat_config.h: No such file or directory
compilation terminated.
make[2]: ***
[wxWidgets-2.9.1/wxCMake/wxSupport/CMakeFiles/wxSupport.dir/__/__/src/expat/lib/
xmlparse.o] Error 1
make[1]: *** [wxWidgets-2.9.1/wxCMake/wxSupport/CMakeFiles/wxSupport.dir/all]
Error 2
make: *** [all] Error 2
Original comment by salamand...@gmail.com
on 8 May 2013 at 12:13
It seems gcc version issue. I tested build with gcc 4.4.3.
I added wxAll include directory log to latest trunk.
What is your log? my log is below.
---
Creating Unity build files for target OgreKitCore
...
wxAll_INC:
/home/harkon/work/src/wxWidgets-2.9.1/include/setup/home/harkon/work/src/wxWidge
ts-2.9.1/include/home/harkon/work/src/wxWidgets-2.9.1/src/zlib/home/harkon/work/
src/wxWidgets-2.9.1/src/jpeg/home/harkon/work/src/wxWidgets-2.9.1/src/png/home/h
arkon/work/src/wxWidgets-2.9.1/src/tiff/libtiff/home/harkon/work/src/wxWidgets-2
.9.1/src/expat/lib/home/harkon/work/src/wxWidgets-2.9.1/src/stc/scintilla/includ
e/home/harkon/work/src/wxWidgets-2.9.1/src/stc/scintilla/src
Creating Unity build files for target AppCppDemo
...
Original comment by harkon...@gmail.com
on 13 May 2013 at 12:54
I don't enable unity builds thought but here is my build log.
_____________________________
make
[ 0%] Building C object
wxWidgets-2.9.1/wxCMake/wxSupport/CMakeFiles/wxSupport.dir/__/__/src/expat/lib/x
mlparse.o
/home/salamanderrake/src/gamekit/trunk/wxWidgets-2.9.1/src/expat/lib/xmlparse.c:
30:26: fatal error: expat_config.h: No such file or directory
compilation terminated.
make[2]: ***
[wxWidgets-2.9.1/wxCMake/wxSupport/CMakeFiles/wxSupport.dir/__/__/src/expat/lib/
xmlparse.o] Error 1
make[1]: *** [wxWidgets-2.9.1/wxCMake/wxSupport/CMakeFiles/wxSupport.dir/all]
Error 2
make: *** [all] Error 2
____________________
Original comment by salamand...@gmail.com
on 13 May 2013 at 4:06
gcc --version
gcc (Gentoo 4.6.3 p1.11, pie-0.5.2) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Original comment by salamand...@gmail.com
on 13 May 2013 at 4:07
[deleted comment]
[deleted comment]
I made a patch for the missing include, and all of the GCC 4.7+ errors.
Original comment by khy...@gmail.com
on 3 Jan 2014 at 5:52
Attachments:
With that patch it now compiles the wxWidgets part, the build failed in another
area unrelated to wxWidgets so I haven't tested it with what depends on
wxWidgets.
Original comment by salamand...@gmail.com
on 3 Jan 2014 at 4:33
Original issue reported on code.google.com by
salamand...@gmail.com
on 6 May 2013 at 1:15