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: Costas Tsirogiannis <>
  • To:
  • Subject: Re: [cgal-discuss] Cmake problem?
  • Date: Thu, 24 Feb 2011 11:38:52 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=DYKeZE3dIKmyKjpFgf8v6Y/ODvfGd3JnJ4l53plTZJljyb8bbVoJ+qZGHJ7rCkPJtv BQuVX4BkzgxjTZFfCn8VVvoT5JsN3BijWcGBHwHPSjxAe/oJQ1/zIJ6FaFvrB5dwm6lo JqKqUzCrTbd94SMADuqDOYZ+VW/B27Rbv0KMg=

>  First try removing the CMakeCache.txt

I've done this, otherwise cmake does not run.

On Thu, Feb 24, 2011 at 8:10 AM, Sebastien Loriot (GeometryFactory) <sloriot.ml@gmail.com> wrote:
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





--
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