Bug #19088 2013-08-16 17:52

sm99

Links with deprecated -lboost_program_options-mt

Version: 12.11

OS: Debian "sid/unstable"

Created a "HelloWorld" project following http://wiki.codeblocks.org/index.php?title=Creating_a_new_project Compilation failed at link stage:

-------------- Build: Debug in HelloWorld (compiler: GNU GCC Compiler)---------------

g++ -Wall -fexceptions -g -Wswitch-default -Weffc++ -Wall -g -c /home/steve/src/CodeBlocks/HelloWorld/main.cpp -o obj/Debug/main.o

g++ -o bin/Debug/HelloWorld obj/Debug/main.o -lboost_program_options-mt

/usr/bin/ld: cannot find -lboost_program_options-mt

collect2: error: ld returned 1 exit status

Process terminated with status 1 (0 minutes, 0 seconds)

1 errors, 0 warnings (0 minutes, 0 seconds)

Reported to Debian as http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719285

Category
Application::WrongBehaviour
Group
Platform:Linux
Status
Closed
Close date
2013-10-01 23:53
Assigned to
 
sm99 2013-08-16 18:24

This turns out to be user error; see the Debian bug followup. Please close.