Craft
Craft copied to clipboard
How can I solve this problme while I used linux ?
CMake Warning at deps/glfw/CMakeLists.txt:281 (message): No glXGetProcAddressXXX variant found
make[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/libGL.so',
In file included from /home/favorite/模板/minecraft/Craft/deps/glfw/src/x11_platform.h:52:0, from /home/favorite/模板/minecraft/Craft/deps/glfw/src/internal.h:69, from /home/favorite/模板/minecraft/Craft/deps/glfw/src/glx_context.c:28: /home/favorite/模板/minecraft/Craft/deps/glfw/src/glx_context.c: In function ‘_glfwPlatformGetProcAddress’: /home/favorite/模板/minecraft/Craft/deps/glfw/src/glx_context.c:598:36: warning: pointer targets in passing argument 2 of ‘dlsym’ differ in signedness [-Wpointer-sign] return _glfw_glXGetProcAddress((const GLubyte*) procname); ^ /home/favorite/模板/minecraft/Craft/deps/glfw/src/glx_platform.h:56:60: note: in definition of macro ‘_glfw_glXGetProcAddress’ #define _glfw_glXGetProcAddress(x) dlsym(_glfw.glx.libGL, x) ^ In file included from /home/favorite/模板/minecraft/Craft/deps/glfw/src/glx_platform.h:43:0, from /home/favorite/模板/minecraft/Craft/deps/glfw/src/x11_platform.h:52, from /home/favorite/模板/minecraft/Craft/deps/glfw/src/internal.h:69, from /home/favorite/模板/minecraft/Craft/deps/glfw/src/glx_context.c:28: /usr/include/dlfcn.h:64:14: note: expected ‘const char * restrict’ but argument is of type ‘const GLubyte *’ extern void *dlsym (void *__restrict __handle,
[ 52%] Building C object CMakeFiles/craft.dir/src/main.c.o In file included from /home/favorite/模板/minecraft/Craft/src/main.c:19:0: /home/favorite/模板/minecraft/Craft/deps/tinycthread/tinycthread.h:221:44: warning: ‘struct timespec’ declared inside parameter list int mtx_timedlock(mtx_t *mtx, const struct timespec *ts); ^ /home/favorite/模板/minecraft/Craft/deps/tinycthread/tinycthread.h:307:57: warning: ‘struct timespec’ declared inside parameter list int cnd_timedwait(cnd_t *cond, mtx_t *mtx, const struct timespec *ts); ^ /home/favorite/模板/minecraft/Craft/deps/tinycthread/tinycthread.h:382:58: warning: ‘struct timespec’ declared inside parameter list int thrd_sleep(const struct timespec *time_point, struct timespec *remaining);
What drivers are you using proprietary or the free drivers? And which GPU brand?
proprietary. AMD. I download the latest driver from the AMD's official web.
This may solve your problem http://techtidings.blogspot.in/2012/01/problem-with-libglso-on-64-bit-ubuntu.html