Hello everybody, after building boost 1.55 with mingw I failed to build QL 1.0 on a windows machine.Hopefully, someone can help me out. Here is what I did:Using MSYS and executing the following snippet in the folder of QL: configure --with-boost-include=c:/boost_1_55_0 --prefix=c:/somepath make But unfortunately make throws an error: $ make cd . && /bin/sh /home/Administrator/QuantLib-1.0/config/missing --run autoconf /c/MinGW/bin/autoconf-2.68: line 501: /mingw/bin/autom4te-2.68: No such file or directory /c/MinGW/bin/autoconf-2.68: line 501: exec: /mingw/bin/autom4te-2.68: cannot execute: No such file or directory make: *** [configure] Error 1 Does anyone uses mingw in order to build QuantLib? (Un)fortunately, I dont have VS available. So I am forced to use another compiler and environment. Many thanks Stephan ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
I'm sorry, but I can't help you with mingw. I have, however, built QuantLib successfully using the Code::Blocks IDE. In fact, I prefer it because of its lower memory usage, but debugging is more difficult. In Code::Blocks, you can choose which compiler you want to use, and you can still choose Microsoft C++ compiler. I think the standalone compiler is part of the Microsoft Windows SDK download. And although I haven't tried it, isn't there a free version of Microsoft Visual C++ (Express?) available? regards Francois Botha
On 7 September 2014 23:23, stephan buschmann <[hidden email]> wrote:
------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Hello !
After many research on many forums I am still having difficulties installing quantlib with codeblocks :(. I have already installed Boost (but also minwg and msys if it is of any help) and i would really be grateful if you could tell how you have managed to install quantlib in code blocks, and how you did so without using mingw or msys :) Many thanks Alexey |
Hello Alexey,
where did the problem occur exactly?
I managed to compile QL using codeblocks. It was not very difficult. But linking fails because there are too many object files in the project. Unfortunately I had no time to overcome this (hopefully) last barrier. The basic idead is to pass a text file to the linker containing all object files instead of passing all the single files as an argument.
Hope this helps,
stephan
On Sat, Sep 20, 2014 at 7:25 PM, Alexey <[hidden email]> wrote: Hello ! ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Hi, QuantLib won't build on Code::Blocks out of the box. See this ticket: https://sourceforge.net/p/codeblocks/tickets/23/ - I think this problem also manifests on Dev-C++ IDE. As a workaround, I created a separate compiler profile which builds up a response file ( http://support.microsoft.com/kb/40429/en-gb ) (the list of .obj files) and passes this file to the linker, instead of trying to link an incredibly long argument list. I think it's a terrible hack, but it works. So what I did was:
This hack is required only for the QuantLib project. The other example projects and test suite should work using the usual MSVC++ compiler setup. (Sorry, Stephan, I know I promised you this a while ago.) But given all this effort, isn't it easier to try to get it working in Microsoft Visual Studio Express rather? The reason I used Code::Blocks was because I'm stranded with a low resource office PC and Code::Blocks is just more RAM efficient than VS. There are also other problems with the above approach, e.g. if objects are removed from the project, you'll have to clean the objects directory first or the linker might try to link it again. regards Francois Botha
On 25 September 2014 11:58, stephan buschmann <[hidden email]> wrote:
------------------------------------------------------------------------------ Slashdot TV. Videos for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users QuantLib_vc10.cbp (183K) Download Attachment |
Free forum by Nabble | Edit this page |