ptitSeb
Serial Porter
Are you using SDL2 or SDL 1.2 ?
For SDL2, the packaging can be tricky yes. Take a looks at the already ported PND for hints (RickyD from me or zSilencer from Canceco).
If it's SDL1.2, that's strange, because it usualy let it put in PND quite nicely.
To Package, make sure all the needed lib goes to the lib folder of your PND, and LD_LIBRARY_PATH will be setted automaticaly at the mount of your PND. B sure to put libSDL from codeblocks if you are using GLES, but be sure to not put libEGL, libGLES_CM or libGLESv2 from codeblocks.
PS: unseting LD_LIBRARY_PATH is not enough to test when codeblocks is mounted (beleive, I'v tried that before ). You need to "sudo ldconfig" to be sure libs are not accessibles.. And when test is done, do "sudo ldconfig -f /mnt/utmp/codeblocks/init/ld.so.cfg" to make libs accessible again to the system.
For SDL2, the packaging can be tricky yes. Take a looks at the already ported PND for hints (RickyD from me or zSilencer from Canceco).
If it's SDL1.2, that's strange, because it usualy let it put in PND quite nicely.
To Package, make sure all the needed lib goes to the lib folder of your PND, and LD_LIBRARY_PATH will be setted automaticaly at the mount of your PND. B sure to put libSDL from codeblocks if you are using GLES, but be sure to not put libEGL, libGLES_CM or libGLESv2 from codeblocks.
PS: unseting LD_LIBRARY_PATH is not enough to test when codeblocks is mounted (beleive, I'v tried that before ). You need to "sudo ldconfig" to be sure libs are not accessibles.. And when test is done, do "sudo ldconfig -f /mnt/utmp/codeblocks/init/ld.so.cfg" to make libs accessible again to the system.