How to use GSL in Visual Studio project?

How to use GSL in Visual Studio project? - Messages

#1 Posted: 5/6/2019 2:49:56 PM
EricLB

EricLB

0 likes in 1 posts.

Group: User

Hello...

How do I use this dlls in a MVS C# project?
I'm trying to excecute a little example using P/Invoke:

public MainWindow()
{
InitializeComponent();

double res = gsl_pow_2(5);
System.Console.WriteLine("Resultado: "+res);
}

[DllImport( "gsl32.dll" )]
private static extern double gsl_pow_2(double x);

I get a System.EntryPointNotFoundException. Am I missing something?
Regards.
  • New Posts New Posts
  • No New Posts No New Posts