Jump to content

Build problem fedora 20 enet.h ?


Loki1950
 Share

Recommended Posts

As it says in the title build error it can't find enet.h

Creating obj/glooxwrapper_ReleaseNetHost.cppprecompiled.hNetClient.cppIn file included from ../../../source/network/NetHost.cpp:22:0:../../../source/lib/external_libraries/enet.h:48:23: fatal error: enet/enet.h: No such file or directory #include <enet/enet.h>                       ^compilation terminated.make[1]: *** [obj/network_Release/NetHost.o] Error 1make[1]: *** Waiting for unfinished jobs....==== Building simulation2 (release) ====

Looking about in the source tree for the pre-built libs I do find it but not in the stated path but at

/home/denisf20/Projects/0AD/libraries/source/enet/include/enet and the actual target is unix.h so is this a glitch in the pre-make scripts or update-workspaces

BTW any advice on running pyrogenesis in userland one thing I will need to do is use MATE as Cinnamon doesn't play nice with full screen app on multi-monitor rigs :(

Enjoy the Choice :)

Edited by Loki1950
Link to comment
Share on other sites

Now it builds except for test_Simulation2.cpp from the make log

Traceback (most recent call last):File "../../../libraries/source/cxxtest-4.4/bin/cxxtestgen", line 17, in <module>cxxtest.main(sys.argv)File "/home/denisf20/Projects/0AD/libraries/source/cxxtest-4.4/python/cxxtest/cxxtestgen.py", line 70, in mainwriteOutput()File "/home/denisf20/Projects/0AD/libraries/source/cxxtest-4.4/python/cxxtest/cxxtestgen.py", line 242, in writeOutputwriteSimpleOutput()File "/home/denisf20/Projects/0AD/libraries/source/cxxtest-4.4/python/cxxtest/cxxtestgen.py", line 246, in writeSimpleOutputoutput = startOutputFile()File "/home/denisf20/Projects/0AD/libraries/source/cxxtest-4.4/python/cxxtest/cxxtestgen.py", line 285, in startOutputFileoutput = open( options.outputFileName, 'w' )IOError: [Errno 13] Permission denied: '../../../source/simulation2/tests/test_Simulation2.cpp'make[1]: *** [../../../source/simulation2/tests/test_Simulation2.cpp] Error 1make: *** [test] Error 2make: *** Waiting for unfinished jobs....

