forum.alglib.net

ALGLIB forum
It is currently Sun Dec 22, 2024 2:27 pm

All times are UTC


Forum rules


1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: using alglib linux
PostPosted: Tue Feb 01, 2011 12:07 pm 
Offline

Joined: Tue Feb 01, 2011 11:59 am
Posts: 2
I trying to use matrix inversion functions available in alglib for my code but I'm unable to compile it.
Code:
#include "./out/inv.h"
#include "./out/blas.h"
#include "./out/ap.h"

I give the following command: $gcc matinv.cpp src/ap.cpp src/inv.cpp src/blas.cpp
but receive this error:
Code:
src/inv.cpp:27: fatal e rror: stdafx.h: No such file or directory
compilation terminated.
src/blas.cpp:21: fatal error: stdafx.h: No such file or directory
compilation terminated.

I understand that there are many more functions which are being used and I'm missing those .cpp files but is there a way to pass all the .cpp files in directory src/ to the compiler. Please help.

Thanks,
Ankush.


Top
 Profile  
 
 Post subject: Re: using alglib linux
PostPosted: Wed Feb 02, 2011 7:02 pm 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
You have to create empty stdafx.h in your current directory or to add "/src" (which contains one) to your search path for include files


Top
 Profile  
 
 Post subject: Re: using alglib linux
PostPosted: Wed Feb 02, 2011 7:11 pm 
Offline

Joined: Tue Feb 01, 2011 11:59 am
Posts: 2
Thank you for your response Sergey. I guess I'd been using the old release version of alglib and when I use the new version, the problem disappears. Many thanks for alglib.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 41 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group