PDA

View Full Version : Include Library in VC++ 2008



somoon
April 7, 2011, 10:05:43
How Configure Visual C++ 2008 for build "IC Imaging Control C++ Class Library" :question::question:

Example Setting opencv for vs2008
http://opencv.willowgarage.com/wiki/VisualC%2B%2B_VS2008

Thank you :-)

Stefan Geissler
April 7, 2011, 15:47:24
Which version of IC do you have?

Can you compile the samples?

somoon
April 7, 2011, 16:11:02
Which version of IC do you have?

IC Imaging Control 3.1 :-)


Can you compile the samples?

I can not compile :question:

Thank you :-)

Stefan Geissler
April 8, 2011, 11:56:02
OK, then I would like to know the error messages you receive.

Thank you.

somoon
May 4, 2011, 10:02:18
OK, then I would like to know the error messages you receive.


fatal error C1189: #error : "insert license key here!"

Thank you :-)


I compile this file :
C:\Users\NINE-1\Documents\IC Imaging Control 3.1\samples\vc9\CreateVideoFile

Stefan Geissler
May 4, 2011, 10:29:49
Well, this error message says all. Please go into source code into the line, where the error is posted. Read the comments.

delete the "#pragma error..." and insert your license key as parameter to "InitLibrary".

The license key is labeled on the CD ROM's cover, that was provided with your video capture device.

somoon
May 7, 2011, 10:36:59
insert your license key as parameter to "InitLibrary".

Thank you very much, I can do it. :-)

OK, How recode 2 GigE camera at the same time ?

(I can show 2 GigE camera on IC Capture 2.1)

Thank you. :-)

Stefan Geissler
May 11, 2011, 11:32:11
Hi,

You only need two instances of the DShowlib::Grabber Class, one for each camera.