-
Notifications
You must be signed in to change notification settings - Fork 24
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
app don't compile for windows arch #48
Comments
Can you try master? 0.2.0 is rather old. |
Or v0.2.17 which I just released. |
i have this error when i try to install it :
|
Are you using the latest toxcore? Which version of toxcore are you using for this? |
i have install it with |
That one is too old. But: it is compatible with the newer header file, so you could as a hack just copy https://github.com/TokTok/c-toxcore/blob/master/toxcore/tox.h over your system-installed tox.h. Alternatively, build and install toxcore from source. |
When i try to compile new toxcore with source i have this error : https://pastebin.com/LxzJPrQg And with the trick it don't seems to work 🤔 ( i changed tox.h located in /usr/include/tox/tox.h )
|
Sorry, https://github.com/TokTok/c-toxcore/blob/master/toxav/toxav.h you need this one. |
Ok ur trick worked for install v0.2.17 :
But still error when i try to compile on windows 🤔
|
It's a strange error. The last 3 errors indicate that |
It might be an issue with line endings. Maybe a |
I have also linux but i want to compile it for windows |
I will check this evening |
Are you trying to cross-compile from Linux to Windows? If so, it's not going to work because this uses CGo. You'll need a version of c-toxcore and all its dependencies that's already compiled for Windows and a Windows C cross-compiler to do that. The easiest way to do this is to compile it on a Windows computer. |
When i try to compile with command
GOOS=windows GOARCH=amd64 go build -o bin/test.exe test.go
I have this error :
When i compile on linux / run it it work perfectly can you help me ?
The text was updated successfully, but these errors were encountered: