Is anyone where using UBuntu with Lazarus, FreePascal and JEDI-SDL?
In the past when I have compiled stuff it it was a simple case of
and it would just work assuming I have everything set up.
fpc -Sd Myproject.dpr
With Ubuntu I'm trying to compile a Mac OS X app over to Linux and include some LCL code to boot. I'm using the following command line...
Everything compiles, but at the linking stage I'm getting the following error
fpc YoYo70.lpr -S2d -OG1 -k-lSDL -k-lSDL_mixer -ve -Fl/usr/lib/ -Fu/usr/share/lazarus/lcl/units/i386-linux/ -Fu/usr/share/lazarus/lcl/units/i386-linux/gtk/ -Fu/usr/share/lazarus/packager/units/i386-linux/ -Fu. -FUobjs/ -dLCL -dLCLgtk
/usr/bin/ld: cannot find -lSDLMain
YoYo70.lpr(137,1) Error: Error while linking
This was working yesterday, but the moment I updated the project's source files it started throwing this error.
I've never had this -lSDLMain error before on Linux.