Re: [Tnfox-discussion] building issue with TnFox 0.89
Brought to you by:
ned14
From: Paul T. <pau...@gm...> - 2010-11-29 01:52:18
|
> > The first time I downloaded a tarball, but failed to document where/how. This time I installed git, and used git as follows: sudo git clone --recursive https://github.com/ned14/tnfox.git ...which worked well. Prior to that I had tried using: sudo git submodule update --init --recursive https://github.com/ned14/tnfox.git but git complained it didn't understand the target location. The only config edit I made was to comment out -fast-math option in ../tnfox/config/g++.py, then started the build with, "sudo scons tnfox" Then encountered the following build error: Configured for x86 DEBUG build ... Using platform configuration /home/walnut/projects/tnfox/config/g++.py ... Setting jobs to 2 (use -j <n> to override) Checking for C header file pthread.h... (cached) yes Checking for pthread_setaffinity_np(0,0,0) in C library pthread... (cached) yes Checking for __cxa_throw() in C++ library stdc++... (cached) yes Checking for XOpenDisplay() in C library X11... (cached) yes Checking for XShmAttach() in C library Xext... (cached) yes Checking for C header file X11/Xcursor/Xcursor.h... (cached) yes Checking for C header file X11/Xft/Xft.h... (cached) yes Checking for C header file X11/extensions/XShm.h... (cached) yes Checking for shm_open() in C library rt... (cached) yes Checking for dlopen() in C library dl... (cached) yes Checking for C library cups... (cached) no Disabling CUPS support Checking for C library pam... (cached) no Checking for C library pam... (cached) no Disabling PAM support Checking for crypt() in C library crypt... (cached) yes Checking for GCC global symbol visibility support...(cached) yes Checking if GCC can enable C++0x features ...(cached) yes Making sure this is really a 32 bit compiler ...(cached) yes Is the compiler configured for big endian architecture ...(cached) no Checking for C++0x feature N1720 (static assertions) ...(cached) yes Checking for C++0x feature N2118 (rvalue references) ...(cached) yes Local VTK not found Checking for C library z... (cached) yes Checking for C library tiff... (cached) yes Checking for C library png... (cached) no PNG library not found, disabling support Checking for C library jpeg... (cached) yes Checking for C library bz2... (cached) no BZip2 library not found, disabling support Checking for SSL_library_init() in C library ssl... (cached) no OpenSSL library not found, disabling support Checking for glBegin(GL_POINTS) in C library GL... (cached) yes Checking for C++ header file GL/glu.h... (cached) yes Checking for vtkVersion::GetVTKVersion() in C++ library vtkCommon... (cached) no basetarget= lib/x86_7/libTnFOX-0.89d.so.0.0.0 basetarget= lib/x86_7/libTnFOX_sql-0.89d.so.0.0.0 basetarget= lib/x86_7/libTnFOX_graphing-0.89d.so.0.0.0 scons: done reading SConscript files. scons: Building targets ... python UpdateMunged.py -d src -s include/tnfxgitrev.h -c "-f 4 -c include/FXErrCodes.h -t TnFOXTrans.txt" TnFOX Munge file updater v0.22 UpdateMunged.py:77: DeprecationWarning: os.popen4 is deprecated. Use the subprocess module. (childinh, childh)=os.popen4("git describe") This is built from GIT revision 63e2e7c No files need updating [snip: gcc compile listing] In file included from src/TnFXApp.cxx:26: include/qptrlist.h:60: error: redefinition of default argument for 'class allocator' include/fxdefs.h:982: note: original definition appeared here include/qptrlist.h:61: error: redefinition of default argument for 'class allocator' include/fxdefs.h:983: note: original definition appeared here scons: *** [Debug_g++_x86_7/TnFXApp.os] Error 1 scons: building terminated because of errors. Also wondering about any "Hello World" proggy for tnFox. Possibly refer to fox toolkit for examples? Thank you. |