Modify

Ticket #4265 (closed Bugs: invalid)

Opened 4 years ago

Last modified 4 years ago

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

Change History

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

  • Status changed from new to closed
  • Resolution set to invalid

Sorry, my fault. Was invalid -l order.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.