08-16-2013 01:52 AM
Hi
we are working with CVI 2012 and we wanted now to change to CVI 2013. After installing the update via internet I could not create any exe files anymore. Also with CVI 2012 it is not more possible. After compiling the project I get the following errormessage.
Does any one know what I can do?
thanks
Oliver
08-16-2013 01:54 AM
here is the errormessage:
08-19-2013 09:57 AM
Hi Oliver,
so far you will create a release where some functions of the IMAQ Driver are called.
tests:
1. For clarifying the behaviour create a simple release where no IMAQ function is called.
2. Use the latest IMAQ Driver for your function calls
3. Try to create a release again
Kind regards,
RupiDo
08-22-2013 07:06 AM
Hello OZI,
Those three functions are defined in the CVI run-time engine, but they are defined (and have been defined) without the @ suffixes. I'm not sure how you got into this state and why you cannot even build in CVI 2012 anymore.
When you updated your system, did you update just CVI or did you update IMAQ as well?
If you have updated IMAQ as well, do you remember which version you used to have? Which one do you have now?
Some things to try are:
1. In CVI, Options >> Build Options >> Default Calling Convention (32-bit) should be "__cdecl".
2. Have you tried removing the cvibuild. folder for your project and rebuilding the project? Maybe some old or corrupted files confuse CVI.
3. Can you build and run example projects in CVI 2012 and CVI 2013?
Thanks,
Peter
08-27-2013 02:28 AM
Hello Peter
> Some things to try are:
> 1. In CVI, Options >> Build Options >> Default Calling Convention (32-bit) should be "__cdecl".
__cdecl is switched on
> 2. Have you tried removing the cvibuild. folder for your project and rebuilding the project? Maybe some old or corrupted files confuse CVI.
Yes, I have tried this several times.
> 3. Can you build and run example projects in CVI 2012 and CVI 2013?
It is not possible to create an exe also with CVI 2012
Meanwhile I got the DVDs with CVI 2013 and Vision 2013 and I reinstalled both but the problems are still there. Remark: First installation was over internet update.
Any ideas?
Oliver
08-27-2013 02:35 AM
Hello RupiDo
I have deactivate all IMAQdx orders in my program but the error message is still the same.
any ideas?
greetings
Oliver
08-27-2013 04:04 AM
> > 3. Can you build and run example projects in CVI 2012 and CVI 2013?
> It is not possible to create an exe also with CVI 2012
I'm assuming that means that you get the same / similar link errors for example projects that do not use IMAQ (for example, samples/apps/life/life.prj). If you get other errors, can you post a screenshot or the build output log (right-click on the build output window and copy/paste all lines)?
Are you building a debug configuration or a release configuration? 32-bit or 64-bit? If you're building release configurations, do you use a third-party compiler?
Options >> Build Options >> Build Process Options >> Active 32/64-bit compiler
Edit >> Project... >> 32/64-bit release configurations...
What instruments (.fp) do you have included in your project or in the Instruments menu? Did you add any libraries to the libraries menu? (Library >> Customize... >> User Libraries). Try removing them if you have any and restart CVI. Specifically try to remove niimaqdx.lib from your project. You should be able to build CVI example projects at least.
Thanks,
Peter
08-27-2013 04:44 AM
Hello Peter
meanwhile I deinstalled and reinstalled NIIMAQdx but the same problem.
I tried to build an old project where we didn't use NIIMAQdx and this was working. That means we could build an exe and start it.
We are not using an fp
I tried to build the current project with all NIIMAQ call deactivated but no success
greetings
Oliver
08-27-2013 05:27 AM
Hello Oliver,
I have finally managed to install Vision 2013 on a test machine and I can reproduce the problem with one of our example projects. I have forwarded the issue to our support engineer and the Vision group for further investigation.
I'm sorry I cannot offer a workaround for the problem.
Peter
08-27-2013 06:01 AM
Hello Peter,
that are good news because it was not a mistake from me during the installation. To continue my work I will call back my original system from my golden hard disc. Please send me a note when you have solved the problem.
thanks
Oliver