cellml / libcellml

Repository for libCellML development.
https://libcellml.org
Apache License 2.0
17 stars 21 forks source link

Windows build fails when linking CXX executable libcellml.js #945

Open Moop204 opened 3 years ago

Moop204 commented 3 years ago

When building using the MinGW generator on Windows 10 I get this error when running the final make command. The emcmake command ran without errors just before. I ran the make command inside the 'build-libcellml-release' folder.

Consolidate compiler generated dependencies of target cellml
[ 54%] Built target cellml
Consolidate compiler generated dependencies of target cellml_debug_utilities
[ 57%] Built target cellml_debug_utilities
Consolidate compiler generated dependencies of target javascript-bindings
[ 97%] Built target javascript-bindings
[ 98%] Linking CXX executable libcellml.js
em++: error: 'EXPORT_NAME=libCellML': No such file or directory ("'EXPORT_NAME=libCellML'" was expected to be an input file, based on the commandline arguments provided)
make[2]: *** [src/bindings/javascript/libcellml.js] Error 1
make[1]: *** [src/bindings/javascript/CMakeFiles/libcellml.dir/all] Error 2
make: *** [all] Error 2