Hi Simon,

> hi andreas
> 
> 
>>I made some changes can you test it with the attached SConstruct file 
>>just copy it into your OpenSG directory.
>>BTW did you solve the xmlpp link problems?
> 
> 
> i just did a fresh checkout and added your sconstruct file. unfortunately i 
> still have the xmlpp problems, here's the link line:

yes my changes are only qt4 related and has nothing todo with the xmlpp 
errors.

> g++ -o Build/linux-gcc/Tools/fcdEdit/opt/fcdCompile -Wl,-s -s 
> Build/linux-gcc/Tools/fcdEdit/opt/FieldContainer.o 
> Build/linux-gcc/Tools/fcdEdit/opt/Field.o 
> Build/linux-gcc/Tools/fcdEdit/opt/main.o 
> Build/linux-gcc/Tools/fcdEdit/opt/ParseComandLine.o 
> -LBuild/linux-gcc/installed/lib/opt -lOSGBase
> Build/linux-gcc/Tools/fcdEdit/opt/FieldContainer.o: In function 
> `FieldContainer::readDesc(char const*)':
> FieldContainer.cpp:(.text+0x321b): undefined reference to 
> `xmlpp::xmlcontext::xmlcontext()'
> FieldContainer.cpp:(.text+0x3af8): undefined reference to 
> `xmlpp::xmldocument::load(std::basic_istream<char, std::char_traits<char> >&, 
> boost::shared_ptr<xmlpp::xmlcontext>&)'
> FieldContainer.cpp:(.text+0x4452): undefined reference to 
> `xmlpp::xmlerror::get_strerror() const'
> collect2: ld returned 1 exit status
> scons: *** [Build/linux-gcc/Tools/fcdEdit/opt/fcdCompile] Error 1
> scons: building terminated because of errors.
> 
> i called it with
> scons qt4='/usr/lib/qt4'
> 
> i have two libxml++ versions installed, it worked with earlier checkouts...
> 
> icarium ~ # ls -lh /usr/lib/libxml++*
> -rw-r--r-- 1 root root 226K Jun 15 15:39 /usr/lib/libxml++-1.0.a
> -rw-r--r-- 1 root root  854 Jun 15 15:39 /usr/lib/libxml++-1.0.la
> lrwxrwxrwx 1 root root   21 Jun 15 15:39 /usr/lib/libxml++-1.0.so -> 
> libxml++-1.0.so.1.0.4
> lrwxrwxrwx 1 root root   21 Jun 15 15:39 /usr/lib/libxml++-1.0.so.1 -> 
> libxml++-1.0.so.1.0.4
> -rwxr-xr-x 1 root root 103K Jun 15 15:39 /usr/lib/libxml++-1.0.so.1.0.4
> -rw-r--r-- 1 root root 288K Jun 21 16:53 /usr/lib/libxml++-2.6.a
> -rw-r--r-- 1 root root  992 Jun 21 16:53 /usr/lib/libxml++-2.6.la
> lrwxrwxrwx 1 root root   21 Jun 21 16:53 /usr/lib/libxml++-2.6.so -> 
> libxml++-2.6.so.2.0.6
> lrwxrwxrwx 1 root root   21 Jun 21 16:53 /usr/lib/libxml++-2.6.so.2 -> 
> libxml++-2.6.so.2.0.6
> -rwxr-xr-x 1 root root 133K Jun 21 16:53 /usr/lib/libxml++-2.6.so.2.0.6

OpenSG has no dependency to a external xmlpp lib we have our own special 
xmlpp version included into the OSGBase lib perhaps this conflicts with 
the one in /usr/include

Andreas


> 
> simon
> 
> 
> 
>>Andreas
>>
>>
>>>>ok the headers are in /usr/include/qt4 how does it look exactly are 
>>>>there any header files or only the following sub directories?
>>>>
>>>>ActiveQt
>>>>Qt
>>>>Qt3Support
>>>>QtAssistant
>>>>QtCore
>>>>QtDesigner
>>>>QtGui
>>>>QtNetwork
>>>>QtOpenGL
>>>>QtTest
>>>>QtUiTools
>>>>QtXml
>>>
>>>
>>>yes, i have this layout:
>>>
>>>[EMAIL PROTECTED] /usr/include/qt4 $ ls
>>>Qt          QtAssistant  QtDesigner  QtNetwork  QtSql  QtTest     QtXml
>>>Qt3Support  QtCore       QtGui       QtOpenGL   QtSvg  QtUiTools
>>>
>>>i just compared the gcc errors to the source files and it seems that 
>>>these additional subdirs cause much of the trouble... i tried to 
>>>prepend Qt/ etc to some #include <...> statements it it seems to help. 
>>>but i suppose, this problem is better solved by adding the right paths 
>>>to the makefiles.
>>>
>>>
>>>
>>>>I could add a easy workaround if the <path>/include or <path>/lib 
>>>>doesn't exist it just adds /usr/include/qt4 and /usr/lib/qt4
>>>>Is there also a qt3 installation on your machine how does it look 
>>>>like is it similiar to qt4?
>>>
>>>
>>>no, the qt3 installation is completely under /usr/qt/3:
>>>
>>>icarium ~ # cd /usr/qt/3/
>>>icarium 3 # ls
>>>bin  etc  include  lib  lib64  mkspecs  plugins  tools  translations
>>>
>>>cheers,
>>>simon
>>>
>>>-------------------------------------------------------------------------
>>>Using Tomcat but need to do more? Need to support web services, security?
>>>Get stuff done quickly with pre-integrated technology to make your job 
>>>easier
>>>Download IBM WebSphere Application Server v.1.0.1 based on Apache 
>>>Geronimo
>>>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>_______________________________________________
>>>Opensg-users mailing list
>>>[email protected]
>>>https://lists.sourceforge.net/lists/listinfo/opensg-users
>>>


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to