Build problem

102 views
Skip to first unread message

Devon

unread,
May 25, 2012, 1:38:08 PM5/25/12
to cvBlob
Hi guys,

I am trying to build the library in VS2010 and having a problem.

After generating a project with CMake, I built the library in VS2010.
There were some failures but it seems okay because cvblob.dll was
created properly. But I can't make a cvblob.lib file at all. How can I
make the lib file? Please help!!

Cristóbal Carnero Liñán

unread,
May 28, 2012, 9:46:32 AM5/28/12
to cvb...@googlegroups.com
Hi,

Firstly, due to license restrictions the library is generated as a DLL
by default. Of course, you can use cvBlob linked statically as a .LIB
but make sure you comply with the license.

Secondly, if you decided to link statically try to edit the file
"cvBlob/CMakeLists.txt" in the line

  add_library(cvblob SHARED ${cvBlob_CVBLOB})

replace "SHARED" for "STATIC".

Actually I can not help you much in Windows as I only use Linux, sorry.

Regards,

--
Cristóbal Carnero Liñán
Reply all
Reply to author
Forward
0 new messages