uricamic / clandmark

Open Source Landmarking Library
http://cmp.felk.cvut.cz/~uricamic/clandmark
GNU General Public License v3.0
199 stars 111 forks source link

build error in VS under windows #47

Closed meirela closed 8 years ago

meirela commented 8 years ago

Hey, I'm following the windows installation guide by screen shots (http://cmp.felk.cvut.cz/~uricamic/clandmark/index.php?page=installation#install_windows) And I've come to a stage where I tried and compile the VS project solution, after a (not so easy but) successful CMake configuration and generation. Now, when trying to build flandmark (or ALL_BUILD) I get: clandmark

Both, for release and debug builds. And indeed, I can't find the clanmark.lib file anywhere...

Again - CMake is done successfully, I am using Win7 64 bit VS2013 (VS12) CMake 3.0.2.

meirela commented 8 years ago

Sorry, for some reason (lack of sleep, I assume...) I didn't see https://github.com/uricamic/clandmark/issues/46 which helped me exactly with this problem.

uricamic commented 8 years ago

Hi @meirela,

and what about clandmark.dll, do you see it somewhere within your build folder? If yes, then the problem is probably that you have BUILD_SHARED_LIBS set to ON. When you set it to OFF and recompile, you shoud get .lib files as well.

meirela commented 8 years ago

Yep, that did the trick...

uricamic commented 8 years ago

Nevermind, it is always better to have duplicity in solved problems, so it is easier for others to find the answer ;-)