Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Cmake problem?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Cmake problem?


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Cmake problem?
  • Date: Thu, 24 Feb 2011 08:10:14 +0100

Costas Tsirogiannis wrote:
Greetings,

I am trying to run CGAL-based code on a new Ubuntu machine. The code did not exhibit any particular bug in the platform that I've been using so far
yet now exhibits a very strange behaviour during run-time:

I do ">cmake ." on the directory of the code and I get:

First try removing the CMakeCache.txt which seems to come from
another machine.

S.

cmake .
CMake Error: The current CMakeCache.txt directory /home/constantinos/Drainage_experiments/CMakeCache.txt is different than the directory /home/kathaaria/Drainage_experiments where CMackeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
constantinos@pcwin1151:~/Drainage_experiments$
rm CMakeCache.txt
constantinos@pcwin1151:~/Drainage_experiments$
cmake .
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Build type: Release
-- USING CXXFLAGS = ' -frounding-math -O3 -DNDEBUG'
-- USING EXEFLAGS = ' '
-- Targetting Unix Makefiles
-- Using /usr/bin/c++ compiler.
-- Configuring done
WARNING: Target "benchmark_example" requests linking to directory "/usr/local/lib/". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "benchmark_example" requests linking to directory "/usr/local/lib/". Targets may link only to libraries. CMake is dropping the item.
-- Generating done
-- Build files have been written to: /home/constantinos/Drainage_experiments

The two last warnings where not the case in the previous platform.
After running "make" the executable is indeed created but at run-time the program gets stuck at a point where no actual computation
takes place. Is it possible to draw any conclusions of what might be wrong there, or should I provide a simple code example (that is going to be tricky)?

thanks

Constantinos







Archive powered by MHonArc 2.6.16.

Top of Page