#327 Building 7.22.0 fail on Linux Slackware 13.37

closed-fixed
5
2012-10-05
2012-10-05
No

Building 7.22.0 fail on Linux Slackware 13.37.

Error message:

[ 65%] Building C object src/bwish/CMakeFiles/btclsh.dir/tcl.c.o
Linking C executable ../../bin/btclsh
../../lib/libged.so.20.0.1: undefined reference to `Avoid::ConnEnd::ConnEnd(Avoid::Point const&)'
../../lib/libged.so.20.0.1: undefined reference to `Avoid::ConnEnd::~ConnEnd()'
../../lib/libged.so.20.0.1: undefined reference to `Avoid::Point::Point(double, double)'
../../lib/libged.so.20.0.1: undefined reference to `Avoid::VertID::VertID(unsigned int, unsigned short, unsigned short)'
../../lib/libged.so.20.0.1: undefined reference to `Avoid::ConnRef::setCallback(void (*)(void*), void*)'
../../lib/libged.so.20.0.1: undefined reference to `Avoid::ConnRef::ConnRef(Avoid::Router*, Avoid::ConnEnd const&, Avoid::ConnEnd const&, unsigned int)'
../../lib/libged.so.20.0.1: undefined reference to `Avoid::VertID::PROP_OrthShapeEdge'
../../lib/libged.so.20.0.1: undefined reference to `Avoid::Router::processTransaction()'
../../lib/libged.so.20.0.1: undefined reference to `Avoid::ConnRef::route() const'
collect2: ld returned 1 exit status
make[2]: *** [bin/btclsh] Error 1
make[1]: *** [src/bwish/CMakeFiles/btclsh.dir/all] Error 2
make: *** [all] Error 2

Used cmake command:
cmake ../brlcad-7.22.0 -DBRLCAD_BUNDLED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DBRLCAD_ENABLE_STRICT=OFF

Discussion

  • Szymon Dowkontt

    Szymon Dowkontt - 2012-10-05
    • summary: Building 7.22.0 fail --> Building 7.22.0 fail on Linux Slackware 13.37
     
  • Szymon Dowkontt

    Szymon Dowkontt - 2012-10-05

    It is possible to omit (fix?) this issue by compile BRL-CAD in old way (with autogen.sh/make/make install).

    However, compiled this way, mged works, but archer wan't start (it is probably another issue).

     
  • Szymon Dowkontt

    Szymon Dowkontt - 2012-10-05
    • status: open --> open-works-for-me
     
  • Sean Morrison

    Sean Morrison - 2012-10-05
    • milestone: 386421 --> other bug / workaround
    • assigned_to: nobody --> brlcad
    • status: open-works-for-me --> closed-fixed
     
  • Sean Morrison

    Sean Morrison - 2012-10-05

    I believe the issue you ran into was recently fixed. Try our latest svn sources from trunk and it should get you past that error. Using the old build system is not recommended.

     
  • Szymon Dowkontt

    Szymon Dowkontt - 2012-10-08

    I checked it twice on three various computers with Slackware (one of them with 64bit Linux version). I could say, that compilation of 7.22.0 using "new way" fails when current version of Adaptagrams is installed (mjwybrow-adaptagrams-979d14c from their git). Without it, compilation is done successful. I do not checked other/previous versions of adaptagrams.

     
  • Sean Morrison

    Sean Morrison - 2012-10-10

    The question wasn't whether you were using the latest version of Adaptagrams but, rather, the latest SVN version of BRL-CAD? I think the issue you encountered was fixed after 7.22.0 was released.

     
  • Szymon Dowkontt

    Szymon Dowkontt - 2012-10-11

    I checked today morning current version from cvs (rev. 52984). Without Adaptagrams it could be compiled successfully. With Adaptagrams following error appears:

    [ 46%] Building CXX object src/libged/CMakeFiles/libged.dir/dag.cpp.o
    /root/stuff/brlsrc/brlcad-20121011/brlcad/src/libged/dag.cpp: In function 'void position_node(_ged_dag_data*, bool, Avoid::ShapeRef*, Avoid::ShapeRef*, unsigned int&, std::vector<double>&)':
    /root/stuff/brlsrc/brlcad-20121011/brlcad/src/libged/dag.cpp:132:22: error: 'const class Avoid::Polygon' has no member named 'getBoundingRect'
    /root/stuff/brlsrc/brlcad-20121011/brlcad/src/libged/dag.cpp:140:20: error: 'const class Avoid::Polygon' has no member named 'getBoundingRect'
    /root/stuff/brlsrc/brlcad-20121011/brlcad/src/libged/dag.cpp: In function 'void dag_comb(db_i*, directory*, void*, _ged_dag_data*, bu_hash_tbl*)':
    /root/stuff/brlsrc/brlcad-20121011/brlcad/src/libged/dag.cpp:347:2: warning: ISO C++ does not support the 'z' gnu_printf length modifier
    /root/stuff/brlsrc/brlcad-20121011/brlcad/src/libged/dag.cpp:347:2: warning: ISO C++ does not support the 'z' gnu_printf length modifier
    /root/stuff/brlsrc/brlcad-20121011/brlcad/src/libged/dag.cpp: In function 'int add_objects(ged*, _ged_dag_data*)':
    /root/stuff/brlsrc/brlcad-20121011/brlcad/src/libged/dag.cpp:522:18: error: 'class Avoid::Router' has no member named 'setOrthogonalNudgeDistance'
    /root/stuff/brlsrc/brlcad-20121011/brlcad/src/libged/dag.cpp: In function 'void graph_positions(ged*, _ged_dag_data*)':
    /root/stuff/brlsrc/brlcad-20121011/brlcad/src/libged/dag.cpp:649:23: error: 'const class Avoid::Polygon' has no member named 'getBoundingRect'
    make[2]: *** [src/libged/CMakeFiles/libged.dir/dag.cpp.o] Error 1
    make[1]: *** [src/libged/CMakeFiles/libged.dir/all] Error 2
    make: *** [all] Error 2

     
  • Szymon Dowkontt

    Szymon Dowkontt - 2012-10-19

    In rev. 53232 not works (the same error like previously for 52984).

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks