Dev-c++ 4.9.9.0 wouldn't compile version 0.3.8

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Dev-c++ 4.9.9.0 wouldn't compile version 0.3.8

Xiaofeng Zheng
Every time I tried to build the QuantLib project, a message that says
"Could not create Makefile!!" pops out. The following are the complete
compile log.

=========
Compiler: Default compiler
Building Makefile: "D:\ThirdParty\QuantLib\Makefile.win"
Executing  make...
make.exe -f "D:\ThirdParty\QuantLib\Makefile.win" all
make.exe: *** No rule to make target `all'.  Stop.

Execution terminated
========

In the QuantLib folder, a new but empty file, Makefile.win, is created.

I am running Window XP SP1 and using the out-of-box setting of
Dev-c++. I had no problem with compiling the examples that come with
Dev-c++. And I have double-checked the write permission of the
QuantLib folder (and subfolders).

Now I am really baffled. I guess I could start a new project and keep
adding all the quantlib files into it. Before I start doing that,
which is kind of tedious, I thought I could ask around to see if there
is an obvious answer.

Thanks a lot. Happy new year.


Reply | Threaded
Open this post in threaded view
|

RE: Dev-c++ 4.9.9.0 wouldn't compile version 0.3.8

cuchulainn
[Quantlib-users] Dev-c++ 4.9.9.0 wouldn't compile version 0.3.8
Why worry about a makefile in the first place????? I never use them


From: [hidden email] on behalf of Xiaofeng Zheng
Sent: Sat 25/12/2004 14:51
To: QuantLib users
Subject: [Quantlib-users] Dev-c++ 4.9.9.0 wouldn't compile version 0.3.8

Every time I tried to build the QuantLib project, a message that says
"Could not create Makefile!!" pops out. The following are the complete
compile log.

=========
Compiler: Default compiler
Building Makefile: "D:\ThirdParty\QuantLib\Makefile.win"
Executing  make...
make.exe -f "D:\ThirdParty\QuantLib\Makefile.win" all
make.exe: *** No rule to make target `all'.  Stop.

Execution terminated
========

In the QuantLib folder, a new but empty file, Makefile.win, is created.

I am running Window XP SP1 and using the out-of-box setting of
Dev-c++. I had no problem with compiling the examples that come with
Dev-c++. And I have double-checked the write permission of the
QuantLib folder (and subfolders).

Now I am really baffled. I guess I could start a new project and keep
adding all the quantlib files into it. Before I start doing that,
which is kind of tedious, I thought I could ask around to see if there
is an obvious answer.

Thanks a lot. Happy new year.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Quantlib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users

Reply | Threaded
Open this post in threaded view
|

Re: Dev-c++ 4.9.9.0 wouldn't compile version 0.3.8

Ferdinando M. Ametrano-3
In reply to this post by Xiaofeng Zheng
At 02:51 PM 12/25/2004, Xiaofeng Zheng wrote:
>Every time I tried to build the QuantLib project, a message that says
>"Could not create Makefile!!" pops out. The following are the complete
>compile log.
>[...]
>In the QuantLib folder, a new but empty file, Makefile.win, is created.

I also had this problem a couple of times. The good news: you just need to
make it work once, and the problem won't reappear. The bad news:
unfortunately I'm not sure what I actually did to solve it.

Few suggestions which might help you:
- try with "Compile (Ctrl+F9)" instead of "Rebuild all (Ctrl+F11)"
- close Dev-C++, edit the "Makefile.win" file, add a blank line to it, save
it. Now try again with Dev-C++

I've googled around for a "standard" solution with no luck. The best I've
found is http://forums.devshed.com/t205272/s.html, but I didn't need to
reinstall anything to solve the problem.

ciao -- Nando