-
Notifications
You must be signed in to change notification settings - Fork 117
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
ImWindow not buildable on Linux #10
Comments
Attached
Build :
See : http://stackoverflow.com/questions/4096709/sprint-f-macro-in-linux-for-cross-platform-application for the fix I used + the second breakage, because of a typo in the header name (OMG Windows tools still does not see that ? ) Now, we can test on Linux. thanks in advance for a better fix about sprintf_s, because there is a bad type yet to fix. |
STUPID GITHUB ... please rename the file in Makefile-Linux, or simply Makefile if there is no risk to interfere with another similar file. |
Same thing for the diff : please rename it in broken_linux.diff, and then it could be applied as a simple patch:
patch -p0 --dry-run < broken_linux.diff If nothing wrong occurs, type without --dry-run, and the patch will be applied. To remove the changes : patch -p0 -R <broken_linux.diff Thanks |
As example, a working Makefile using SDL2 + OpenGL 2 example (for OpenGL 3, modifications are needed) Last but not least : add the code to test ImWindow (uff ..) |
Hi, But you only need to include all the Im*.cpp & Im*.h files in your project, but you need ImGui 1.46. |
@thennequin : thanks a lot for your answer, and apologies for the long delay. Ok, I understand what you mean, I'll test what you suggested asap. Once Il'll have made some progress, I'll be back and add further comments. Please be patient (my free time is very limited until middlle june). |
First over all, thanks a lot for sharing your code : this is a great idea, and an extremely interesting feature.
Since we have everything available, of course, we can write a Makefile or something similar, but simple instructions could help a lot. And the first thing coming to my mind, is : how to use genie on Linux ?
Would you mind to you confirm something is missing (or maybe I'm plain wrong ? :-)
The text was updated successfully, but these errors were encountered: