team, I am trying to compile in linux machine. However, when I try to compile, it tells me that it can't find "ql\quantlib.hpp" .
I know there isn't anything wrong in the code because I was able to compile the same code on my windows machine using Visual Studio. I am using this line to compile g++ -c file1.cpp -lQuantLib I have been to able to compile other files using this similar syntax. And my previous (successfully compiled) files also have the same include directive as this file1.cpp
#include <ql\quantlib.hpp> why is it complaining this time?
I am compiling from the same directory where previous files have been compiled. the terminal gives me an error: ql\quantlib.hpp: No such file or directory
any ideas please? thanks Pavan ------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Pavan Shah <[hidden email]> writes:
> I am trying to compile in linux machine. <snip> > the terminal gives me an error: ql\quantlib.hpp: No such file or directory > > any ideas please? Use slash rather than backslash as path separator? ;-) -- Oleg Goldshmidt | [hidden email] ------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
thanks that worked whats the best way for me to compile since I have bunch of ".h" files and their corresponding ".cpp" files using g++?
Pavan On Wed, Jan 16, 2013 at 2:50 PM, Oleg Goldshmidt <[hidden email]> wrote: <snip> ------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Learn writing makefiles. “man make” or “info make” (if you have info installed) should get you started. Gerardo Da: Pavan Shah [mailto:[hidden email]]
thanks that worked whats the best way for me to compile since I have bunch of ".h" files and their corresponding ".cpp" files using g++? Pavan On Wed, Jan 16, 2013 at 2:50 PM, Oleg Goldshmidt <[hidden email]> wrote: Pavan Shah <[hidden email]> writes: <snip>
Use slash rather than backslash as path separator? ;-)
------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Free forum by Nabble | Edit this page |