bx
bx copied to clipboard
Base library used across multiple projects
i can see in the entry_sdl.cpp there is use of BX_UNUSED(_thread); what is the use of it , and why do i need it ? trying to look at the...
Visual Studio 2019 does not support it. It must be changed to #include
Consider this code: `char NumStr[32]; int Round = 116; bx::snprintf(NumStr, 32, "@[s:GUIText|a:000000FF]Round %i", Round);` In this case the buffer fits exactly the string WITHOUT the null terminator! In this special...
I have no idea what this means, not had chance to dig into the code, first time I've looked at this, evaluating bgfx, but thought you might appreciate this feedback....
make -C .build/projects/gmake-osx config=debug64 ==== Building bx (debug64) ==== ==== Building bin2c (debug64) ==== Linking bin2c Undefined symbols for architecture x86_64: "_NSLog", referenced from: bx::debugOutput(char const*) in libbxDebug.a(debug.o) "___CFStringMakeConstantString", referenced...
i gen makefile ../bx/tools/bin/windows/genie --gcc=mingw-gcc gmake the makefile set CC = $(MINGW)/bin/x86_64-w64-mingw32-gcc CXX = $(MINGW)/bin/x86_64-w64-mingw32-g++ AR = $(MINGW)/bin/ar need MinGW-w64 to build it? how to gen MinGW makefile?
I was trying to find out if bx can be easily built by dropping the .cpp/.h file (or amalgated.cpp) into any MSVC project, and it looks like it would be...
Previously this would always use "x86_64-apple-darwin15-" as the toolchain. Now it autodetects the correct "x86_64-apple-darwinXX-", assuming that x86_64-apple-darwinXX-clang is in $PATH (which it should be is osxcross has been correctly...
This code demonstrates a mismatch between the definition of "euler" angles used by quatToEuler and the definition (non-explicitly) used by mtxSRT. This created a bit of confusion for me when...
bgfx/bx builds normally for latest android ndk (16.1 at this time). But generated bx library is unusable because of invalid references to stdin/stdout: ``` ../../../../bx/src/file.cpp:0: error: undefined reference to 'stdout'...