Skip to content
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 on Ubuntu 15.10 #118

Open
Victoralm opened this issue Nov 20, 2015 · 1 comment
Open

Can't build on Ubuntu 15.10 #118

Victoralm opened this issue Nov 20, 2015 · 1 comment

Comments

@Victoralm
Copy link

Need some help please, I'm getting this error message while trying to build with "cmake . && make":

Linking CXX executable glsl_compiler
libglsl_optimizer.a(standalone_scaffolding.cpp.o): na função `_mesa_error_no_memory':
standalone_scaffolding.cpp:(.text+0x5): múltipla definição de `_mesa_error_no_memory'
CMakeFiles/glsl_compiler.dir/src/glsl/main.cpp.o:main.cpp:(.text+0x0): definido primeiramente aqui
collect2: error: ld returned 1 exit status
CMakeFiles/glsl_compiler.dir/build.make:88: recipe for target 'glsl_compiler' failed
make[2]: *** [glsl_compiler] Error 1
CMakeFiles/Makefile2:97: recipe for target 'CMakeFiles/glsl_compiler.dir/all' failed
make[1]: *** [CMakeFiles/glsl_compiler.dir/all] Error 2
Makefile:75: recipe for target 'all' failed
make: *** [all] Error 2
@neon64
Copy link

neon64 commented Nov 23, 2015

Looks like it is an ongoing issue.
I fixed it by just going to the given file and removing the __mesa_error_no_memory function. If you look in pull requests you'll see a bunch of pulls wanting to fix errors like this. For example this guy has fixed it: https://github.com/djreep81/glsl-optimizer.

It seems like @aras-p doesn't feel like maintaining this repository anymore (which I kinda understand as he primarily works on Unity I think), but it would be great if he could at least merge all these fixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants