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

Compiling ALGLIB with C# and Visual Studio Problem
http://forum.alglib.net/viewtopic.php?f=2&t=32
Page 1 of 1

Author:  Tyler Durden [ Wed Jun 23, 2010 7:56 am ]
Post subject:  Compiling ALGLIB with C# and Visual Studio Problem

Hello!
I'm a ALGLIB newbie and I can't compile the C# files!
I have configured the PATH to point to the csc.exe file but when I run: build.bat csc it says: Unknown compiler!

What am I doing wrong?

I also tried to import all .cs file in my project but I get a lot of warnings about unreachable code and uninitiated variables.

Could someone enlight me please?

/Tyler

Author:  Sergey.Bochkanov [ Wed Jun 23, 2010 8:44 am ]
Post subject:  Re: Compiling ALGLIB with C# and Visual Studio Problem

Could you help me with debugging build.bat file? Find GOTO lbl_3___error line, place ECHO "%~1" before it. Execute "build.bat csc". What it outputs?

As for using ALGLIB, you can just include it into your project. Warnings can be just ignored because all issues are not significant (unreachable code and unused variables, not uninitialized).

Author:  Tyler Durden [ Wed Jun 23, 2010 9:21 am ]
Post subject:  Re: Compiling ALGLIB with C# and Visual Studio Problem

Hi again!
Problem solved! I had to re-install the whole package, re-start computer, re-enter the path variable and re-try!
Ugh, computers! But, it works.

Thanks!

Author:  Sergey.Bochkanov [ Wed Jun 23, 2010 10:02 am ]
Post subject:  Re: Compiling ALGLIB with C# and Visual Studio Problem

Tyler Durden wrote:
Problem solved! I had to re-install the whole package, re-start computer, re-enter the path variable and re-try!
Ugh, computers! But, it works.

Long ago at CS class I was told that "computers are deterministic machines". However, it doesn't corresponds with your observations :)

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