[Insight-developers] ITKApps Superbuild
Bill Lorensen
bill.lorensen at gmail.com
Tue Jan 24 16:11:11 EST 2012
Does your External-FLTK.camke have these lines?
if(CMAKE_COMPILER_IS_GNUCXX)
set(EXTRA_LIBRARIES "-DCMAKE_EXE_LINKER_FLAGS:STRING=-ldl")
endif()
On Tue, Jan 24, 2012 at 9:30 AM, Rupert Brooks <rupert.brooks at gmail.com> wrote:
> (whoops, i didnt meant to takethis off list)
>
> You were correct, path limitations were stopping the build. It builds
> for me with VS2005 now, but i shortened the path down to c:/ia/build
>
> It would be more correct to say it almost builds - The superbuild has
> a problem, in that the ITKApps did not configure correctly because it
> could not find FLTK. I manually set the FLTK dir in the cmake of the
> itkApps build directory, and now it seems to be going well. This is
> still far less work than manually getting tweaking and building
> everything.
>
> It might be worth noting that an out of the box attempt to build on
> Ubuntu 11.10 64 bit also failed, with the following error.
>
> /usr/bin/ld: ../lib/libfltk.a(Fl_x.cxx.o): undefined reference to
> symbol 'dlsym@@GLIBC_2.2.5'
> /usr/bin/ld: note: 'dlsym@@GLIBC_2.2.5' is defined in DSO
> /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu/libdl.so
> so try adding it to the linker command line
> /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu/libdl.so:
> could not read symbols: Invalid operation
>
> Unless you really want me to try and track this down I might switch to
> an system FLTK on Ubuntu anyway, i was just curious if it would build.
>
> Cheers,
> Rupert
>
> --------------------------------------------------------------
> Rupert Brooks
> rupert.brooks at gmail.com
>
>
>
> On Mon, Jan 23, 2012 at 16:08, Rupert Brooks <rupert.brooks at gmail.com> wrote:
>> its VS8
>>
>> I'm retrying with a shorter path. I had similar, but not identical
>> problems with the wiki superbuild. It was in a similar path so
>> perhaps the same applies. Will let you know how it goes.
>>
>> Rupert
>> --------------------------------------------------------------
>> Rupert Brooks
>> rupert.brooks at gmail.com
>>
>>
>>
>> On Mon, Jan 23, 2012 at 14:17, Bill Lorensen <bill.lorensen at gmail.com> wrote:
>>> May be a file path length problem. Windows has issues with long paths.
>>> Can again with a shorter initial path?
>>>
>>> maybe c:/Brooks/itkA-Superbuild?
>>>
>>> On Mon, Jan 23, 2012 at 2:12 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
>>>> Rupert,
>>>>
>>>> Thanks, I'll take a look. Visual Studio 2005 is what version? VS7.1, VS8?
>>>>
>>>> On Mon, Jan 23, 2012 at 1:53 PM, Rupert Brooks <rupert.brooks at gmail.com> wrote:
>>>>> Hi Bill,
>>>>>
>>>>> I tested this with Visual Studio 2005, on Windows XP 32-bit.
>>>>> Unfortunately, i did not have success. Theres a number of itk compile
>>>>> errors. I put the full output at http://pastebin.com/NkPuZmh6
>>>>>
>>>>> I assume its downloading a specific revision of ITK? So these errors
>>>>> in compile should not be there - i can try with a separate build of
>>>>> ITK if this would help. Let me know.
>>>>>
>>>>> Rupert
>>>>>
>>>>> --------------------------------------------------------------
>>>>> Rupert Brooks
>>>>> rupert.brooks at gmail.com
>>>>
>>>>
>>>>
>>>> --
>>>> Unpaid intern in BillsBasement at noware dot com
>>>
>>>
>>>
>>> --
>>> Unpaid intern in BillsBasement at noware dot com
--
Unpaid intern in BillsBasement at noware dot com
More information about the Insight-developers
mailing list