From: Luca F. <luc...@ho...> - 2012-10-01 07:49:16
|
Hi to all, this is my very first question about swig. I am using cygwin, latest release. I have followed the instruction to compile and install swig and it seems to work. I went to the callback example directory and typed make and got the following result: $ make make -f ../../Makefile CXXSRCS='example.cxx' SWIG='../../../preinst-swig' \ SWIGOPT='' TARGET='example' INTERFACE='example.i' java_cpp make[1]: ingresso nella directory "/cygdrive/d/development/swigwin-2.0.8/examples/java/callback" ../../../preinst-swig -java -c++ example.i g++ -c -mno-cygwin -mthreads example.cxx example_wrap.cxx -I"c:/Program Files/Java/jdk1.7.0_02/include" -I"c:/Program Files/Java/jdk1.7.0_02/include/win32" g++: The -mno-cygwin flag has been removed; use a mingw-targeted cross-compiler. ../../Makefile:500: recipe for target `java_cpp' failed make[1]: *** [java_cpp] Error 1 make[1]: uscita dalla directory "/cygdrive/d/development/swigwin-2.0.8/examples/java/callback" Makefile:11: recipe for target `java' failed make: *** [java] Error 2 Luca@Luca-PC /cygdrive/d/development/swigwin-2.0.8/examples/java/callback I was unable to find useful informations on the net. I hope you can help me. Thanks, Luke |