[Insight-users] configurate vxl with non-native compiler

Luis Ibanez luis . ibanez at kitware . com
Thu, 25 Sep 2003 01:08:04 -0400


Hi Feng,

You should set the environment variables

CXX = /usr/local/bin/g++
CC  = /usr/local/bin/gcc

before running ccmake.

Note the use of "g++" instead of "c++"


Regards,


   Luis



-------------
Feng Ma wrote:
> Hi,
> 
>  Sorry for posting the same question again. I managed to make it 
> compiled by changing line 77 in vxl_config.h from
> 
>   #define VXL_HAS_INT_64  @VXL_HAS_INT_64@
> 
> to
> 
>   #define VXL_HAS_INT_64 0
> 
>  It will be fine with my linux box because "int" is 32 bits here. It 
> will be good if we can fix it more elegantly (if it is a bug to fix, not 
> just some wired thing on my machine only).
> 
>  About vxl_matlab_reader.cxx: if I set CXX and CC as environment 
> variables (not just change in ccmake user interface), this file got 
> passed through without warnings.
> 
>  Thanks.
> 
> -Feng
>