How to use GSL in Visual Studio project?

How to use GSL in Visual Studio project? - 消息

#1 已发布: 2019/5/6 14:49:56
EricLB

EricLB

0个赞,共1个帖子。

组: 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.
  • 有新帖
  • 无新帖