How to use GSL in Visual Studio project?

How to use GSL in Visual Studio project? - Mensajes

#1 Publicado: 6/5/2019 14:49:56
EricLB

EricLB

0 me gusta en 1 mensajes.

Grupo: 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.
  • Nuevos mensajes
  • Sin mensajes nuevos