Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libdiscon compiled but could not be loaded by OpenFAST on Windows #11

Closed
eolerx opened this issue Jun 8, 2020 · 3 comments
Closed

libdiscon compiled but could not be loaded by OpenFAST on Windows #11

eolerx opened this issue Jun 8, 2020 · 3 comments

Comments

@eolerx
Copy link

eolerx commented Jun 8, 2020

I am trying to compile the ROSCO controller on Windows 10 x64 with the following tools:

However, I am getting the following error when running the compiled DLL in OpenFAST:
FAST_InitializeAll:SrvD_Init:BladedInterface_Init:The dynamic library ..\..\ROSCO\build\libdiscon.dll could not be loaded. Check that the file exists in the specified location and that it is compiled for 64-bit applications.

Do you know how to resolve this issue ?

FYI, compiling ROSCO on UNIX systems is extremely easy but rather tedious on Windows, even when using Anaconda and the ROSCO toolbox.

@eolerx
Copy link
Author

eolerx commented Jun 8, 2020

Resolved -- 32bit instead of 64bit mingw-w64 installed

@si-ctrl
Copy link

si-ctrl commented Mar 31, 2023

Dear eolerx,

I´ve got the same issue. Would you mind sharing the file?

Thanks

@dzalkind
Copy link
Collaborator

Hi,

Does either of the Windows (dll) binaries here work for you? https://github.com/NREL/ROSCO/releases/tag/v2.7.0

I agree with the above sentiment regarding Windows vs. Unix compiling, especially for 32-bit.

Best, Dan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants