View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000208 | FreeCAD | Bug | public | 2010-11-15 11:16 | 2010-12-18 11:21 |
Reporter | fhachenberg | Assigned To | wmayer | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 0.11 | ||||
Summary | 0000208: boost1.44.0::filesystem::no_check causes undefined reference linker error | ||||
Description | I'm not sure whether this is more a bug in boost1.44 default build script, but nm is unable to find the symbol "no_check" in my libboost_filesystem. My linker isn't either, so building FreeCad 0.11 ends in a linker error for me. FreeCAD is using the function in Application.cpp PropertyStandard.cpp In order to build FreeCAD, I have changed the concerned lines to use of boost::filesystem::native. | ||||
Additional Information | System: SUSE Linux Enterprise Desktop 10 boost-Version: 1.44.0 | ||||
Tags | No tags attached. | ||||
FreeCAD Information | |||||
|
Try this: #if defined(__GNUC__) #if BOOST_VERSION == 104400 namespace boost { namespace filesystem { bool no_check( const std::string & ) { return true; } } } #endif #endif You can add this block to Application.cpp just before the function customSyntax() |
|
Added in rev. 3758. Coudn't test it but should be fixed now. |
|
I just tried your fix and now my compiler complained, that no_check was defined already in boost/filesystem/v2/path.hpp, where it sais
Although inline, my linker nontheless searches for the function and doesn't find it in the boost libs. As a fix I replaced the defintion in path.hpp by
so your fix works. |
|
That's really weird if your compiler says that the function is already there but then the linker cannot resolve the symbols. So, IMO this is actually a bug in the boost package, not in FreeCAD. |
Date Modified | Username | Field | Change |
---|---|---|---|
2010-11-15 11:16 | fhachenberg | New Issue | |
2010-11-15 12:01 | wmayer | Note Added: 0000422 | |
2010-11-23 16:12 | wmayer | Note Added: 0000435 | |
2010-11-23 16:12 | wmayer | Assigned To | => wmayer |
2010-11-23 16:12 | wmayer | Status | new => closed |
2010-11-23 16:12 | wmayer | Resolution | open => fixed |
2010-12-16 13:59 | fhachenberg | Note Added: 0000458 | |
2010-12-16 13:59 | fhachenberg | Status | closed => feedback |
2010-12-16 13:59 | fhachenberg | Resolution | fixed => reopened |
2010-12-18 11:21 | wmayer | Note Added: 0000460 | |
2010-12-18 11:21 | wmayer | Status | feedback => closed |
2010-12-18 11:21 | wmayer | Resolution | reopened => fixed |