-
Notifications
You must be signed in to change notification settings - Fork 88
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
Unable to cross-compile from Linux to Windows using mingw-w64
#269
Comments
Adding the |
This is actually caused by me not setting |
Thanks for your investigations. I don't have that setup so i can't try this platform. |
The |
cargo run --target x86_64-pc-windows-gnu --bin graph
gave the following errors:https://gist.github.com/melvyn2/6c34ef3f82ecddca072fb8202c77bff8#file-build-log
It's a whole lot of
undefined reference to
errors to c++ standard symbols, like__gxx_personality_seh0
and__cxa_rethrow
, along with Qt symbols likeQtSharedPointer::ExternalRefCountData::operator delete(void*)
. Searching around, this seems to be caused by not linking inlibstc++
, but checking the linker call it's being included. I'm able to cross-compile and run other rust projects with my current setup, so I'm not sure what's breaking here exactly.The text was updated successfully, but these errors were encountered: