This worked better as the location for the libraries and headers were properly detected. The only real issue was that I had to modify src/CMakeFiles/manifest.dir/relink.txt and src/CMakeFiles/minetest.dir/link.txt so that it linked against libiconv. I also had to create these various links in /usr/X11R6/lib/ :
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
lrwxr-xr-x 1 root wheel 17 Mar 8 05:33 libXxf86vm.so -> libXxf86vm.so.5.0
lrwxr-xr-x 1 root wheel 15 Mar 8 05:30 libXext.so -> libXext.so.12.0
lrwxr-xr-x 1 root wheel 14 Mar 8 05:29 libX11.so -> libX11.so.15.0
lrwxr-xr-x 1 root wheel 13 Mar 8 05:29 libICE.so -> libICE.so.9.0
lrwxr-xr-x 1 root wheel 12 Mar 8 05:28 libSM.so -> libSM.so.8.0
lrwxr-xr-x 1 root wheel 13 Mar 8 05:17 libGLU.so -> libGLU.so.7.0
lrwxr-xr-x 1 root wheel 13 Mar 8 05:17 libGL.so -> libGL.so.10.0
Once I did that, it compiled and linked fine, and it runs rather well on an HD4850 (OpenBSD 5.0, amd64).
Adam