Hi all, im trying to use irrlicht on Linux for an important work at college that uses CVS (Concurrent Versions System). The problem is that the static library is too big (36MB) as is the dynamic library (23.5MB) for an internal CVS and the work is more like a 2D than a 3D application (its about traffic simulation, like a SimCity, but i still need the third D).
Am I doing something wrong? I compiled the source/Irrlicht with make sharedlib and make install.
Maybe irrlicht isnt the engine im looking for this work because the machines here arent so fast and most of them runs Mesa (I need to install the Nvidia drivers properly), if so, can anyone suggest a lighter/better one for this case?
Thanks.
Dynamic Library in Linux
Dynamic Library in Linux
no hard no fun - eMgz
Compile the engine with -s (for strip symbols from binary) and it will get a lot smaller. It will still need a few MB (maybe around 6, but Id didn't try with current version) , so if that is still too much you might consider just checking in the sources of the engine.
I don't know how well it runs with Mesa - you have to try yourself if the speed is sufficient. But without hardware acceleration I don't think it matters that much which engine you use. Irrlicht might work even rather well in that case, as you can just use it's software renderer.
Edit: On linux you can also call after compilation:
strip yourapplication
I just tested that with the binary of the examples which were linked statically and it reduced it from 20MB to 2,5 MB.
I don't know how well it runs with Mesa - you have to try yourself if the speed is sufficient. But without hardware acceleration I don't think it matters that much which engine you use. Irrlicht might work even rather well in that case, as you can just use it's software renderer.
Edit: On linux you can also call after compilation:
strip yourapplication
I just tested that with the binary of the examples which were linked statically and it reduced it from 20MB to 2,5 MB.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm