News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Compiler error

Started by longhairguy, September 10, 2009, 11:38:17 PM

Previous topic - Next topic

longhairguy

This error may have nothing to do with my source code, as it does not state a line number for the error:
C:\Program Files\CodeBlocks\MinGW\bin\ld.exe: cannot find -lsqlite3
Okay so it may have a large amount to do with my source code as it's a game server with an SQL database..
Anyone know how I can fix this? I'm not sure if this is a file that I need or just a general error..
I'm using Code::Blocks 8.02

Seronis

Its not a compiling or code problem.  Its a linker problem.   ld.exe  is a linker and   'cannot find -lsqlite3'  means that it cant find a library named sqlite3 of the formats   lib<name>.a    or   <name>.lib.

Make sure your linker search paths include the location of the needed lib file.