Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wxWidgets fails on linux #308

Open
GoogleCodeExporter opened this issue Mar 22, 2016 · 11 comments
Open

wxWidgets fails on linux #308

GoogleCodeExporter opened this issue Mar 22, 2016 · 11 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.cmake-gui ../path/to/src (choose wxwidgets build or something that depends on 
it.)
2.make 

What is the expected output? What do you see instead?
complete build without errors.

What version of the product are you using? On what operating system?
latest trunk

Please provide any additional information below.
output:
<<<<<<<<<
[  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 issue reported on code.google.com by salamand...@gmail.com on 6 May 2013 at 1:15

@GoogleCodeExporter
Copy link
Author

Try with lasest trunk.

Thanks.

Original comment by harkon...@gmail.com on 7 May 2013 at 2:25

@GoogleCodeExporter
Copy link
Author

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

@GoogleCodeExporter
Copy link
Author

remove cmake cache & try clean  build. 

Original comment by harkon...@gmail.com on 8 May 2013 at 2:15

@GoogleCodeExporter
Copy link
Author

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

@GoogleCodeExporter
Copy link
Author

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

@GoogleCodeExporter
Copy link
Author

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

@GoogleCodeExporter
Copy link
Author

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

@GoogleCodeExporter
Copy link
Author

[deleted comment]

1 similar comment
@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

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:

@GoogleCodeExporter
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant