Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] intel compiler

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] intel compiler


Chronological Thread 
  • From: Lukasz Kaczmarczyk <>
  • To:
  • Subject: Re: [cgal-discuss] intel compiler
  • Date: Thu, 2 Dec 2010 12:03:50 +0000

I solved problem by adding
-DCGAL_CXX_FLAGS="-lstdc++"

Lukasz

On 2 Dec 2010, at 11:42, Lukasz Kaczmarczyk wrote:

> Hello,
> I try to compile CGAL with intel compiler on linux, however I gat error
> CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o:(.eh_frame+0x12):
> undefined reference to `__gxx_personality_v0'
>
> Can you recommend me something. I have large number of libraries compiled
> with intel, I will like to avoid to recompile everything for gcc.
>
> Thanks for help,
> Kind Regards,
> Lukasz
>
>
> cmake -DCMAKE_INSTALL_PREFIX=/home/civil/lukasz/MyBuild/local
> -DCMAKE_CXX_COMPILER=icc -DCMAKE_C_COMPILER=icc ../
> -- The C compiler identification is Intel
> -- The CXX compiler identification is Intel
> -- Check for working C compiler:
> /storage/cm/shared/apps/intel/Compiler/11.1/046/bin/intel64/icc
> -- Check for working C compiler:
> /storage/cm/shared/apps/intel/Compiler/11.1/046/bin/intel64/icc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler:
> /storage/cm/shared/apps/intel/Compiler/11.1/046/bin/intel64/icc
> -- Check for working CXX compiler:
> /storage/cm/shared/apps/intel/Compiler/11.1/046/bin/intel64/icc -- broken
> CMake Error at
> /home/civil/lukasz/MyBuild/local/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake:25
> (MESSAGE):
> The C++ compiler
> "/storage/cm/shared/apps/intel/Compiler/11.1/046/bin/intel64/icc" is not
> able to compile a simple test program.
>
> It fails with the following output:
>
> Change Dir: /home/civil/lukasz/MyBuild/CGAL-3.7/build/CMakeFiles/CMakeTmp
>
>
>
> Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
>
> /usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make
> CMakeFiles/cmTryCompileExec.dir/build
>
> gmake[1]: Entering directory
> `/storage/home/civil/lukasz/MyBuild/CGAL-3.7/build/CMakeFiles/CMakeTmp'
>
> /home/civil/lukasz/MyBuild/local/bin/cmake -E cmake_progress_report
> /home/civil/lukasz/MyBuild/CGAL-3.7/build/CMakeFiles/CMakeTmp/CMakeFiles 1
>
> Building CXX object CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o
>
> /storage/cm/shared/apps/intel/Compiler/11.1/046/bin/intel64/icc -o
> CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o -c
>
> /home/civil/lukasz/MyBuild/CGAL-3.7/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
>
>
> Linking CXX executable cmTryCompileExec
>
> /home/civil/lukasz/MyBuild/local/bin/cmake -E cmake_link_script
> CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
>
> /storage/cm/shared/apps/intel/Compiler/11.1/046/bin/intel64/icc -fPIC
> CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o -o cmTryCompileExec
> -rdynamic
>
> CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o:(.eh_frame+0x12):
> undefined reference to `__gxx_personality_v0'
>
> gmake[1]: Leaving directory
> `/storage/home/civil/lukasz/MyBuild/CGAL-3.7/build/CMakeFiles/CMakeTmp'
>
> gmake[1]: *** [cmTryCompileExec] Error 1
>
> gmake: *** [cmTryCompileExec/fast] Error 2
>
>
>
>
>
> CMake will not be able to correctly generate this project.
> Call Stack (most recent call first):
> CMakeLists.txt:6 (project)
>
>
> -- Configuring incomplete, errors occurred!
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://lists-sop.inria.fr/wws/info/cgal-discuss
>




Archive powered by MHonArc 2.6.16.

Top of Page