View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0001876 | Spring engine | General | public | 2010-03-24 16:09 | 2010-03-26 00:12 | ||||
Reporter | SirMaverick | ||||||||
Assigned To | Auswaschbar | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | no change required | ||||||
Product Version | 0.81.2 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0001876: cannot link DemoTool | ||||||||
Description | Forgot to link boost::program_options? | ||||||||
Additional Information | [...] DemoTool.cpp:(.text+0xb3d): undefined reference to `boost::program_options::variables_map::variables_map()' DemoTool.cpp:(.text+0xb42): undefined reference to `boost::program_options::options_description::m_default_line_length' DemoTool.cpp:(.text+0xb54): undefined reference to `boost::program_options::options_description::options_description(unsigned int)' DemoTool.cpp:(.text+0xb73): undefined reference to `boost::program_options::options_description::add_options()' DemoTool.cpp:(.text+0xb98): undefined reference to `boost::program_options::options_description_easy_init::operator()(char const*, boost::program_options::value_semantic const*, char const*)' [...] | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
SirMaverick (reporter) 2010-03-24 16:11 |
Adding FIND_PACKAGE(Boost 1.35.0 COMPONENTS program_options REQUIRED) INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIR}) to CMakeLists.txt file seems to fix it. |
Auswaschbar (reporter) 2010-03-24 22:40 |
Works in master. Probably forgotten to commit to 0.81.2-branch. |
SirMaverick (reporter) 2010-03-24 23:50 |
mkdir build cd build cmake .. make demotool Results in same error with master. |
Auswaschbar (reporter) 2010-03-25 10:12 |
When running cmake, ".." is the path to the spring source root, right? |
SirMaverick (reporter) 2010-03-25 18:21 |
Now it is and it works. In both branches. |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2010-03-24 16:09 | SirMaverick | New Issue | |
2010-03-24 16:11 | SirMaverick | Note Added: 0004789 | |
2010-03-24 22:40 | Auswaschbar | Note Added: 0004790 | |
2010-03-24 23:50 | SirMaverick | Note Added: 0004792 | |
2010-03-25 10:12 | Auswaschbar | Note Added: 0004794 | |
2010-03-25 18:21 | SirMaverick | Note Added: 0004795 | |
2010-03-26 00:12 | Auswaschbar | Status | new => resolved |
2010-03-26 00:12 | Auswaschbar | Resolution | open => no change required |
2010-03-26 00:12 | Auswaschbar | Assigned To | => Auswaschbar |