[vtkusers] Re: CMake/VTK question, Mac OS X 10.2

Drew McCormack cormack at chem.vu.nl
Tue Sep 3 07:30:13 EDT 2002


I just set the following variables. It worked for me.

CMAKE_CXX_MODULE_LINK_FLAGS
CMAKE_CXX_SHLIB_LINK_FLAGS

I'm not sure if I had maybe already compiled the libraries though when 
I changed this. Sorry I can't be of more help.

Drew

On Monday, September 2, 2002, at 05:31  pm, Raphael Sebbe wrote:

> OK, I tried that manually and it works. But where should you put that 
> in CMakeCache.txt (which variable) ? I looked at it and could not find 
> a linker flag for executable-only, and does not work when linking 
> libraries.
>
> Thanks,
>
> Raphael
>
> On Wednesday, August 28, 2002, at 09:02 PM, 
> vtkusers-request at public.kitware.com wrote:
>
>> Cc: vtkusers at public.kitware.com
>> To: David Portnoy <david.portnoy at verizon.net>
>> From: Drew McCormack <cormack at chem.vu.nl>
>>
>> Yesterday a message was posted to the list with this advice:
>>
>> "Try to add -Xlinker -bind_at_load when linking the tests
>> (TimeRenderer) and your own programs."
>>
>> This worked for me. Add the options to the link options in the
>> CMakeCache.txt file, rerun cmake, and rerun make. Only the test code,
>> and your own code, needs to be remade.
>>
>> Drew
>
>
>
========================================
  Dr. Drew McCormack (Kmr. R153)
  Afd. Theoretische Chemie
  Faculteit Exacte Wetenschappen
  Vrije Universiteit Amsterdam
  De Boelelaan 1083
  1081 HV Amsterdam
  The Netherlands

  Email		cormack at chem.vu.nl
  Telephone  	+31 20 44 47623
  Mobile		+31 6 483 21307
  Fax   		+31 20 44 47629




More information about the vtkusers mailing list