compiling in linux

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

compiling in linux

Pavan Shah-2
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
Reply | Threaded
Open this post in threaded view
|

Re: compiling in linux

Oleg Goldshmidt
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
Reply | Threaded
Open this post in threaded view
|

Re: compiling in linux

Pavan Shah-2
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:

> 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
Reply | Threaded
Open this post in threaded view
|

R: compiling in linux

Ballabio Gerardo-4

Learn writing makefiles. “man make” or “info make” (if you have info installed) should get you started.

 

Gerardo

 

 

Da: Pavan Shah [mailto:[hidden email]]
Inviato: mercoledì 16 gennaio 2013 22.37
A: QuantLib QuantLib
Oggetto: Re: [Quantlib-users] compiling in linux

 

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:

> 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]

 




Banca Profilo S.p.A. Corso Italia, 49 - 20122 Milano - Tel. 02 58408.1, Fax 02 5831 6057 Capitale Sociale Euro 136.794.106,00 i.v. Iscrizione al Registro Imprese di Milano, C.F. e P.IVA 09108700155 - [hidden email] Iscritta all’Albo delle Banche e dei Gruppi bancari Aderente al Fondo Interbancario di Tutela dei depositi Aderente al Conciliatore Bancario Finanziario e all’Arbitro Bancario Finanziario Appartenente al Gruppo bancario Banca Profilo e soggetta all’attività di direzione e coordinamento di Arepo BP S.p.A. DISCLAIMER: The information transmitted may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

------------------------------------------------------------------------------
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