Modify

Opened 7 years ago

Closed 7 years ago

#4265 closed Bugs (invalid)

Symbols not found while linking with program_options (mingw32, gcc 4.5)

Reported by: Danil Ilinykh <woodroof@…> Owned by: Vladimir Prus
Milestone: Boost 1.43.0 Component: program_options
Version: Boost 1.44.0 Severity: Problem
Keywords: Cc:

Description

Link command: g++ -o my_application.exe object_script.my_application -lboost_program_options[...] Errors: undefined reference to `boost::program_options::options_description::m_default_line_length' undefined reference to `boost::program_options::options_description::options_description(std::string const&, unsigned int, unsigned int)' undefined reference to `boost::program_options::options_description::add_options()' undefined reference to `boost::program_options::options_description_easy_init::operator()(char const*, char const*)' undefined reference to `boost::program_options::options_description::options_description(unsigned int, unsigned int)' undefined reference to `boost::program_options::options_description::add(boost::program_options::options_description const&)' ... Some more follows

Attachments (0)

Change History (1)

comment:1 Changed 7 years ago by Danil Ilinykh <woodroof@…>

Resolution: invalid
Status: newclosed

Sorry, my fault. Was invalid -l order.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Vladimir Prus.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.