help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Install Image package on Mac OS X


From: pm
Subject: Re: Install Image package on Mac OS X
Date: Thu, 23 Sep 2010 17:34:17 -0700 (PDT)

Hello,

thank you very much for all your answers. Actually I re-installed XCode
first to have 'make' because I needed it anyway to install fink. I also
installed gfortran as you advised. 
After I tried to install image package and it didn't work:

I had this kind of warning:
ld: warning: in
/Applications/Octave.app/Contents/Resources/bin/octave-3.2.3, file was built
for i386 which is not the architecture being linked (x86_64)

after a bunch of lines like:
Undefined symbols:
  "intNDArray<octave_int<signed char> >::increment_index(Array<int>&,
dim_vector const&, int)", referenced from:
      octave_value_list do_filtering<intNDArray<octave_int<signed char> >,
octave_int<signed char>, intNDArray<octave_int<signed char> >,
octave_int<signed char> >(intNDArray<octave_int<signed char> > const&,
boolNDArray const&, octave_int<signed char> (*)(intNDArray<octave_int<signed
char> >&, int, int), intNDArray<octave_int

and at the end:

ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [__spatial_filtering__.oct] Error 1
'make' returned the following error: mkoctfile -Wall
__spatial_filtering__.cc
error: called from `pkg>configure_make' in file
/Applications/Octave.app/Contents/Resources/share/octave/3.2.3/m/pkg/pkg.m
near line 1253, column 2
error: called from:
error:  
/Applications/Octave.app/Contents/Resources/share/octave/3.2.3/m/pkg/pkg.m
at line 714, column 5
error:  
/Applications/Octave.app/Contents/Resources/share/octave/3.2.3/m/pkg/pkg.m
at line 287, column 7



I assumed that it came from the fact that I used a binary file Octave
i386.dmg whereas I have a computer x86_64. So I guess that 'make' compiles
some files using the architecture x86_64, but I think it could be possible
to compile files for i836? How can I force 'make' to do that? Or do you
think the problem doesn't come from this?

Thanks,

-- 
View this message in context: 
http://octave.1599824.n4.nabble.com/Install-Image-package-on-Mac-OS-X-tp2551165p2552925.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]