Open guppy42 opened 7 years ago
manually editing CMakeFiles/mcpelauncher.dir/link.txt
and adding -L/usr/lib32/nvidia-367/
just before -lEGL makes the make finish
But it's not really a robust solution ;)
I'm no CMAKE expert but perhaps
FIND_LIBRARY_USE_LIB32_PATHS
is what's needed ?
did you install this software with 32bit machine?
No it's being compiled on a 64bit machine, problem is that the application needs 32bit libraries ( aparently android is 32bit only? ) and the CMAKE find_library() macros are looking in the wrong places.
I've been unable to coax cmake into finding the correct ones, so I have to resort to manually editing the linking instructions
Myself to fix this I have added a symlink from /usr/lib32/nvidia-version/libEGL.so to /usr/lib/i386-linux-gnu/ and that worked. If anyone has a better solution, please post it here.
I feel that this information needs to be on the front page between required packages and compiling;
If your using a nividia card you will have to create two symbolic links like so: sudo ln -s /usr/lib32/nvidia-###/libEGL.so /usr/lib/i386-linux-gnu/ sudo ln -s /usr/lib32/nvidia-###/libGLESv2.so /usr/lib/i386-linux-gnu/
Where ### is your driver version
Problem:
cmake finds the x86_64 libraries rather then the lib32 ones, cmake will finish but make fails with missing "-lEGL"
Steps to reproduce:
Further digging shows;