I did get a pyrogenesis binary and it works after a fashion get the Mod selection screen select 0 AD then start then black :(

With this output in the terminal

[denisf20@localhost system]$ ./pyrogenesis Cache: 200 (total: 2015) MiBTIMER| InitVfs: 34.8799 msSound: AlcInit success, using OpenAL SoftTIMER| CONFIG_Init: 41.1467 msTIMER| RunHardwareDetection: 970.311 msTIMER| write_sys_info: 16.8908 msTIMER| InitRenderer: 846.708 msTIMER| ps_console: 71.5196 msTIMER| ps_lang_hotkeys: 3.12417 msTIMER| pregame/mainmenu.xml: 37.192 msTIMER| common/modern/setup.xml: 23.7603 msTIMER| common/modern/styles.xml: 974.061 usTIMER| common/modern/sprites.xml: 37.9963 msTIMER| modmod/styles.xml: 15.6278 msTIMER| modmod/modmod.xml: 269.582 mslibpng warning: iCCP: known incorrect sRGB profilesys_cursor_create: using Xcursor to create 32 x 32 cursorTIMER| shutdown TexMan: 3.205 usTIMER| shutdown Renderer: 1.83794 msX Error of failed request:  BadValue (integer parameter out of range for operation)  Major opcode of failed request:  149 (XFree86-VidModeExtension)  Minor opcode of failed request:  10 (XF86VidModeSwitchToMode)  Value in failed request:  0x3e0000e  Serial number of failed request:  31022  Current serial number in output stream:  31024UserReport.cpp(515): Assertion failed: "!m_Worker"Assertion failed: "!m_Worker"Location: UserReport.cpp:515 (~CUserReporter)Call stack:(0x849790c) ./pyrogenesis() [0x849790c](0x843f40c) ./pyrogenesis() [0x843f40c](0x8440424) ./pyrogenesis() [0x8440424](0x81ed416) ./pyrogenesis() [0x81ed416](0xb6cf0d61) /lib/libc.so.6(+0x31d61) [0xb6cf0d61](0xb6cf0dbd) /lib/libc.so.6(+0x31dbd) [0xb6cf0dbd](0x46ba0a80) /lib/libX11.so.6(_XDefaultWireError+0) [0x46ba0a80](0xb6f22843) /lib/libSDL-1.2.so.0(+0x42843) [0xb6f22843](0x46ba0bb6) /lib/libX11.so.6(_XError+0x126) [0x46ba0bb6](0x46b9d776) /lib/libX11.so.6() [0x46b9d776](0x46b9d83e) /lib/libX11.so.6() [0x46b9d83e](0x46b9e4c6) /lib/libX11.so.6(_XReadEvents+0x116) [0x46b9e4c6](0x46b8c1f2) /lib/libX11.so.6(XMaskEvent+0xa2) [0x46b8c1f2](0xb6f1967d) /lib/libSDL-1.2.so.0(+0x3967d) [0xb6f1967d](0xb6f1fa7d) /lib/libSDL-1.2.so.0(+0x3fa7d) [0xb6f1fa7d](0xb6f21324) /lib/libSDL-1.2.so.0(+0x41324) [0xb6f21324]errno = 0 (Try again later)OS error = ?AL lib: (EE) alc_cleanup: 1 device not closed(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?eAborted (core dumped)[denisf20@localhost system]$

I have seen the libpng warning before with the same black screen as a result so my issue seems X-windows related will rebuild with the debug flags set and post the full back trace.

Enjoy the Choice :)

Edited by Loki1950
Link to comment
Share on other sites

Now it builds except for test_Simulation2.cpp from the make log

Traceback (most recent call last):File "../../../libraries/source/cxxtest-4.4/bin/cxxtestgen", line 17, in <module>cxxtest.main(sys.argv)File "/home/denisf20/Projects/0AD/libraries/source/cxxtest-4.4/python/cxxtest/cxxtestgen.py", line 70, in mainwriteOutput()File "/home/denisf20/Projects/0AD/libraries/source/cxxtest-4.4/python/cxxtest/cxxtestgen.py", line 242, in writeOutputwriteSimpleOutput()File "/home/denisf20/Projects/0AD/libraries/source/cxxtest-4.4/python/cxxtest/cxxtestgen.py", line 246, in writeSimpleOutputoutput = startOutputFile()File "/home/denisf20/Projects/0AD/libraries/source/cxxtest-4.4/python/cxxtest/cxxtestgen.py", line 285, in startOutputFileoutput = open( options.outputFileName, 'w' )IOError: [Errno 13] Permission denied: '../../../source/simulation2/tests/test_Simulation2.cpp'make[1]: *** [../../../source/simulation2/tests/test_Simulation2.cpp] Error 1make: *** [test] Error 2make: *** Waiting for unfinished jobs....

I did get a pyrogenesis binary and it works after a fashion get the Mod selection screen select 0 AD then start then black :(

With this output in the terminal

[denisf20@localhost system]$ ./pyrogenesis Cache: 200 (total: 2015) MiBTIMER| InitVfs: 34.8799 msSound: AlcInit success, using OpenAL SoftTIMER| CONFIG_Init: 41.1467 msTIMER| RunHardwareDetection: 970.311 msTIMER| write_sys_info: 16.8908 msTIMER| InitRenderer: 846.708 msTIMER| ps_console: 71.5196 msTIMER| ps_lang_hotkeys: 3.12417 msTIMER| pregame/mainmenu.xml: 37.192 msTIMER| common/modern/setup.xml: 23.7603 msTIMER| common/modern/styles.xml: 974.061 usTIMER| common/modern/sprites.xml: 37.9963 msTIMER| modmod/styles.xml: 15.6278 msTIMER| modmod/modmod.xml: 269.582 mslibpng warning: iCCP: known incorrect sRGB profilesys_cursor_create: using Xcursor to create 32 x 32 cursorTIMER| shutdown TexMan: 3.205 usTIMER| shutdown Renderer: 1.83794 msX Error of failed request:  BadValue (integer parameter out of range for operation)  Major opcode of failed request:  149 (XFree86-VidModeExtension)  Minor opcode of failed request:  10 (XF86VidModeSwitchToMode)  Value in failed request:  0x3e0000e  Serial number of failed request:  31022  Current serial number in output stream:  31024UserReport.cpp(515): Assertion failed: "!m_Worker"Assertion failed: "!m_Worker"Location: UserReport.cpp:515 (~CUserReporter)Call stack:(0x849790c) ./pyrogenesis() [0x849790c](0x843f40c) ./pyrogenesis() [0x843f40c](0x8440424) ./pyrogenesis() [0x8440424](0x81ed416) ./pyrogenesis() [0x81ed416](0xb6cf0d61) /lib/libc.so.6(+0x31d61) [0xb6cf0d61](0xb6cf0dbd) /lib/libc.so.6(+0x31dbd) [0xb6cf0dbd](0x46ba0a80) /lib/libX11.so.6(_XDefaultWireError+0) [0x46ba0a80](0xb6f22843) /lib/libSDL-1.2.so.0(+0x42843) [0xb6f22843](0x46ba0bb6) /lib/libX11.so.6(_XError+0x126) [0x46ba0bb6](0x46b9d776) /lib/libX11.so.6() [0x46b9d776](0x46b9d83e) /lib/libX11.so.6() [0x46b9d83e](0x46b9e4c6) /lib/libX11.so.6(_XReadEvents+0x116) [0x46b9e4c6](0x46b8c1f2) /lib/libX11.so.6(XMaskEvent+0xa2) [0x46b8c1f2](0xb6f1967d) /lib/libSDL-1.2.so.0(+0x3967d) [0xb6f1967d](0xb6f1fa7d) /lib/libSDL-1.2.so.0(+0x3fa7d) [0xb6f1fa7d](0xb6f21324) /lib/libSDL-1.2.so.0(+0x41324) [0xb6f21324]errno = 0 (Try again later)OS error = ?AL lib: (EE) alc_cleanup: 1 device not closed(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?eAborted (core dumped)[denisf20@localhost system]$

I have seen the libpng warning before with the same black screen as a result so my issue seems X-windows related will rebuild with the debug flags set and post the full back trace.

Enjoy the Choice :)

The libpng warning is just that, and should be completely harmless. There's a workaround for the mod selection problems (see #2753), choose to save configuration and then close and reopen the game, you won't get the mod selection screen.

Link to comment
Share on other sites

  • 3 weeks later...

Back in *nix land and have found that I can get a clean build using the Code-Blocks project so I build the -debug version and this shows up in the debug window.

Building to ensure sources are up-to-dateSelecting target: DebugAdding source dir: /home/denisf20/Projects/0AD/build/workspaces/codeblocks/Adding source dir: /home/denisf20/Projects/0AD/Adding file: /home/denisf20/Projects/0AD/binaries/system/pyrogenesis_dbgChanging directory to: /home/denisf20/Projects/0AD/build/workspaces/codeblocks/.Set variable: LD_LIBRARY_PATH=.:/home/denisf20/Projects/0AD/binaries/system:/home/denisf20/Projects/0AD/libraries/source/spidermonkey/lib:/home/denisf20/Projects/0AD/libraries/source/cxxtest-4.4/lib:/home/denisf20/Projects/0AD/libraries/source/valgrind/lib:/home/denisf20/Projects/0AD/libraries/source/nvtt/lib:/home/denisf20/Projects/0AD/libraries/source/miniupnpc/lib:/usr/X11R6/lib:Starting debugger: /usr/bin/gdb -nx -fullname  -quiet  -args /home/denisf20/Projects/0AD/binaries/system/pyrogenesis_dbgdoneRegistered new type: wxStringRegistered new type: STL StringRegistered new type: STL VectorSetting breakpointsDebugger name and version: GNU gdb (GDB) Fedora 7.7.1-18.fc20Child process PID: 23273Program received signal SIGSEGV, Segmentation fault.In ?? () (/usr/lib/nvidia/libnvidia-glcore.so.331.89)#4  0x0850dbdb in InstancingModelRenderer::RenderModel (this=0x92afda8, shader=..., model=0xb663af0) at /home/denisf20/Projects/0AD/source/renderer/InstancingModelRenderer.cpp:383/home/denisf20/Projects/0AD/source/renderer/InstancingModelRenderer.cpp:383:11777:beg:0x850dbdbAt /home/denisf20/Projects/0AD/source/renderer/InstancingModelRenderer.cpp:383#4  0x0850dbdb in InstancingModelRenderer::RenderModel (this=0x92afda8, shader=..., model=0xb663af0) at /home/denisf20/Projects/0AD/source/renderer/InstancingModelRenderer.cpp:383/home/denisf20/Projects/0AD/source/renderer/InstancingModelRenderer.cpp:383:11777:beg:0x850dbdb

So Fabio you where right it is the video driver seems it barfs on a shader definition.

Enjoy the Choice :)

Link to comment
Share on other sites

  • 2 months later...

Just upgraded to Fedora 21 64 bit and found that the copy in the fedora repos runs with out errors will be trying a local build later,got most of my post install tweaking done just stuck getting CUDA support for my gpu dependency hell :taz: should settle it's self in a few days when the package maintainers do a clean-up.

Enjoy the Choice :)

Link to comment
Share on other sites

As per my sig I have abandoned fedora and gone to Mint and finally a playable build :dirol: popped a link from my local git copy of Rise of the East into /0ad/binaries/system in userland and it works :yinyang: did a build with codeblocks first and noticed that the Collada libs where not linked kept getting could not load Collada DLL in the log the only mesh that loaded was a horse :bad: so now for some serious play time :rockon:

Enjoy the Choice :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...