danfis / libccd

Library for collision detection between two convex shapes
Other
478 stars 108 forks source link

Fatal error: LNK1120 unresolved externals when libccd maked as static library #66

Closed Mikez2015 closed 4 years ago

Mikez2015 commented 4 years ago

Build libccd as static library by Cmake 3.16.4. Link library to my programm and got errors Fatal error: LNK1120 unresolved externals. Visual Studio 2019 I tryed CCD_HIDE_ALL_SIMBOLS, but it did not help.

Mikez2015 commented 4 years ago

I found sulution:

Add "#define CCD_STATIC_DEFINE" to "config.h" and copy to includes.