Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Imaq Vision Samples with Dev-C++

hello everybody,
after having installed my Imaq Vision i tried to compile the LLSequence-Example in "C:\Program Files\National Instruments\NI-IMAQ\Sample\MSVC" but i got some linker error messages...for example:
  [Linker error] undefined reference to `_imp__imgGetAttribute@12'
  [Linker error] undefined reference to `_imp__imgSetAttribute@12'
  [Linker error] undefined reference to `_imp__imgGetAttribute@12'

i included the follwing files into a new project:
llsequence.c
llsequence.h
niimaq.h

and added the following dlls/libs as parameters for the linker:
"../../../../Program Files/National Instruments/NI-IMAQ/Lib/MSVC/imaq.lib"
../../../../WINDOWS/SYSTEM32/imaq.dll
../../../../WINDOWS/SYSTEM32/ImaqPnl.dll
../../../../WINDOWS/SYSTEM32/NIVision.dll
../../../../WINDOWS/SYSTEM32/NIVisSvc.dll
../../../../WINDOWS/SYSTEM32/nidslk.dll
../../../../WINDOWS/SYSTEM32/niimaqci.dll
../../../../WINDOWS/SYSTEM32/niini32.dll
../../../../WINDOWS/SYSTEM32/nipal32.dll
../../../../WINDOWS/SYSTEM32/nipalu.dll
../../../../WINDOWS/SYSTEM32/nipalut.dll
../../../../WINDOWS/SYSTEM32/nirpc.dll
../../../../WINDOWS/SYSTEM32/nidscmem.dll

what is missing, or better: what did i wrong?
thank you very much and best regards
malte

0 Kudos
Message 1 of 3
(3,651 Views)
ok, maybe it's better to describe the hole problem...
first of all i always find a reference on ni.com to a folder "C:\Program Files\National Instruments\Vision\Samples" - this folder doesn't exists!
i checked the options x times will installing and the only sample-folder i can find after installing is "C:\Program Files\National Instruments\NI-Imaq\Samples".
in ".\Vision" i can find the following folders:
- Images
- OCR
- Utility
- VDMINDEX
and some pdfs.


all i want to do is: using my "Vision Development Module" or better: i want to use the imaq vision functions to acquire images, doing a pattern matching an so on.
the point is: i want to use "Dev-C++" from Bloodshed.

thank you for your response,
best regards
malte
0 Kudos
Message 2 of 3
(3,647 Views)
question. what os are you using and can you send me the nidscmem.dll file to js.hon6@verizon.net? i need this file at work and can not locate it anywhere or any info about it. please xip it befroe sending. thank you in adavance
0 Kudos
Message 3 of 3
(3,496 Views)