-
Notifications
You must be signed in to change notification settings - Fork 8
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
Error when make build #15
Comments
Hello @Nafidinara, Can you provide details of your environment (OS version, etc.), please? |
Also, could you give us an output of |
OS : Windows 10 and this when I run |
I wonder if you may need to install the Windows SDK (https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/) |
For github.com/TopperDEL/uplink.net our friend installs MSYS2 and within that installs the package group mingw-w64-x86_64-toolchain. This also supplies stddef.h. |
I've found that https://jmeubank.github.io/tdm-gcc/ is usually the easiest way to get C compiling to work with Go + Windows. This assumes it doesn't need to link to external libs (e.g. portaudio) -- in other words, it should work fine with uplink-c. |
I'm wondering what we have to do to close this issue. I'm also wondering how the current build target can generate a DLL for windows. |
Hello, I'm always getting error when try to run
make build
. this is the detail :go build -ldflags="-s -w" -buildmode c-shared -o .build/uplink.so. runtime/cgo cgo-builtin-prolog:1: stddef.h: No such file or directory make: *** [build] Error 2
Can you help me how to solve this?
The text was updated successfully, but these errors were encountered: