iv3d-users

Text archives Help


[IV3D-USERS] Tuvok compilation/link problem


Chronological Thread 
  • From: <pierre.kestener@cea.fr>
  • To: iv3d-users@sci.utah.edu
  • Subject: [IV3D-USERS] Tuvok compilation/link problem
  • Date: Tue, 20 Jul 2010 02:20:54 -0600 (MDT)


Hello,

I tried to compile Tuvok on an Ubuntu 10.04 machine:

1. minor remark: I notice there is a missing header (cstdio required to use
snprintf) in file IO/ExternalDataset.cpp 

2. I can't get the test example test/render/tuvok to be linked; I get the
following error message at linking stage

g++ -Wl,-O1 -o tuvok context.o render.o    -L../../Build -L/usr/lib
-L/usr/X11R6/lib -lTuvok -L/usr/lib -L/usr/X11R6/lib -lz
-L/usr/lib/qt4/plugins/imageformats -lqgif -lqjpeg -lQtOpenGL -lQtGui -lQtCore
-lGLU -lGL -lpthread 
../../Build/libTuvok.a(SysTools.o): In function
`SysTools::GetTempDirectory(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >&)':
SysTools.cpp:(.text+0x160e): warning: the use of `tmpnam' is dangerous, better
use `mkstemp'
context.o:(.rodata._ZTVN5boost13serialization6detail17singleton_wrapperIN5tuvok16MasterControllerEEE[vtable
for
boost::serialization::detail::singleton_wrapper<tuvok::MasterController>]+0x28):
undefined reference to
`tuvok::MasterController::Execute(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::__debug::vector<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)'
collect2: ld returned 1 exit status
make: *** [tuvok] Error 1


Have someone an idea how to solve this ? My g++ compiler is 4.4.3

Thanks.

Pierre.



Archive powered by MHonArc 2.6.16.

Top of page