Closed truedat101 closed 7 months ago
Curious, should I be building with clang? If so, what version?
I will check it out.
Not that it solves anything, but this appears to have broken cross platform functionality between v0.0.4 ->v0.0.5 tags. v0.0.4 compiles perfectly on Linux Ubuntu 22.04.
Did you test this on
Ubuntu22.04 gcc 11.4.0
not verified on my end, at least, there are other build issues, in addition to
/usr/include/c++/11/bits/predefined_ops.h:240:30: error: no match for call to ‘(big2::GlfwEventQueue::SortEventsByWindow()::<lambda(TRef, TRef)>) (const big2::GlfwEvent&, big2::GlfwEvent&)’
...
/usr/include/c++/11/bits/predefined_ops.h:196:30: error: no match for call to ‘(big2::GlfwEventQueue::SortEventsByWindow()::<lambda(TRef, TRef)>) (big2::GlfwEvent&, const big2::GlfwEvent&)’
Do you have a CI server you can plug this into? I don't want to nag about the build. Assuming cross platform compatibility is a goal, it's somewhat harder to maintain between MSVC, gcc, and clang without enough people testing builds. Any way, I am somewhat sympathetic to the challenge since I've been using the bigg-ish combo of things on another project and it was a signficant lift to get it building well on 3 platforms. My finding was bleeding edge C++ made it harder to keep builds working (had to stick with C++17), and also clang and gcc were very picky vs MSVC, and just developing on Windows meant we still had a lot of verification of our framework to do on linux/mac to make sure it compiled. I was hoping someone else had figured out the "bigger" set of things in a better way than my team had done (which was conan/cmake). I am open to suggestions on how to best help.
I will setup a docker-cross on my end to test this fully. I didn't mean to close the issue only to refer to it sorry.
Should be fixed now. I tested it by compiling with dockcross linux x64
Great, will try this out tonight when I get back to the office linux system.
bueno - working and compiles.
Thanks!
A few samples won't run in my set up but I think this is a bgfx config thing. I will focus on the mac side now and figure out what is missing in the rendering since it is showing the blank screen.
Might be to link some library?
I need to add some debug on the bgfx side to make sure what renderer was selected . According to the sample, multi window support.
int main(int32_t, char**): 'The selected renderer doesn't support multiple windows through BGFX.' at '/big2-stack/examples/src/04_event_queue.cpp:37'
error: no match for call to ‘(big2::GlfwEventQueue::SortEventsByWindow()::<lambda(TRef, TRef)>) (const big2::GlfwEvent&, big2::GlfwEvent&)’
Ubuntu22.04 gcc 11.4.0
Build failure against main, v0.0.9, v0.0.8