Closed benjamsy closed 1 year ago
Unfortunately, this seems to be a bug which crept into recent versions of OpenModelica. I reported it at https://github.com/OpenModelica/OpenModelica/issues/10132. Not sure at which version of OpenModelica the problem started.
A workaround which works for me is adding the missing library manually in the simulation setup under C/C++ Compiler Flags (Optional): -lws2_32
:
Hi,
I get "clang: error: linker command failed with exit code 1" when compiling example TestSerialPackager_UDP.
Running on Windows 10, OpenModelica v1.20.0 (64-bit), Modelica_DeviceDrivers 2.1.1.
Everything is out-of-the-box and tested on multiple computers with the same error.
Does anyone have an solution to this problem?
Thank you.
Compilation window output: