forum.alglib.net
http://forum.alglib.net/

using alglib linux
http://forum.alglib.net/viewtopic.php?f=2&t=289
Page 1 of 1

Author:  ankush1983 [ Tue Feb 01, 2011 12:07 pm ]
Post subject:  using alglib linux

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.

Author:  Sergey.Bochkanov [ Wed Feb 02, 2011 7:02 pm ]
Post subject:  Re: using alglib linux

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

Author:  ankush1983 [ Wed Feb 02, 2011 7:11 pm ]
Post subject:  Re: using alglib linux

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.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/