IPB Style© Fisana

Jump to content


Build Instruction


  • Please log in to reply
3 replies to this topic

#1 fabio

fabio

  • WFG Programming Team

  • Triplicarius
    (441 posts)

Posted 06 April 2010 - 09:33 AM

I noticed that at:
http://trac.wildfiregames.com/wiki/BuildIn...ngLinuxpackages
  • libCollada_dbg.so or libCollada.so
  • libAtlasUI_dbg.so or libAtlasUI.so
are needed to be distributed, however pyrogenesis and pyrogenesis_dbg don't dynamically link to them. Are they really needed?

Edited by fabio, 06 April 2010 - 09:34 AM.

Graphics problems with 0 A.D. under Ubuntu and free drivers? Check out the Updated and Optimized Graphics Drivers Archive: includes updated mesa drivers with fixes for 0 A.D., OpenGL 3.1+, S3TC Compressed Textures (to save 75% of video memory), llvm support (for faster gallium drivers) and a lot more!

#2 Ykkrosh

Ykkrosh

  • WFG Programming Team

  • Primus Pilus
    (4,869 posts)

Posted 06 April 2010 - 10:31 AM

Yes - they're loaded at runtime with dlopen. (libAtlasUI is the editing tools, libCollada is the .dae converter (used when loading a new model/animation file that hasn't already been cached).)
Philip Taylor [aka Ykkrosh]

Wildfire Games Programmer
Contact me: philip@wildfiregames.com

#3 fabio

fabio

  • WFG Programming Team

  • Triplicarius
    (441 posts)

Posted 07 April 2010 - 10:23 AM

I noticed that the 0ad-unix-build.tar contains some .bat/.dll/.exe/.lib/.vcproj files and win-specific directories that could be removed reducing tar size from 37 to 25 MB, adding to the source/tools/dist/build.sh script some --exclude options:

Quote

tar cf $PREFIX-unix-build-temp.tar --exclude='*.bat' --exclude='*.dll' --exclude='*.exe' --exclude='*.lib' --exclude='*.vcproj' --exlude='win' --exclude='win32' --exclude='include-win32' ${PREFIX}/{source,build,libraries/{cxxtest,fcollada,spidermonkey-tip,valgrind},binaries/system/readme.txt,*.txt}
Also why the need for 2 tar files, are they supposed to be eventually released with autonomous update? This make running the "./test" difficult, see comment 3 at:
https://bugs.launchp...net/+bug/556356
Graphics problems with 0 A.D. under Ubuntu and free drivers? Check out the Updated and Optimized Graphics Drivers Archive: includes updated mesa drivers with fixes for 0 A.D., OpenGL 3.1+, S3TC Compressed Textures (to save 75% of video memory), llvm support (for faster gallium drivers) and a lot more!

#4 Ykkrosh

Ykkrosh

  • WFG Programming Team

  • Primus Pilus
    (4,869 posts)

Posted 15 April 2010 - 11:21 AM

Filed as #489. (Thanks for your work on these packaging issues! I think I'd probably like to update the pre-alpha release in a few weeks to pick up some newer fixes, so I'll try to include these improvements then.)
Philip Taylor [aka Ykkrosh]

Wildfire Games Programmer
Contact me: philip@wildfiregames.com




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users