From: Andreas L. <and...@ca...> - 2023-01-11 17:19:15
|
Hi Luigi! Seems like it is installed. ~ > /usr/local/Cellar/quantlib/1.28/bin/quantlib-config --libs --cflags -L/usr/local/Cellar/quantlib/1.28/lib -lQuantLib -I/usr/local/Cellar/quantlib/1.28/include -std=c++14 /Andreas ________________________________ From: Luigi Ballabio <lui...@gm...> Sent: Wednesday, January 11, 2023 17:39 To: Andreas Lindh <and...@ca...> Cc: qua...@li... <qua...@li...> Subject: Re: [Quantlib-dev] Segmentation fault on 1.28 on MacOSX Hello, I had it working, but I had compiled it myself -- I didn't try the version from homebrew. Does `brew install quantlib` also install a `quantlib-config` executable? If so, may you run `quantlib-config --libs --cflags` and see what it reports? Luigi On Wed, Jan 11, 2023 at 5:05 PM Andreas Lindh <and...@ca...<mailto:and...@ca...>> wrote: Apologise if this is not the correct forum. I was wondering is anyone else had issues with version 1.28 on MacOSX, or got it to work? brew install quantlib and g++ -Wall -g -std=c++1z -I/usr/local/include/ -I/usr/local/include/boost -L/usr/local/lib/ \ mycode.cpp -o mycode.exe -lQuantLib ./mycode.exe gives segmentation fault with 1.28 on MacOSX, but works fine on Linux and with WebAssembly. It worked fine with version 1.25 on MacOSX to. I cannot get gdb to work on Mac, so have no further info. /Andreas _______________________________________________ QuantLib-dev mailing list Qua...@li...<mailto:Qua...@li...> https://lists.sourceforge.net/lists/listinfo/quantlib-dev |