You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
I am trying to compile examples from this page.
Operating system: Windows 10
Compiler: msvs 2019
Build system: cmake
GSL: tried both 2.4 and 2.6 from conda
I am getting this error: error LNK2001: unresolved external symbol gsl_odeiv2_step_rk8pd
The same example works fine on Linux.
The basic example from here works fine on Windows, so the problem is just the example above.
Can you please point out what is wrong?
Thanks
The text was updated successfully, but these errors were encountered:
Did you try building gsl from scratch using the cmake configuration we provide? This may be simply an issue of a non-exported symbol as on Linux with gcc all symbols are exported by default, but with Visual Studio you need to mark the symbols that you want to export with __declspec(dllexport) when building the library, and __declspec(dllimport) when importing.
Hello!
I am trying to compile examples from this page.
Operating system: Windows 10
Compiler: msvs 2019
Build system: cmake
GSL: tried both 2.4 and 2.6 from conda
I am getting this error:
error LNK2001: unresolved external symbol gsl_odeiv2_step_rk8pd
The same example works fine on Linux.
The basic example from here works fine on Windows, so the problem is just the example above.
Can you please point out what is wrong?
Thanks
The text was updated successfully, but these errors were encountered: