01-14-2015 06:34 AM
Hi
I just tried to migrate an application comipled and linked for the last ime in CVI 6.
I have created a new prject and workspace and added all the files including the lib-files.
Under CVI 6.0 everything compiled and linked fine.
Now with CVI 2013 compilining works fine but when linking I get the following error messages:
"Build Status (XSoft V5.prj - Release)
Link XSoft V5.exe
error: Multiply defined symbol '_Get_CardDesc@8' in 'D2K-Dask.lib' and 'PCI-Dask.lib'.
error: Multiply defined symbol '__imp__Get_CardDesc@8' in 'D2K-Dask.lib' and 'PCI-Dask.lib'.
Build failed."
Any help?
Thanks
Andreas
Solved! Go to Solution.
01-15-2015 10:53 AM
In an older version of CVI I have very occasionally seen such messages crop up after many edit-rebuild-run cycles in a lage project. The problem could be cleared by exiting and re-starting the CVI IDE, or by simply marking the project for compilation, IIRC. Never did trace it down or pursue it.
Your case sounds different, but you may want to try that since it is so easy to test.
01-16-2015 03:07 AM
Thanks for your reply.
Meanwhile I found the solution: I had to use newer versions of the 2 LIBs/DLLs.
The CVI2013 Linker seems to be more restrictive than the one in CVI 6.0.
01-16-2015 03:21 AM
Hi RTM,
It looks as if this in not a CVI file which throws the error. If you only use one of the lib-files, do you have the same issue? If no then the issue is what the message tells you multiple definded.
How did you start analyzing the code?
Best Regards, Fabian
01-20-2015 06:25 AM
Hi Fabian
Thanks for your reply.
Meanwhile I solved the problem by using new DLL/LIBs.
It seems that the same definitions were defined in each LIB/DLL so the linker of CVI2013 seems to be more investigative.
Regards
Andreas