How to use GSL in Visual Studio project?

How to use GSL in Visual Studio project? - Messaggi

#1 Pubblicato: 06/05/2019 14:49:56
EricLB

EricLB

0 apprezzamenti in 1 post.

Gruppo: 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.
  • Nuovi post
  • Nessun nuovo post