Comments (3)
I got the same error in visual studio 2010. The problem is that visual studio
does not create a lib file unless functions are explicitly defined as dllexport
functions.
To fix this add the following to cvblob.h:
#define EXPORT __declspec (dllexport)
In the extern "C" block, add the word EXPORT to each function.
For example:
EXPORT double cvContourPolygonArea(CvContourPolygon const *p);
As soon as you add at least one EXPORT keyword the .lib file will be created.
You should add EXPORT to all the functions in the extern "C" block though,
otherwise you will get linkage errors for the functions you didn't add EXPORT
for.
This fix was based on the following MSDN post:
http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/15e4fc47-68b5-479
8-9e5d-d6d72da1f631/
Original comment by [email protected]
on 6 Nov 2012 at 3:53
from cvblob.
thanks
Original comment by [email protected]
on 16 Nov 2012 at 1:39
from cvblob.
thanks. now it builds successfully
Original comment by [email protected]
on 22 Mar 2013 at 4:56
from cvblob.
Related Issues (20)
- Problem with signed char, cvLabel hangs HOT 10
- Cannot display largest blob
- Object boundry Detection HOT 1
- error when i use cvblob python swig interface in ubuntu opencv test.py HOT 2
- usage of memory never stop increasing with cvblob python libfreenect HOT 1
- Compile please for Windows XP VS2008 HOT 1
- small copy paste error in cvLabel.cpp HOT 1
- Patch for /trunk/cvBlob/cvblob.h
- cvb::cvReleaseBlobs(blobs); cause to crash when using -std=c++0x for project HOT 1
- Ubuntu package
- Properties of blob HOT 1
- cvReleaseBlobs (EXC_BAD_ACCESS) HOT 1
- C++ Version of cvblob? HOT 2
- bug - rendering
- CMake include path misinterpreted if it has a space in it
- Bug in cvSetImageROItoBlob HOT 1
- label image widthstep incorrect
- cvblob Running error
- CvBlob Contour into default OpenCv Contour
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cvblob.