Open BrunoPincho opened 10 months ago
Fairly certain this is just an issue with Nim + mingw it auto converts paths when using mingw. Perhaps using {.compile.}
was a fools errand and it's best to have a precompilation step that compiles the code into object files.
Build failing for windows/mingw target. Nimble project structure: src/wasm.nim:
wasm.nimble:
Compilation command:
nimble build -d:mingw
:After hammering the correct source paths into wasm3c.nim, eventually got another error of the same kind in a different C source file:
Fix seems simple, just don't change the source files path to backslashes if compiling on Linux.