Wanting to install swimp on my mac for coin but have been getting unsupport file format errors.
Darwin Kernel Version 10.8.0: Tue Jun 7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64
Just keeping it simple with:
./configure --disable-binbundle LDFLAGS="-L/Users/zofia/EFPTools/lib -I/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/include" CPPFLAGS="-I/Users/zofia/EFPTools/src/Cbc-2.4.0/include -I/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/include -I/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers"
and then
make forcegen
make -C iface forcegen
/bin/rm -f *_wrap.cxx
make
Making all in perftest
/bin/sh ../../libtool --tag=CXX --mode=link g++ -m64 -arch x86_64 -L/Users/zofia/EFPTools/lib -I/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/include -o setVectorPerf setVectorPerf.o -lCoinUtils -L./../../coin
libtool: link: g++ -m64 -arch x86_64 -I/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/include -o setVectorPerf setVectorPerf.o -Wl,-bind_at_load -L/Users/zofia/EFPTools/lib -lCoinUtils -L./../../coin
ld: warning: in setVectorPerf.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in /Users/zofia/EFPTools/lib/libCoinUtils.so, file was built for unsupported file format which is not the architecture being linked (x86_64)
Undefined symbols:
"_main", referenced from:
start in crt1.10.5.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: [setVectorPerf] Error 1
make[2]: [all-recursive] Error 1
make[1]: [forcegen] Error 2
make: [forcegen] Error 2
had similar errors when trying to follow instructions to install EFPTools (just a software
featured in an academic paper which happens to use swIMP)
http://users.minet.uni-jena.de/~m3kach/EFPA/
I've tried it with my mac kernel being set to both i386 and x86_64 and also have been playing with -arch and -m32 and -m64 but the results are inconsistent.
any obvious suggestions?
thanks,
Zofia