Login  Register

compiling in linux

Posted by Pavan Shah-2 on Jan 16, 2013; 6:39pm
URL: http://quantlib.414.s1.nabble.com/compiling-in-linux-tp13918.html

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