Re: Quantlib-SWIG
Posted by
Luigi Ballabio on
Jun 26, 2017; 9:27am
URL: http://quantlib.414.s1.nabble.com/Quantlib-SWIG-tp18355p18357.html
Hello,
did you try to compile from a released archive or a git clone? It looks like, for some reason, make is trying to (re)generate the wrapper code. The errors are because ./configure didn't find swig, and now it's replacing it with a null string so "swig -csharp" becomes "-csharp" and make tries to execute that.
As for Ruby: I haven't been able to make that work for a while, but I haven't tackled the problem since I'm not a Ruby programmer. It would be great if you managed to fix the build.
Hope this helps,
Luigi
On Sun, Jun 25, 2017 at 7:06 PM Die Optimisten <
[hidden email]> wrote:
Hi,
I tried to compile latest (stable) Ver 1.10;
because logfiles are large, I attached them:
log.txt;: stdout/stderr
config.log settings-Output
Why is CSharp compiled, when --disabled ?
Do others depend on this?
I disabled it because of
csharp -c++ -outdir csharp -namespace QuantLib -o
cpp/quantlib_wrap.cpp ../SWIG/quantlib.i
error CS2007: Unrecognized command-line option: `-c++'
USING Linux Debian
------
guile: command not found # Whats THAT for??
(Err 127) -- ignored # ok
------
java -c++ -outdir org/quantlib \
-package org.quantlib -o quantlib_wrap.cpp ../SWIG/quantlib.i
Unrecognized option: -c++
Error: Could not create the Java Virtual Machine.
But:
$ java -version
java version "1.7.0_131"
OpenJDK Runtime Environment (IcedTea 2.6.9) (7u131-2.6.9-2~deb7u1)
OpenJDK 64-Bit Server VM (build 24.131-b00, mixed mode)
-----------
Python:
creating build/temp.linux-x86_64-2.7/QuantLib
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c
QuantLib/quantlib_wrap.cpp -o
build/temp.linux-x86_64-2.7/QuantLib/quantlib_wrap.o -Wno-unused -g -O2
-fno-strict-aliasing -Wno-unused -Wno-uninitialized -Wno-sign-compare
-Wno-write-strings
gcc: error: QuantLib/quantlib_wrap.cpp: No such file or directory
gcc: fatal error: no input files
compilation terminated.
error: command 'gcc' failed with exit status 4
------------
R:
/bin/bash: r: command not found
make[1]: [src/QuantLib.cpp] Error 127 (ignored)
mv src/QuantLib.R R/
mv: cannot stat `src/QuantLib.R': No such file or directory
make[1]: *** [src/QuantLib.cpp] Error 1
make[1]: Leaving directory
`/mnt/A4/TmpTmp-Anschauen/Filme/Temp/X/QuantLib/QuantLib-SWIG-1.10/R'
make: *** [all-recursive] Error 1
=> after all except Ruby are disabled!!
What is wrong here?
-- Thanks Andrew --
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!
http://sdm.link/slashdot_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev