[OpendTect_Developers] Ubuntu build problem
David d'Angelo
david.d-angelo at iais.fraunhofer.de
Fri Sep 28 11:05:09 CEST 2012
Hi Kristofer,
thanks. It solved this problem.
However, I encountered another one. During compilation I get the
following error:
[ 83%] Building CXX object
src/visBase/CMakeFiles/visBase.dir/vistexturechannel2voldata.cc.o
cd /home/ddangelo/apps/OpendTect4.4/OpendTect/4.4.0/src/visBase &&
/usr/bin/c++ -DvisBase_EXPORTS -Dlux -Dlux32 -D__cmake__
-Wno-non-template-friend -Woverloaded-virtual -Wno-reorder -Wno-unused
-O3 -DNDEBUG -fPIC
-I/home/ddangelo/apps/OpendTect4.4/OpendTect/4.4.0/include/SoOD
-I/home/ddangelo/apps/OpendTect4.4/OpendTect/4.4.0/include/Geometry
-I/home/ddangelo/apps/OpendTect4.4/OpendTect/4.4.0/include/General
-I/home/ddangelo/apps/OpendTect4.4/OpendTect/4.4.0/include/Algo
-I/home/ddangelo/apps/OpendTect4.4/OpendTect/4.4.0/include/Basic
-I/home/ddangelo/apps/coin_install/include
-I/home/ddangelo/apps/OpendTect4.4/OpendTect/4.4.0/include/visBase
-Wno-inline -march=pentium4 '-DmUnusedVar=__attribute__ ((unused))' -o
CMakeFiles/visBase.dir/vistexturechannel2voldata.cc.o -c
/home/ddangelo/apps/OpendTect4.4/OpendTect/4.4.0/src/visBase/vistexturechannel2voldata.cc
/home/ddangelo/apps/OpendTect4.4/OpendTect/4.4.0/src/visBase/vistexturechannel2voldata.cc:38:48:
fatal error: VolumeViz/nodes/SoTransferFunction.h: No such file or directory
The gcc call is missing the include path for the simvoleon header files.
I also didn't see an cmake option to specify this folder. How do you
handle this?
Cheers,
David
On 09/27/2012 03:00 PM, Kristofer Tingdahl wrote:
> Hi all,
>
> a user on the mailing list replied to my previous e-mail and said he
> had the same problems. He also gave me his CMakeCache.txt file, and
> from there I found:
>
> //Path to a library.
> OD_SIMVOLEON_LIBRARY:FILEPATH=OD_SIMVOLEON_LIBRARY-NOTFOUND
>
> In contradiction to Coin and SoQt, SIMVoleon should be a static
> library. When you build coin (either on Linux or MacOS), you have to
> specify that. When I configure SIMVoleon, I run:
>
> ./configure --prefix /Users/Shared/appman/mac/coin/inst313_qt482
> --without-framework --enable-static --disable-shared
>
> Note that if you are on Linux, you should skip the --without-framework part.
>
>
> I hope this helps.
>
>
> - Kristofer Tingdahl
>
--
David d'Angelo, M. Sc.
Adaptive Reflective Teams
Fraunhofer IAIS
Schloss Birlinghoven
53754 Sankt Augustin
Germany
Fon: +49 (0) 2241 14 3444
Fax: +49 (0) 2241 14 2040
More information about the Developers
mailing list