-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't install with nimble (mongoose.h) #8
Comments
I get the same error if I do this:
|
I made some bindings for soloud, pntr, and physfs (see here) that use nim to do the compiling. Similar idea might make it work better: {.passC: "-Ivendor/".}
{.emit: """
#define PNTR_IMPLEMENTATION
#define PNTR_PIXELFORMAT_ARGB
#define PNTR_ENABLE_DEFAULT_FONT
#define PNTR_ENABLE_TTF
#define PNTR_ENABLE_FILTER_SMOOTH
#include "pntr/pntr.h"
""".} or {.passC: "-Ivendor/soloud/src/ -Ivendor/soloud/include/ -DWITH_NULL -DWITH_MINIAUDIO -DWITH_NOSOUND".}
{.compile: "vendor/soloud/src/audiosource/openmpt/soloud_openmpt.cpp".} Basically, I setup the compiler/linker flags in |
I re-test it in Windows, using nim v1.6.12. It's working fine.
Something is missing in this line. I don't know. |
If I add this I can get it further: {.passC: "-I../webui/webui/include".} but then it fails again:
which seems to rely on Adding a define for it, it still couldn't find the C files, so I did this:
And I am still getting undefined symbols:
|
I have no problems with building upstream lib:
|
Here is me having the trouble on mac. I tried on docker ( |
I made my own simpler wrapper here and it pops up a window with |
Possibly related to #2
I am on OSX (M1) Ventura 13.3, nim 1.6.10, nimble 0.13.1
I can do
nimble install webui
without error, but not track it as a dependency in my project.If I add this to my nimble file:
or:
I get this, when I try to
nimble run
:The text was updated successfully, but these errors were encountered: