-
Notifications
You must be signed in to change notification settings - Fork 58
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
Failed to build on MSYS2 UCRT64 #150
Comments
I want to tell you that on MSYS2 we already have a package for openal so you don't need to build your own from source: https://packages.msys2.org/package/mingw-w64-ucrt-x86_64-openal The name of the openal dll is different from the standalone OpenAL-Soft though, it's |
Hey man, may I ask what os/environment you are using? I have never seen this error. About the internal build, I wanna add Android cross compile at somepoint, so all dependencies will need to be pulled in. I will look into using prebuild openal to speed up compilation. |
Still having this issue OpenGL cannot be found using cmake.
|
may I ask which os this is? I would tend to believe Cmake if it says OpenGL is not present. |
I am using Windows 10 and using Laptop with Nvidia GPU 3070. I have installed all the libraries still having same issue |
Do you have the file? |
Sorry which file do you mean build folder? |
Data/shaders/ShadowMapDirectional/vertex. Glsl It should be copied over to where ever your compiled binary is |
Ohh yeah its not being copied actually I can try doing it manually also data doesn't have shader in it Engine have though |
I am guessing I moved it and forgot to update. If you can find the file and copy that would be perfect |
New error means progress, right? Do you have gbd? Can you give me a stack trace? |
Xml not found is for Ai navigation. If not found rebuilds automatically, and for a map of 2km to 2km it takes like 5 minutes :(. For test map you don't need it. |
Yeahh thats 💯 ture 😆 I haven't used gdb can look up rn I am trying on mac was able to build on windows as well which is being done. But here are the crash details `-------------------------------------
|
Oh man, I don't have access to an m1 Mac. It looks like a null pointer access issue, maybe failed new? Windows is not on m1 right? |
Ohh no thats why trying there as well though I got dangling reference error which I believe can be solved by -Wno. |
If anybody getting error regarding OpenGL Reference on windows this is how it worked for me. Install libraries using mysy2 terminal but after that when I tried to run this command mkdir build && cd build && cmake ../ && cd .. It failed with error OpenGL not found to overcome this issue I used this command in command line not mysy2 terminal mkdir build && cd build && cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_CC_COMPILER=gcc -DCMAKE_MAKE_PROGRAM=mingw32-make -G "MinGW Makefiles" ../ && cd .. Just make sure to have path of bin for both cmake and mingw64 placed in windows system environment and cmake should be download sepratly from browser. After this you need to run this inside mingw64 terminal and not msys2 cd build && mingw32-make && cp -a ../Data . And after this it should start building if you get any error like -Wdangling-reference: error you can put -Wno-error=dangling-reference in CMakeLists.txt inside IF(WIN32) condition line number might be 22. |
Do you get dangling references? I would like to fix them |
Yeah it actually came when I build I can share the log I guess can navigate 💯 |
yes please. I would like to take a look. |
Hey man, I managed to check it. It is wholly an assimp issue. I am going to look into it, but in the meantime, you can use a system build version by changing variable LIBS_EXTERNAL_ASSIMP in cmakefile to |
The LIBS_EXTERNAL_ASSIMP flag forces cmake to look for library in custom provided paths. |
I cloned the
master
branch. It's failed at linking the OpenAL-Soft dependency:/usr/bin/sed: can't read OpenAL32.def: No such file or directory
The text was updated successfully, but these errors were encountered: