nagyistoce / platinum-image

Automatically exported from code.google.com/p/platinum-image
0 stars 0 forks source link

Build fails with GCC #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Platinumlib (static) can be built, but linking any of the applications causes 
the following error from /
user/bin/g++-4.0

collect2: ld returned 1 exit status

This issue surfaced recently, at one point a test application submitted by 
Petter failed to build, while 
the current trunk worked. This may provide some hints as to where the problem 
lies.

Original issue reported on code.google.com by arvi...@gmail.com on 18 May 2007 at 3:11

GoogleCodeExporter commented 9 years ago
This appears to be a CMake configuration error: I tried ensuring that all 3 
CMake projects (Platinum, ITK, FLTK) 
were compiled using the same compiler ( CMAKE_CXX_COMPILER:STRING=/usr/bin/c++ 
) That apparently did 
the trick - but it is unclear whether this setting had a different value before.

Original comment by arvi...@gmail.com on 21 May 2007 at 2:10