Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Build issue - needs linking to boost unit test #65

Closed
hjanetzek opened this issue Dec 1, 2014 · 1 comment
Closed

Build issue - needs linking to boost unit test #65

hjanetzek opened this issue Dec 1, 2014 · 1 comment

Comments

@hjanetzek
Copy link
Contributor

Building SFCGAL with boost 1.48 on Ubuntu 12.04 produces an undefined reference. When I comment out these two lines from vtk.h it works for me:

#include <boost/test/unit_test.hpp>
using namespace boost::unit_test;

output when linking with "-z defs":

CMakeFiles/SFCGAL.dir/algorithm/difference.cpp.o:difference.cpp:function boost::unit_test::singleton<boost::unit_test::unit_test_log_t>::instance(): error: undefined reference to 'vtable for boost::unit_test::unit_test_log_t'
collect2: error: ld returned 1 exit status
@vmora vmora closed this as completed in 16870f3 Dec 1, 2014
@vmora
Copy link
Contributor

vmora commented Dec 1, 2014

Thanks a lot.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants