horde3d / Horde3D

Horde3D is a small 3D rendering and animation engine. It is written in an effort to create an engine being as lightweight and conceptually clean as possible.
http://horde3d.org/
1.55k stars 308 forks source link

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

Open yurivict opened 6 years ago

yurivict commented 6 years ago

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.

horde3d commented 6 years ago

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

yurivict commented 6 years ago

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.