Develprog
asked on
Opencv program generate by VC++ 6.0 can't run with Vista
With VC++ 6.0 and Opencv 1.1 installed on my Vista, I can compile and link correctly
my opencv program.
The project settings and directories's links are good configured.
The problem is that this window message appears when I run the program.
Application Error
The application cannot init correctly (0xc0150002).
Click Ok for stopping application
I have the .Net Framwork 3.5 and .Net framework 1.1 installed.
Knowing that for Windows Vista system, path of Program Files are protected for security (only administrator can execute)
I have installed Opencv in this path C:\Opencv1.1, but despite all that I have still the same window error message.
Could you help me please.
my opencv program.
The project settings and directories's links are good configured.
The problem is that this window message appears when I run the program.
Application Error
The application cannot init correctly (0xc0150002).
Click Ok for stopping application
I have the .Net Framwork 3.5 and .Net framework 1.1 installed.
Knowing that for Windows Vista system, path of Program Files are protected for security (only administrator can execute)
I have installed Opencv in this path C:\Opencv1.1, but despite all that I have still the same window error message.
Could you help me please.
ASKER
Hi ZOPPO,
Thank you, I have installed the VC++ 6.0 vcredist.exe on my Vista but there is still the same issue ....
But maybe this issue comes because of before I installed and uninstalled VC++ 2008 ?
Thank you
can you trace the code using F11 so we can know which line causes it ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi,
Thank you the program compil well.
With dependency I have 2 errors message in red:
Error: The Side-by-Side configuration information for "d:\boulot\$_current_dev\o cv_motions egmentatio n\debug\CV 110.DLL" contains errors. L'application n'a pas pu dmarrer car sa configuration cte--cte est incorrecte. Pour plus d'informations, voir le journal d'vnements d'applications (14001).
Error: The Side-by-Side configuration information for "d:\boulot\$_current_dev\o cv_motions egmentatio n\debug\CX CORE110.DL L" contains errors. L'application n'a pas pu dmarrer car sa configuration cte--cte est incorrecte. Pour plus d'informations, voir le journal d'vnements d'applications (14001).
Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.
Although these .dlls are present in the directory where I launch the program, I have this problem .
thank you
Thank you the program compil well.
With dependency I have 2 errors message in red:
Error: The Side-by-Side configuration information for "d:\boulot\$_current_dev\o
Error: The Side-by-Side configuration information for "d:\boulot\$_current_dev\o
Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.
Although these .dlls are present in the directory where I launch the program, I have this problem .
thank you
Hi again,
do you run the applicaton on the same machine where you compiled it? Does the same happen for a RELEASE build? Did you compile the two DLLs shown in yoru last post yourself? IMO for any reasong these DLLs don't fit to the EXE, i.e. use different CRT DLLs or something.
ZOPPO
do you run the applicaton on the same machine where you compiled it? Does the same happen for a RELEASE build? Did you compile the two DLLs shown in yoru last post yourself? IMO for any reasong these DLLs don't fit to the EXE, i.e. use different CRT DLLs or something.
ZOPPO
ASKER
Hi Zoppo,
good see, exact I have compiled first on a Xp machine and then in this vista.
The release compile make the same error message.
What is CRT dlls how use it ?
Thank you
good see, exact I have compiled first on a Xp machine and then in this vista.
The release compile make the same error message.
What is CRT dlls how use it ?
Thank you
ASKER
Hi,
Ok it is resolved by removing all OpenCv (for VC 2005, VC 2008 and VC6) and by reinstalling
Opencv v1.0 with a good environment variable path
So thank you anyway
Ali
ASKER
All to do is removing other OpenCV version but a good thing to know
is that with Vista all Opencv v1.0 functions are not running properly,
so better is to install Opencv v1.1.
maybe you need to install VC 6++ reditributables on the Vista machine - take a look here: http://support.microsoft.com/kb/259403
Hope that helps,
ZOPPO