Calin
Calin
I was able to work around this by modifying [libs/SPIRVCross/spirv_glsl.hpp](https://github.com/dfranx/SHADERed/blob/2838f82b72e34d2cb67b375b96634dd9e01ce2a6/libs/SPIRVCross/spirv_glsl.hpp) and changing [`enable_420pack_extension`](https://github.com/dfranx/SHADERed/blob/2838f82b72e34d2cb67b375b96634dd9e01ce2a6/libs/SPIRVCross/spirv_glsl.hpp#L107) to `false`: ```cpp // bool enable_420pack_extension = true; bool enable_420pack_extension = false; ``` --- For reference, these...
There are still things that don't work, like the Watches or the Immediate window. As soon as you enter something in either of them, you get a "*Segmentation fault: 11*"...
Opening `examples/Eroded` works, but the same "*Segmentation fault: 11*" error happens when starting the debugger and adding a Watch, adding something into the Immediate window, or **also** if trying to...
I would be willing to give it a try and fix this, but I am not sure I will be able to. If you have any pointers based on this...
More info... it seems that what is causing the "*Segmentation fault: 11*" crash is the `func.getName()` call in [ExpressionCompiler.cpp#L78](https://github.com/dfranx/SHADERed/blob/d118369cbc5f18db3596e318c92557760ef0b466/src/SHADERed/Objects/Debug/ExpressionCompiler.cpp#L78), on the result from calling `auto& func : m_module->getFunctions()` from `ExpressionCompiler::Compile()`:...
So inside [`ExpressionCompiler::SetSPIRV()`](https://github.com/dfranx/SHADERed/blob/d118369cbc5f18db3596e318c92557760ef0b466/src/SHADERed/Objects/Debug/ExpressionCompiler.cpp#L27), right after the `addFunction()` call, if I do the same loop over the `getFunctions()` list, and inside the loop I call `func.getName()`, I get the *Segmentation fault*...
The problem is when doing `std::string(func.getName())`, since `func.getName()` apparently returns a `nullptr`. I have opened an issue here: https://github.com/rAzoR8/SpvGenTwo/issues/40
Has anyone managed to build libgit2 (including libssh2 and openssl) on macos with this docker image?
I tried the following commands but I get an error on `make`: ```sh # ./Configure darwin64-x86_64-cc Configuring OpenSSL version 1.1.1-pre3-dev (0x10101003L) for darwin64-x86_64-cc Using os-specific seed configuration Creating configdata.pm Creating...
After setting `export CC="crossbuild cc"`, `make` goes further, but it stops with this output error: ``` # make ... rm -f apps/openssl ${LDCMD:-crossbuild cc} -O3 -arch x86_64 -Wall -Qunused-arguments -fPIC...