pplux / imgui-app

Dear IMGUI + Render + Window handling, amalgamation in two files ready to use
MIT License
161 stars 17 forks source link

Updating Sokol and Imgui #9

Open wwderw opened 5 months ago

wwderw commented 5 months ago

What would be the best path (if possible) to update Imgui and Sokol and compile the resulting new imgui_app.cpp into new archive for linking? Or is the amalgamation pretty well fixed to those branches of Sokol and Imgui?

pplux commented 5 months ago

Hi! it should be as easy as to pull the dependencies, and later run "make" on the main directory. I'm going to leave this issue open and update sokol and imgui to the latest version :)

wwderw commented 5 months ago

That's what I was thinking, but when I pull in those and run make that goes fine, but I go to compile it as object file, I get errors using: g++ -c imgui_app.cpp -DSOKOL_GLCORE33, however, if I pull the repo using --recursively and run that command, it generates that obj file and I'm able to go on and get archive from it.

Since I typically just know enough to cause damage, I'm sure I was missing something.

Thanks for the help.

wwderw commented 5 months ago

Attached is the output of errors that I got when running the above command to create an obj file. If it helps. Compiling on Linux Mint.

errors.txt