Menu

Unable to link CPPunit test

Help
Dave Clark
2019-07-22
2019-09-13
  • Dave Clark

    Dave Clark - 2019-07-22

    Hello;

    I'm getting an error when attempting to link a CPPunit test (using Netbeans on RHEL). Another developer is able to link the test successfully, and we both have the same cppunit and cppunit-devel packages installed, so I'm not sure what's going on here. The error is:

    build/Debug/GNU-Linux/tests/tests/abcTest.o:(.rodata._ZTIN7CppUnit17AdditionalMessageE[_ZTIN7CppUnit17AdditionalMessageE]+0x10): undefined reference to `typeinfo for CppUnit::Message'
    

    Any ideas? Thanks in advance.

     
  • Alexander Lindsay

    Experiencing the exact same issue when linking to libMesh unit tests on Ubuntu 16.04 with manually built cppunit (e.g. configure; make; make install

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.