[Developers] HELP ABOUT COMPILING ODT

Nanne Hemstra nanne at opendtect.org
Thu Jan 31 11:29:34 CET 2008


Hello Fidel,
>
> I typed “make” and it began to compile several .so libraries, but when 
> it compiled uiBase, I got the following error:
>
> Compiling iodraw.cc ...
>
> make[1]: 
> [/FS04/petrofisica/frramos/opendtect-3.1/lib/lux64/G/libuiBase.a(iodraw.o)] 
> Error 1 (ignored)
>

Only from this message I cannot say what the error is. More detailed 
information can be found in the src/uiBase/lslux file.

> They are files from the include directory in the Qt package. I am 
> wondering if the compiler has the right flags to point to the include 
> (and lib) directories in the Coin and Qt packages.
>

If you want to know where the compiler is looking for the Qt header 
files, run 'make lib -n'. It will show you the full g++ command. To do 
this for only one file, type e.g.:

make lib -n SRC.cc=iodraw.cc

Look at the -I 's for all include paths.


> I am using the 3.3 version of Qt. Is this right?
>

This is probably the main reason for the errors. We expect a Qt4 
installation. You can try compiling with:
make lib USEQT3=true

but I fear it will not work anymore. Please download and build the 
latest Qt4 package (we use Qt 4.3.2) and compile again.


Best regards,
Nanne



-- 
- Nanne Hemstra
- OpendTect developer
-
- dGB India
- 304, Gateway Plaza
- Hiranandani Gardens, Powai
- Mumbai - 400 076, India
- Phone: +91 22 25704984 , Fax: +91 22 25704977
- Mobile: +91 9833452542
- http://www.dgb-group.com , http://www.opendtect.org





More information about the Developers mailing list