Horde3D icon indicating copy to clipboard operation
Horde3D copied to clipboard

Build fails: don't know how to make install/strip. Stop

Open yurivict opened this issue 7 years ago • 2 comments

Both 1.0 and current revisions fail:

make[1]: don't know how to make install/strip. Stop

I'm pretty sure something's wrong with your cmake makefiles.

On FreeBSD.

yurivict avatar Nov 28 '17 23:11 yurivict

Well depends on what you define with "wrong". I guess CMAKE_SYSTEM_NAME is FreeBSD on your system, while we only support Linux. So maybe you can fix it by extending all comparison of CMAKE_SYSTEM_NAME with Linux with an OR ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD" Unfortunately I don't have a FreeBSD system available so I can not test it myself

horde3d avatar Nov 29 '17 04:11 horde3d

You are right. For compatibility with BSDs, you need to change them all to ${CMAKE_SYSTEM_NAME} MATCHES "Linux|.*BSD".

Besides this, it failed because -fPIC was missing. It succeeded after I added -fPIC.

yurivict avatar Nov 29 '17 05:11 yurivict