|
[Sponsors] |
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 26, 2009, 16:33 |
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found
|
#1 |
Member
Piotr Prusinski
Join Date: Oct 2009
Location: Warsaw, Poland
Posts: 67
Rep Power: 17 |
Hi there,
I'm looking for some advice. I downloaded the newest version of OF-1.6 from http://www.opencfd.co.uk/openfoam/download.html, but that's obvious. Of course I've followed the installation instruction on the website, but I've met following errors: 1) Using command makeParaView, I've got: Code:
ParaView_DIR=/home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc ---- Configuring paraview-3.6.1 (major version: 3.6) MPI support : false Python support : false MESA support : false Qt dev support : true Source : /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1 Target : /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc ---- cmake -DCMAKE_INSTALL_PREFIX:PATH=/home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc -DVTK_USE_TK=FALSE -DBUILD_SHARED_LIBS:BOOL=ON -DVTK_USE_RPATH:BOOL=OFF -DCMAKE_BUILD_TYPE:STRING=Release -DPARAVIEW_INSTALL_DEVELOPMENT:BOOL=ON -DPARAVIEW_BUILD_QT_GUI=ON ../.. ---- cmake: /home/piotr/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux64/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by cmake) Starting make make: *** Nie podano obiektów i nie znaleziono makefile. Stop. // Objects not specified, makefile not found Command exited with non-zero status 2 0.01user 0.00system 0:00.00elapsed 200%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (0major+339minor)pagefaults 0swaps Done make For quicker development, linking lib/paraview-3.6/ -> bin/ Creating html documentation make: *** Brak reguł do wykonania obiektu `HTMLDocumentation'. Stop. // No rules to execute object "HTML.Documentation" Installing ParaView to /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc disabled 'make install' for now, just use links --- Installation complete Set environment variables: export ParaView_INST_DIR=/home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1 export ParaView_DIR=/home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc export PV_PLUGIN_PATH=/home/piotr/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt export PATH=$ParaView_DIR/bin:$PATH --- -- Replacing path hard links for $ParaView_DIR *.cmake: -- Replacing path hard links for $ParaView_INST_DIR *.cmake: -- Replacing path hard links for $WM_COMPILER_DIR *cmake*: done Code:
Code:
+ [ -d /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc -a -r /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc ] + wmake libso vtkPV3Foam wmakeLnInclude: linking include files to ./lnInclude Making dependency list for source file vtkPV3Foam.C could not open file vtkConfigure.h for source file vtkPV3Foam.C Making dependency list for source file vtkPV3FoamFields.C could not open file vtkConfigure.h for source file vtkPV3FoamFields.C Making dependency list for source file vtkPV3FoamMesh.C could not open file vtkConfigure.h for source file vtkPV3FoamMesh.C Making dependency list for source file vtkPV3FoamMeshLagrangian.C could not open file vtkConfigure.h for source file vtkPV3FoamMeshLagrangian.C Making dependency list for source file vtkPV3FoamMeshPatch.C could not open file vtkConfigure.h for source file vtkPV3FoamMeshPatch.C Making dependency list for source file vtkPV3FoamMeshSet.C could not open file vtkConfigure.h for source file vtkPV3FoamMeshSet.C Making dependency list for source file vtkPV3FoamMeshVolume.C could not open file vtkConfigure.h for source file vtkPV3FoamMeshVolume.C Making dependency list for source file vtkPV3FoamMeshZone.C could not open file vtkConfigure.h for source file vtkPV3FoamMeshZone.C Making dependency list for source file vtkPV3FoamUpdateInfo.C could not open file vtkConfigure.h for source file vtkPV3FoamUpdateInfo.C Making dependency list for source file vtkPV3FoamUtilities.C could not open file vtkConfigure.h for source file vtkPV3FoamUtilities.C SOURCE=vtkPV3Foam.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/home/piotr/OpenFOAM/OpenFOAM-1.6/src/finiteVolume/lnInclude -I/home/piotr/OpenFOAM/OpenFOAM-1.6/src/lagrangian/basic/lnInclude -I/home/piotr/OpenFOAM/OpenFOAM-1.6/src/meshTools/lnInclude -I/home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc/VTK -I/home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1 -I/home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK -I/home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common -I/home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Filtering -I/home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Rendering -I../PV3FoamReader -IlnInclude -I. -I/home/piotr/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude -I/home/piotr/OpenFOAM/OpenFOAM-1.6/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/vtkPV3Foam.o In file included from /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkSystemIncludes.h:30, from /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkIndent.h:24, from /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkObjectBase.h:43, from /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkObject.h:41, from /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Filtering/vtkAlgorithm.h:32, from /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Filtering/vtkMultiBlockDataSetAlgorithm.h:25, from ../PV3FoamReader/vtkPV3FoamReader.h:31, from vtkPV3Foam.C:28: /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkWin32Header.h:27:26: error: vtkConfigure.h: No such file or directory In file included from /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkSystemIncludes.h:40, from /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkIndent.h:24, from /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkObjectBase.h:43, from /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkObject.h:41, from /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Filtering/vtkAlgorithm.h:32, from /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Filtering/vtkMultiBlockDataSetAlgorithm.h:25, from ../PV3FoamReader/vtkPV3FoamReader.h:31, from vtkPV3Foam.C:28: /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkIOStream.h:68:68: error: iostream.h: No such file or directory /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkIOStream.h:69:23: error: iomanip.h: No such file or directory /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkIOStream.h:70:70: error: fstream.h: No such file or directory In file included from /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkSystemIncludes.h:44, from /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkIndent.h:24, from /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkObjectBase.h:43, from /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkObject.h:41, from /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Filtering/vtkAlgorithm.h:32, from /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Filtering/vtkMultiBlockDataSetAlgorithm.h:25, from ../PV3FoamReader/vtkPV3FoamReader.h:31, from vtkPV3Foam.C:28: /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkType.h:165:3: error: #error "No native data type can represent an 8-bit integer." /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkType.h:180:3: error: #error "No native data type can represent a 16-bit integer." /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkType.h:195:3: error: #error "No native data type can represent a 32-bit integer." /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkType.h:215:3: error: #error "No native data type can represent a 64-bit integer." /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkType.h:223:3: error: #error "No native data type can represent a 32-bit floating point value." /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkType.h:231:3: error: #error "No native data type can represent a 64-bit floating point value." make: *** [Make/linux64GccDPOpt/vtkPV3Foam.o] Błąd 1 //Error 1 + cd PV3FoamReader + mkdir -p Make/linux64GccDPOpt + cd Make/linux64GccDPOpt + cmake ../.. cmake: /home/piotr/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux64/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by cmake) + make make: *** Nie podano obiektów i nie znaleziono makefile. Stop. // Objects are not given and makefile not found Is there any one able to help me a bit? |
|
October 27, 2009, 08:43 |
|
#2 |
Member
Piotr Prusinski
Join Date: Oct 2009
Location: Warsaw, Poland
Posts: 67
Rep Power: 17 |
What do you think? May it be due to the version of gcc?
I have: Code:
piotr@quad:~$ gcc --version gcc (OpenFOAM) 4.3.3 Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|
October 28, 2009, 04:06 |
|
#3 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Hi Piotr,
It is indeed due to gcc, actually due to some libraries that are probably in your system's gcc, but not updated in openFOAM's gcc. The latter lives in ThirdParty. This can give problems with things like libstdc++.so.6 and its version. You might want to try to compile with your system compiler. For that change the following lines in lines 111-115 of $HOME/OpenFOAM/OpenFOAM-1.5/etc/settings.sh from Code:
# Select compiler installation # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # compilerInstall = OpenFOAM | System compilerInstall=OpenFOAM #compilerInstall=System Code:
# Select compiler installation # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # compilerInstall = OpenFOAM | System #compilerInstall=OpenFOAM compilerInstall=System Cheers, Gijsbert |
|
October 28, 2009, 08:37 |
|
#4 |
Member
Piotr Prusinski
Join Date: Oct 2009
Location: Warsaw, Poland
Posts: 67
Rep Power: 17 |
I thought that too, but it didn't worked as you or me could expect. First of all after the change of compiler to the given by the System as you suggested I've got critical error like this from the foamInstallationTest:
Code:
------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- WARNING: gcc version does not match gcc supplied with this release of OpenFOAM Supplied version: 4.3.3 User version : 4.4.1 Minimum required: 4.3.1 gcc 4.4.1 WARNING: Conflicting installations: OpenFOAM settings : /home/piotr/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux64/bin/gcc current path : /usr/bin/gcc CRITICAL ERROR gzip 1.3.12 /bin/gzip tar 1.22 /bin/tar icoFoam 1.6 .../OpenFOAM-1.6/applications/bin/linux64GccDPOpt/icoFoam ------------------------------------------------------------------------------- Summary ------------------------------------------------------------------------------- Base configuration ok. The foam installation contains 1 critical error(s). Review the output for warning messages and consult the installation guide for trouble shooting. done. Code:
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. -- Looking for include files STDC_HEADERS -- Looking for include files STDC_HEADERS - found -- Looking for include files HAVE_ALLOCA_H -- Looking for include files HAVE_ALLOCA_H - found -- Looking for alloca -- Looking for alloca - found -- Check size of size_t -- Check size of size_t - done -- Check size of ssize_t -- Check size of ssize_t - done -- Check size of ptrdiff_t -- Check size of ptrdiff_t - done -- Check size of off_t -- Check size of off_t - done -- Check size of double -- Check size of double - done -- Check size of float -- Check size of float - done -- Check size of short -- Check size of short - done -- Check size of uchar -- Check size of uchar - failed -- Performing NetCDF Test HAVE_ST_BLKSIZE -- Performing NetCDF Test HAVE_ST_BLKSIZE - Success -- Performing NetCDF Test HAVE_FTRUNCATE -- Performing NetCDF Test HAVE_FTRUNCATE - Success CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. -- Looking for malloc.h -- Looking for malloc.h - found CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. -- Looking for glXGetProcAddressARB -- Looking for glXGetProcAddressARB - found -- Looking for glXGetProcAddressARB in GL/glx.h CMake Error at /usr/share/cmake-2.6/Modules/CMakeCXXInformation.cmake:17 (GET_FILENAME_COMPONENT): get_filename_component called with incorrect number of arguments Call Stack (most recent call first): CMakeLists.txt:3 (PROJECT) CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage CMake Error: Internal CMake error, TryCompile configure of cmake failed -- Looking for glXGetProcAddressARB in GL/glx.h - FALSE CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. -- Looking for printf in m; -- Looking for printf in m; - found -- Looking for printf in ws2_32;m -- Looking for printf in ws2_32;m - not found -- Looking for printf in wsock32;m -- Looking for printf in wsock32;m - not found -- Looking for gethostname in ucb;m -- Looking for gethostname in ucb;m - not found -- Looking for connect in socket;m -- Looking for connect in socket;m - not found -- Looking for gethostbyname in c -- Looking for gethostbyname in c - found -- Looking for include files HAVE_GLOBUS_COMMON_H -- Looking for include files HAVE_GLOBUS_COMMON_H - not found. -- Looking for include files HAVE_IO_H -- Looking for include files HAVE_IO_H - not found. -- Looking for include files HAVE_MFHDF_H -- Looking for include files HAVE_MFHDF_H - not found. -- Looking for include files HAVE_PDB_H -- Looking for include files HAVE_PDB_H - not found. -- Looking for include files HAVE_SETJMP_H -- Looking for include files HAVE_SETJMP_H - found -- Looking for include files HAVE_SRBCLIENT_H -- Looking for include files HAVE_SRBCLIENT_H - not found. -- Looking for include files HAVE_SYS_IOCTL_H -- Looking for include files HAVE_SYS_IOCTL_H - found -- Looking for include files HAVE_SYS_PROC_H -- Looking for include files HAVE_SYS_PROC_H - not found. -- Looking for include files HAVE_SYS_RESOURCE_H -- Looking for include files HAVE_SYS_RESOURCE_H - found -- Looking for include files HAVE_FEATURES_H -- Looking for include files HAVE_FEATURES_H - found -- Looking for include files HAVE_WINSOCK_H -- Looking for include files HAVE_WINSOCK_H - not found. -- Looking for C++ include stdint.h CMake Error at /usr/share/cmake-2.6/Modules/CMakeCXXInformation.cmake:17 (GET_FILENAME_COMPONENT): get_filename_component called with incorrect number of arguments Call Stack (most recent call first): CMakeLists.txt:3 (PROJECT) CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage CMake Error: Internal CMake error, TryCompile configure of cmake failed -- Looking for C++ include stdint.h - not found -- Check size of char -- Check size of char - done -- Check size of long double -- Check size of long double - done -- Check size of int8_t -- Check size of int8_t - done -- Check size of uint8_t -- Check size of uint8_t - failed -- Check size of int_least8_t -- Check size of int_least8_t - failed -- Check size of uint_least8_t -- Check size of uint_least8_t - failed -- Check size of int_fast8_t -- Check size of int_fast8_t - failed -- Check size of uint_fast8_t -- Check size of uint_fast8_t - failed -- Check size of int16_t -- Check size of int16_t - done -- Check size of uint16_t -- Check size of uint16_t - failed -- Check size of int_least16_t -- Check size of int_least16_t - failed -- Check size of uint_least16_t -- Check size of uint_least16_t - failed -- Check size of int_fast16_t -- Check size of int_fast16_t - failed -- Check size of uint_fast16_t -- Check size of uint_fast16_t - failed -- Check size of int32_t -- Check size of int32_t - done -- Check size of uint32_t -- Check size of uint32_t - failed -- Check size of int_least32_t -- Check size of int_least32_t - failed -- Check size of uint_least32_t -- Check size of uint_least32_t - failed -- Check size of int_fast32_t -- Check size of int_fast32_t - failed -- Check size of uint_fast32_t -- Check size of uint_fast32_t - failed -- Check size of int64_t -- Check size of int64_t - done -- Check size of uint64_t -- Check size of uint64_t - failed -- Check size of jdshkjfhdks -- Check size of jdshkjfhdks - failed -- Check size of int_least64_t -- Check size of int_least64_t - failed -- Check size of uint_least64_t -- Check size of uint_least64_t - failed -- Check size of int_fast64_t -- Check size of int_fast64_t - failed -- Check size of uint_fast64_t -- Check size of uint_fast64_t - failed -- Check size of __int64 -- Check size of __int64 - failed -- Check size of long long -- Check size of long long - done -- Looking for system -- Looking for system - found -- Looking for waitpid -- Looking for waitpid - found -- Looking for ioctl -- Looking for ioctl - found -- Looking for sigaction -- Looking for sigaction - found -- Looking for getpwuid -- Looking for getpwuid - found -- Looking for getrusage -- Looking for getrusage - found -- Looking for longjmp -- Looking for longjmp - found -- Looking for fork -- Looking for fork - found -- Looking for difftime -- Looking for difftime - found -- Looking for gethostname -- Looking for gethostname - found -- Looking for frexpf -- Looking for frexpf - found -- Looking for frexpl -- Looking for frexpl - found -- Looking for TIOCGWINSZ -- Looking for TIOCGWINSZ - found -- Looking for TIOCGETD -- Looking for TIOCGETD - found -- Looking for SO_REUSEADDR -- Looking for SO_REUSEADDR - found -- Looking for include files HAVE_NETINET_TCP_H -- Looking for include files HAVE_NETINET_TCP_H - found -- Looking for include files HAVE_SYS_FILIO_H -- Looking for include files HAVE_SYS_FILIO_H - not found. -- Performing Other Test TIME_WITH_SYS_TIME -- Performing Other Test TIME_WITH_SYS_TIME - Success -- Performing Other Test HAVE_TM_ZONE -- Performing Other Test HAVE_TM_ZONE - Success -- Performing Other Test HAVE_STRUCT_TM_TM_ZONE -- Performing Other Test HAVE_STRUCT_TM_TM_ZONE - Success -- Performing Other Test HAVE_ATTRIBUTE -- Performing Other Test HAVE_ATTRIBUTE - Success -- Performing Other Test HAVE_FUNCTION -- Performing Other Test HAVE_FUNCTION - Success -- Performing Other Test HAVE_TM_GMTOFF -- Performing Other Test HAVE_TM_GMTOFF - Success -- Performing Other Test HAVE_TIMEZONE -- Performing Other Test HAVE_TIMEZONE - Success -- Performing Other Test HAVE_STRUCT_TIMEZONE -- Performing Other Test HAVE_STRUCT_TIMEZONE - Success -- Performing Other Test HAVE_STAT_ST_BLOCKS -- Performing Other Test HAVE_STAT_ST_BLOCKS - Success -- Performing Other Test SYSTEM_SCOPE_THREADS -- Performing Other Test SYSTEM_SCOPE_THREADS - Success -- Performing Other Test HAVE_SOCKLEN_T -- Performing Other Test HAVE_SOCKLEN_T - Success -- Performing Other Test DEV_T_IS_SCALAR -- Performing Other Test DEV_T_IS_SCALAR - Success -- Performing Other Test HAVE_OFF64_T -- Performing Other Test HAVE_OFF64_T - Success -- Looking for lseek64 -- Looking for lseek64 - found -- Looking for fseek64 -- Looking for fseek64 - not found -- Performing Other Test INLINE_TEST_inline -- Performing Other Test INLINE_TEST_inline - Success -- Performing Other Test INLINE_TEST___inline__ -- Performing Other Test INLINE_TEST___inline__ - Success -- Performing Other Test INLINE_TEST___inline -- Performing Other Test INLINE_TEST___inline - Success -- Checking for apropriate format for 64 bit long: -- Checking for apropriate format for 64 bit long: "l" CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. -- Looking for strtoll -- Looking for strtoll - found -- Check if system supports 64 bit streams CMake Error at /usr/share/cmake-2.6/Modules/CMakeCXXInformation.cmake:17 (GET_FILENAME_COMPONENT): get_filename_component called with incorrect number of arguments Call Stack (most recent call first): CMakeLists.txt:3 (PROJECT) CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage CMake Error: Internal CMake error, TryCompile configure of cmake failed -- Check if system supports 64 bit streams - no -- Looking for malloc.h -- Looking for malloc.h - found -- Check if system supports 64 bit streams CMake Error at /usr/share/cmake-2.6/Modules/CMakeCXXInformation.cmake:17 (GET_FILENAME_COMPONENT): get_filename_component called with incorrect number of arguments Call Stack (most recent call first): CMakeLists.txt:3 (PROJECT) CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage CMake Error: Internal CMake error, TryCompile configure of cmake failed -- Check if system supports 64 bit streams - no CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. -- Plugin: Streaming Plugin disabled -- Plugin: Array disabled -- Plugin: ClientGeoView disabled -- Plugin: ClientGeoView2D disabled -- Plugin: ClientGraphView disabled -- Plugin: ClientHierarchyView disabled -- Plugin: ClientRecordView disabled -- Plugin: ClientTableView disabled -- Plugin: ClientTreeView disabled -- Plugin: CommonToolbar disabled -- Plugin: Cosmology Filters disabled -- Plugin: GraphLayoutFilterPanel disabled -- Plugin: Infovis disabled -- Plugin: Filters for Flux and Circulation Fields enabled -- Plugin: netCDFReaders disabled -- Plugin: Prism enabled CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. -- Plugin: Point Sprites enabled CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. -- Plugin: pvblot disabled -- Plugin: SLACTools disabled -- Plugin: SQLDatabaseGraphSourcePanel disabled -- Plugin: SQLDatabaseTableSourcePanel disabled -- Plugin: SplitTableFieldPanel disabled -- Plugin: StatisticsToolbar disabled -- Plugin: TableToGraphPanel disabled -- Plugin: TableToSparseArrayPanel disabled -- Plugin: ThresholdTablePanel disabled -- Plugin: ClientGraphViewFrame disabled -- Plugin: VisItReaderPlugin disabled -- Application: Standard ParaView Client enabled CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. -- Application: OverView Informatics Client disabled -- Application: Streaming ParaView Application disabled -- Configuring development install... -- Configuring incomplete, errors occurred! Starting make make: *** Nie podano obiektów i nie znaleziono makefile. Stop. Command exited with non-zero status 2 0.00user 0.01system 0:00.00elapsed 200%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (0major+340minor)pagefaults 0swaps Done make For quicker development, linking lib/paraview-3.6/ -> bin/ Creating html documentation make: *** Brak reguł do wykonania obiektu `HTMLDocumentation'. Stop. Installing ParaView to /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc disabled 'make install' for now, just use links --- Installation complete Set environment variables: export ParaView_INST_DIR=/home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1 export ParaView_DIR=/home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc export PV_PLUGIN_PATH=/home/piotr/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt export PATH=$ParaView_DIR/bin:$PATH --- -- Replacing path hard links for $ParaView_DIR *.cmake: ############## -- Replacing path hard links for $ParaView_INST_DIR *.cmake: ############################ -- Replacing path hard links for $WM_COMPILER_DIR *cmake*: done That's funny under Ubuntu 8.10 or 9.04 mostly I had problem with the right version of Qt here with compiler |
|
October 28, 2009, 09:07 |
|
#5 | |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
It actually looks like a cmake error
Quote:
|
||
October 28, 2009, 09:08 |
|
#6 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Also, did you have a look at the cookbook discussion?
|
|
October 31, 2009, 10:08 |
|
#7 |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
I'm trying to solve the installation problem on Ubuntu 9.10 64bit as well.
This is what happens when running ./Allwmake Code:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: OPENGL_INCLUDE_DIR used as include directory in directory /home/sega/OpenFOAM/OpenFOAM-1.6/applications/utilities/postProcessing/graphics/PV3FoamReader/PV3FoamReader -- Configuring incomplete, errors occurred!
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
|
October 31, 2009, 10:22 |
|
#8 |
Member
Piotr Prusinski
Join Date: Oct 2009
Location: Warsaw, Poland
Posts: 67
Rep Power: 17 |
Hi gwierink,
I've checked your advice, I mean this one about the cookbook but problem still occurs. I haven't check changing the gcc version to the older one yet, maybe this might be the solution. I want to know that too |
|
October 31, 2009, 11:33 |
|
#9 | |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Have you installed the mesa and openGL libraries (mesa-common-dev, libqt4-opengl and libqt4-opengl-dev)? And appearantly cmake wants you to set the path in the OPENGL_INCLUDE_DIR environment variable in $HOME/OpenFOAM/OpenFOAM-1.6/applications/utilities/postProcessing/graphics/PV3FoamReader/PV3FoamReader.
Quote:
Regards, Gijs |
||
October 31, 2009, 11:55 |
|
#10 |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
I will give it a try. But set the OPENGL_INCLUDE_DIR to what?
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
|
October 31, 2009, 14:50 |
|
#11 |
Member
Piotr Prusinski
Join Date: Oct 2009
Location: Warsaw, Poland
Posts: 67
Rep Power: 17 |
So, I found the source of my problem. And there is even quite simple solution for it. The problem is not the lacking of some libraries but wrong linking. So what you need to do is just:
Code:
cd /home/USER_NAME/OpenFOAM/ThirdParty-1.6.x/gcc-4.3.3/platforms/linux64/lib64 sudo mv libstdc++.so.6 libstdc++.so.6.orig sudo ln -s /usr/lib/libstdc++.so.6.0.10 libstdc++.so.6 sudo mv libgcc_s.so.1 libgcc_s.so.1.orig sudo ln -s /lib/libgcc_s.so.1 Unfortunately after all, I still can't see anything in paraView ;/ I mean what I can see is Mesh Parts and Volume Fields pointed out, but after clicking Apply there is nothing going on. Just like on the picture: http://www.fotka.pl/duza_fotka.php?f...e=1&album_nr=2 Any new advices? |
|
October 31, 2009, 21:48 |
|
#12 |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
Maybe you should try to disable the desktop effects of Ubuntu to avoid such problems.
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
|
November 1, 2009, 09:42 |
|
#13 |
Member
Piotr Prusinski
Join Date: Oct 2009
Location: Warsaw, Poland
Posts: 67
Rep Power: 17 |
nope, I don't use any desktop effects by default. That's why it's so strange...
The only one thing which is coming to my head now is maybe I use wrong version of Qt? Code:
QMake version 2.01a Using Qt version 4.5.2 in /usr/lib |
|
November 2, 2009, 03:58 |
|
#14 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
||
November 2, 2009, 10:34 |
|
#15 |
Member
Piotr Prusinski
Join Date: Oct 2009
Location: Warsaw, Poland
Posts: 67
Rep Power: 17 |
Still no luck on my side. I was trying many things already, I've recompile paraView to the 4.3.5 version as suggested on the OF website I added some new OPENGL libraries, but I can't still see anything in the cavity case. I'm clueless...
I found something strange. Actually I wanted to see one of my older cases that I done on other hardware. And when I ran paraFoam for this I've got some picture of my object, which looks like here: http://www.fotka.pl/duza_fotka.php?f...e=1&album_nr=2 But it suppose to be the cylindrical shape, since it's kind of a tank/vessel!!! Maybe I still need some other library. What is even more interesting I've installed OF for windows from http://sourceforge.net/projects/openfoam-mswin/ . And my object looks properly as it should be. The only one problem is that I can't see the whole object due to allocation of memory under windows, but even though I wanna use Ubuntu for my calculations. What do you think? Do I need some special libraries? |
|
November 2, 2009, 11:23 |
|
#16 | |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
Quote:
But WHERE do I have to specify this OPENGL_INCLUDE_DIR variable? The location mentioned by you is a directory!
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
||
November 2, 2009, 11:25 |
|
#17 |
Member
Piotr Prusinski
Join Date: Oct 2009
Location: Warsaw, Poland
Posts: 67
Rep Power: 17 |
Problem solved thanks to:
http://www.cfd-online.com/Forums/ope...-paraview.html one line can make a change. If you are using Ubuntu with different language support than english use this: Code:
export LC_ALL=C |
|
November 2, 2009, 11:58 |
|
#18 | |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Quote:
|
||
November 3, 2009, 12:17 |
|
#19 | |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
Quote:
I have installed every library from the post! Are you sure I have to compile cmake? I'm sure this will cause trouble ... Will get back to you!
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
||
November 3, 2009, 12:31 |
|
#20 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Hmm, that's strange, I do have that directory. But anyways, I compiled cmake myself, without any problem. I'm sorry, but I'm not sure whether I can really help you further with this ....
|
|
Tags |
64bit, glibcxx_3.4.11, ubuntu 9.10 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problems in compiling paraview in Suse 10.3 platform | chiven | OpenFOAM Installation | 3 | December 1, 2009 08:21 |
Problems Installing OF 1.6 32 bit | bucksfan | OpenFOAM Installation | 19 | August 4, 2009 02:36 |
OpenFOAM15 installables are incomplete problem with paraFoam | tryingof | OpenFOAM Bugs | 17 | December 7, 2008 05:41 |
Problem of compilation OF 14Allwmake command not found | erik_d | OpenFOAM Bugs | 13 | September 13, 2008 22:45 |
Regarding FoamX running Kindly help out | hariya03 | OpenFOAM Pre-Processing | 0 | April 18, 2008 05:26 |