12-20-2005 10:58 AM
12-21-2005 05:34 PM
12-22-2005 08:01 AM
Hi Ayman K, thanks for your help.
I bought this digitalizer which brings some examples in Visual C++ based. Fortunetly, there is a tool on Builder C++ (software that I use) that converts a VC++ project in a BC++ project. When i did it with each example code, it really worked (it run perfectly as a BC++ project), of course I needed to add the NISCOPE include and library directories to my project. My problem is that when I try to use this functions (such as niScope_init, niScope_ConfigureVertical, etc...), all of them high-level functions, into my own project, a message like these below is shown:
[Linker Error] Unresolved external 'niScope_init' referenced from C:\ALUNOS\ALLAN\EVA\BUILDER2.0C\UNIT1.OBJ
[Linker Error] Unresolved external 'niScope_AutoSetup' referenced from C:\ALUNOS\ALLAN\EVA\BUILDER2.0C\UNIT1.OBJ
[Linker Error] Unresolved external 'niScope_ConfigureVertical' referenced from C:\ALUNOS\ALLAN\EVA\BUILDER2.0C\UNIT1.OBJ
[Linker Error] Unresolved external 'niScope_ConfigureVertical' referenced from C:\ALUNOS\ALLAN\EVA\BUILDER2.0C\UNIT1.OBJ
and so on
12-27-2005 11:37 PM
Hi Allan,
Can you please post the borland project you are having problem with? Also, what version of Borland C++ compiler you are using?
Kalyan
01-09-2006 06:25 AM
Hi Kalyanramu,
I just need your email adress to send it for you
Thanks
Allan Rocha
01-17-2006 09:31 AM
01-18-2006 09:34 AM
Hi, Kalyan
I'd like to say that I've resolved this problem myself but I don't think my solution is the best one. I'm going to explain it to you and if you have
some other idea, some better idea, please let me know. I changed an especific line of my "BCBProject file" who talks about the linker
like the following:
BEFORE:
<LINKER>
<ALLOBJ value="c0w32.obj $(PACKAGES) Memmgr.Lib sysinit.obj
$(OBJFILES)"/>
<ALLRES value="$(RESFILES)"/>
<ALLLIB value="$(LIBFILES) $(LIBRARIES) import32.lib cp32mti.lib"/>
<OTHERFILES value=""/>
</LINKER>
AFTER:
<LINKER>
<ALLOBJ value="c0w32.obj $(PACKAGES) Memmgr.Lib sysinit.obj
$(OBJFILES)"/>
<ALLRES value="$(RESFILES)"/>
<ALLLIB value="$(LIBFILES) $(LIBRARIES) ODBCCP32.LIB UUID.LIB
NISCOPE.LIB
import32.lib cp32mti.lib"/>
<OTHERFILES value=""/>
</LINKER>
In different words, I just included the names of some libraries like in all "Example programs" from NI. Indeed I think there is another classic
way to say to the compiler that it is necessary to compile these libraries but while I don't discover it... My way works! Thank godness!
I apreciate your help dear friend.
Have a nice day!