-
Notifications
You must be signed in to change notification settings - Fork 1
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
Building on Windows #1
Comments
Thank you for attempting to build it for Windows.
|
Alright, I've finally got it to build on Windows! I removed the default arguments, added /bigobj, and then had to add skipping of members with no name, because BindShaderParameter was being generated with 2 empty member variables (I think it was because of the "union" keyword being used there?). Would it be interesting to add these changes as a PR? |
I'd appreciate that, please do. |
After setting up the symlinks, I've successfully built and run the project on Linux, but I've run into some issues when building with visual studio on Windows:
#ifdef SendMessage #undef SendMessage #endif
to the BindConnection.cpp file, just like in Urho's Connection.cpp file, because apparently Windows has that define overriding things. It could be added via the binding generator, right?No constructor could take the source type, or constructor overload resolution was ambiguous
in some files, followed by C2440 errors in those same files and lines.-- The error message in all of them is
can't convert from "unkown" to "sol::this_state"
.-- Here's my build log; it's in portuguese, but the line numbers are there, so maybe it could help: build-out.txt .
-- The one pattern I've noticed is that the overloads the compiler complained about seem to be the ones that have parameters with default values for them, like Node's CreateChild with
CreateMode mode = REPLICATED
Thanks!
The text was updated successfully, but these errors were encountered: