Comments (4)
I thought thats what this line does. How are you looking to see the other symbols exported in the DLL? I'm not too familiar with building software on Windows, but I can try to find a good solution for this. Ideally, these files are autogenerated by CMake or this information is implicit in the code.
from rosco.
OK, I may have got this wrong. I'd been building with -DIMPLICIT_DLLEXPORT
which I had just picked up from
if(APPLE OR UNIX)
if (CMAKE_Fortran_COMPILER_ID STREQUAL "Intel")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -DIMPLICIT_DLLEXPORT ")
else()
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -DIMPLICIT_DLLEXPORT -ffree-line-length-0")
endif()
endif()
But that results in all symbols being exported, which isn't what you want.
What I will do is look at the openfast CMakeLists.txt
as you suggested on my other issue and see if I can come up with something definitive.
from rosco.
Right, my understanding of this was that Windows needs the explicit export preprocessor directive to export any symbols in a DLL. I thought that the default was to export no symbols on Windows, but I may be wrong.
from rosco.
Yeah, I've confirmed that my mistake was using -DIMPLICIT_DLLEXPORT
.
I'm pretty sure that what is needed, at least for an MSYS2 build under mingw-w64 is:
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -ffree-line-length-0 -static-libgcc -static-libgfortran -static")
from rosco.
Related Issues (20)
- ZeroMQ client not properly installed | Example 17 HOT 25
- AWC doesn't check PtchControl in OpenFAST
- Wind/Rotor misalignment and estimated wind speed
- Why does the 5MW FOWTs not have nacelle velocity proportional feedback (Fl_Kp) ? HOT 1
- Update installation instructions for Windows HOT 4
- Individual pitch control (IPC) tuning, example "12_tune_ipc.py" HOT 3
- IEA-15MW model requires update HOT 1
- ROSCO wind speed estimation differs from the input by a significant amount HOT 1
- Error while installing ROSCO complitly on Windows 11 HOT 5
- read beamdyn? HOT 8
- Inconsistent behaviour of the yaw module HOT 2
- pip install -e . not working as intended on Windows HOT 2
- Output timestep in wfc_controller HOT 3
- K omega**2 control, definition of K HOT 1
- Additional Measurement Outputs from OpenFAST via zeromq HOT 1
- Invalid tag on 2.9.1? HOT 2
- The acquisition of PI parameters in torque control HOT 2
- Missing 32-bit Windows Libraries
- Is ROSCO safe for multiprocessing? HOT 2
- add wintypes to the ctypes import HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rosco.