-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
I'm unable to compile on Windows 10 & Ubuntu 14.04 — on both systems I get this error on compilation:
# windows
> nim c examples/toy.nim
error: ..\res\resources.o: No such file or directory
# linux
$ nim c --os:windows --cpu:amd64 examples/toy.nim
error: ..\res\resources.o: No such file or directory
On linux I added this to examples/nim.cfg
:
amd64.windows.gcc.path = "/usr/bin"
amd64.windows.gcc.exe = "x86_64-w64-mingw32-gcc"
amd64.windows.gcc.linkerexe = "x86_64-w64-mingw32-gcc"
My goal is to compile for Windows from both Windows & Linux so I'm using mingw on both. I've used the same toolchain with nigui
successfully.
Metadata
Metadata
Assignees
Labels
No labels