-
Notifications
You must be signed in to change notification settings - Fork 37
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
Can't build demos due to missing s9w_geom_types.h file. #2
Comments
Ah, just noticed that the missing library is referenced in the readme:
|
Hi! Yeah, the situation is this: While the demos may seem simple, and are in most ways - they do require at least three things that devs often need:
You can solve 2) with GLM and 1) with lots of bits of code. 3) is a bit tricky in C++. I solved all of these with my own "s9w" library. It's not mature enough for release yet really, so I didn't include it. If you want, I could include the version I have. I thought the demo code would be helpful without being able to compile. But I can see this being a less-than-ideal situation. |
It would be lovely to be able to compile and run the code on one's system, but if that's not supported yet, then so be it. I'm sure that potential users of a brand new free library can wait a bit (especially, given how thorough the readme is). Congratulations on great presentation, btw! |
Aww, everyone is so nice today! Thank you. I zipped the four required s9w headers. I assume you tried this on windows? Setting up the paths so they can be found by Visual Studio or whatever your compiler might be should be straightforward. Let me know if this works or if you need help. I hope I didn't forget anything. |
Looks like I still need |
Yes.. just noticed, sorry. s9w.zip Btw I really hope you're on windows. For some window size functionality, mouse cursor etc I use windows-API functions in the demo. |
Thanks! No, I'm actually on macOS. Looks like I'll need to modify the sources a bit to make the demos work in environment, which I'm happy to do, though it will take a while until I report back :) Thanks again for your prompt help! |
Ah! That sucks for the moment. But there's great opportunity in this: Someone actually testing this on a non-windows machine would be awesome. Maybe try easy things first though. See if the VT sequences actually work. And no idea about how performant macos console is. From the windows API, I mostly used functions to retrieve the mouse cursor and console window size I think. But the mouse cursor position is only for the color_trail demo. And the window size you can just set something fixed for the moment. Maybe that'll be enough to get things going. I might also make another issue tomorrow or so about VT query commands, which allow information to be retrieved via VT sequences. But to read them I need OS-dependent functions, so an mac guy would be cool. Anyways, hit me up if I can be of any help. |
The text was updated successfully, but these errors were encountered: