Cl.exe and mt.exe but got "...MSVCR80.dll was not found. Re-installing..."
The compile and manifest were completed with no complaints but when I ran the code, I got "This application has failed to start because MSVCR80.dll was not found. Re-installing the application may fix this problem.".
Here is what I did:
Step 1: Compile and manifest
"%MSVCDir%\bin\cl.exe" /I"%JAVA_HOME%\include" /I"%JAVA_HOME%\include\win32" /MD /LD /FeBinless.dll ../info/binless/jni_binless.c ../jni_shared/jni_gen_c.c ../jni_entropy/jni_entropy_c.c ../jni_input/jni_input_c.c ../info/binless/binless_c.c ../../info/binless/BinlessOpenComp.c ../../info/binless/BinlessWarpComp.c ../../info/binless/BinlessEmbedComp.c ../../info/binless/BinlessInfoComp.c ../../shared/MatrixToHist2DComp.c ../../shared/Info2DComp.c ../../shared/sort_c.c ../../shared/gen_c.c ../../shared/hist_c.c ../../input/input_c.c ../../entropy/entropy_c.c ../../entropy/entropy_bub_c.c ../../entropy/entropy_chaoshen_c.c ../../entropy/entropy_ma_c.c ../../entropy/entropy_tpmc_c.c ../../entropy/entropy_jack_c.c ../../entropy/entropy_plugin_c.c ../../entropy/entropy_ww_c.c ../../entropy/variance_jack_c.c ../../entropy/variance_boot_c.c ../../entropy/entropy_nsb_c.cpp /link libxml2.lib libgsl.a libgslcblas.a >> binless-out.txt
mt.exe -manifest Binless.dll.manifest -outputresource:Binless.dll;2
The operating system is Windows XP and has the following environment variables:
PATH=%JAVA_HOME%\bin;%LIBXMLDir%\bin;%ICONVDir%\bin;%GNUWINDir%\bin;%WINSDKDir%\bin;%MSVCDir%\bin;%MSVCDir%\..\Common7\IDE;%ZLIBDir%\bin;%systemroot%\system32;%systemroot%;%systemroot%\system32\wbem
INCLUDE=%WINSDKDir%\include;%GNUWINDir%\include;%MSVCDir%\include;%MSVCDir%\PlatformSDK\include;%JAVA_HOME%\include;%JAVA_HOME%\include\win32;%LIBXMLDir%\include;%ICONVDir%\include;%ZLIBDir%\include
LIB=%WINSDKDir%\lib;%GNUWINDir%\lib;%MSVCDir%\lib;%MSVCDir%\PlatformSDK\lib;%LIBXMLDir%\lib;%ICONVDir%\lib;%ZLIBDir%\lib
where:
GNUWINDir=c:\project\lib\GnuWin32
ZLIBDir=c:\project\lib\zlib
ICONVDir=c:\project\lib\iconv
LIBXMLDir=c:\project\lib\libxml2
WINSDKDir=C:\Program Files\Microsoft SDKs\Windows\v6.0A
MSVCDir=C:\Program Files\Microsoft Visual Studio 9.0\VC
Step 2: Compile the Java jni code
javac -d ..\classes ..\server\Binless.java
Step 3: Run the code
java -classpath ..\classes jni.test.test_binless
Got: This application has failed to start because MSVCR80.dll was not found. Re-installing the application may fix this problem.
Any help is greatly appreciated. Thanks.
This is a Windows side-by-side issue not a JNI issue. As such it doesn't really
belong in this forum except as an object lesson to people who create JNI's.
I had these issues when I moved to Visual Studio 2005 - which, oddly enough,
was the version of the IDE where SxS support was not only introduced, but
enforced.
The fact that you tried to put a SxS folder in the PATH tells me you know
nothing about how SxS and manifests works. You need to learn about these
things and then your problems will become blushingly obvious.
The Binless.dll manifest must be embedded, and it must contain dependency
entries that specify the SxS requirements, including the version(s) of the
dependent libraries. Secondly, the specific version of the libraries must be
installed on the target system.
My guess is your manifest specifies a CRT version that's not installed on your
system and that is why the system is complaining. Look for the
Binless.dll.intermediate.manifest file. It will tell you what your dll expects.
Here's an example of a dll (debug version) manifest:
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level='asInvoker' uiAccess='false' />
</requestedPrivileges>
</security>
</trustInfo>
<dependency>
<dependentAssembly>
<assemblyIdentity type='win32' name='Microsoft.VC90.DebugCRT' version='9.0.30729.4148' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly>
<assemblyIdentity type='win32' name='Microsoft.VC90.DebugMFC' version='9.0.30729.4148' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly>
<assemblyIdentity type='win32' name='Microsoft.VC90.ATL' version='9.0.30729.4148' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
</dependentAssembly>
</dependency>
</assembly>Get [Dependency Walker|http://www.dependencywalker.com/] it's free. You will need it at some point.
Cheers,
Mike
Similar Messages
-
i tried to open itunes and it said "This application has failed to start because MSVCR80.dll was not found. re-installing the application may fix this problem" and "itunes was not installed correctly. please reinstall itunes. Error 7 (windows error 126)" what does this mean and how do I fix it? I reinstalled itunes and this just popped up again :C
See Troubleshooting issues with iTunes for Windows updates.
tt2 -
Why when I tried to update itunes it crashed and now I get a MSVCR80.dll was not found and can not start my itunes any more?
Solving the iTunes Installation Problems in Windows
1. Apple has posted their solution here: iTunes 11.1.4 for Windows- Unable to install or open - MSVCR80 issue.
2. If the Apple article does not fully resolve the problem for you, then try Troubleshooting issues with iTunes for Windows updates - MSVCR80. -
Since the lastest update i am unable to open up my itunes. i receive a message saying applicatin has hailed to start because MSVCR80.dll was not found. re-installing the applicaiton may fix this problem
Try the following user tip:
Troubleshooting issues with iTunes for Windows updates -
I received an iTunes update today and updates files. Tonight, I couldn't acces my iTunes. I uninstalled and reinstalled and still getting same error message: iTunes exe unable to locate component. This application has failed to start because MSVCR80.DLL was not found. Reinstalling the application may fix this problem. I've done it several times and still get the error. I'm fearful I have lost all my music. What can I do?
Try the following user tip:
Troubleshooting issues with iTunes for Windows updates -
I already had itunes installed on my pc. I received an update and tried to install it. I got a message
This application failed to start because MSVCR80.dll was not found. Reinstalling may fix the problem.
I uninstalled itunes and tried to reinstall. itunes says it has installed but when I try to open itunes I get the same message.
How do I repair/sort out this error/fault
Thanks
DavidTry the following user tip:
Troubleshooting issues with iTunes for Windows updates -
Can't open iTunes, keeps getting this error "iTunes.exe - Unable to locate component. This application has failed to start because MSVCR80,dll was not found"
Solving MSVCR80 issue and Windows iTunes install issues.
-
I tried to download the latest version of iTunes but failed half way through. It suggested that i reinstall we I tried. However, i now get this message which states "Application has failed to start because MSVCR80.dll was not found. Reinstalling the application may fix the problem"
I have tried this but with no success. I have therefore found that I cannot access my iTunes library at all now.
What should I do.Click here and follow the instructions. You may need to completely remove and reinstall iTunes and all related components, or run the process multiple times; this won't normally affect its library, but that should be backed up anyway.
(99792) -
Hello,
Yesterday I tried to get onto iTunes and was unable to. I keep getting this message:
Itunes.exe - Unable to locate component.
This application has failed to start because MSVCR80.dll was not found.
Re-installing the application may fix this problem.
I have tried to uninstall and re-install the program several times but cannot get it to work. Now I get this message:
iTunes was not installed correctly. Please reinstall iTunes.
Error 7 (Windows error 126)
I have tried to do what I can but am not really iTunes savy and would like to get this issue resolved. Can anyone help me?
THANK YOU!!
CynHello there, Cyn.
The following Knowledge Base article provides some great information for troubleshooting your issue. Keep in mind uninstalling and reinstalling has to be done in a very specific fashion, therefore use the guidelines from this article to accomplish this:
Issues installing iTunes or QuickTime for Windows
http://support.apple.com/kb/ht1926
Thanks for reaching out to Apple Support Communities.
Cheers,
Pedro. -
itunes update would not install due to an error, now itunes won't run and I get this error message when I try to launch itunes: iTunes.exe - Unable to Locate Component "This application has failed to start because MSVCR80.dll was not found. Re-installing the application may fix this problem."
I'm on a Dell PC running Vista Home Premium.
HELP!!!!!!!!!!!!!!!!!!!try removing all itunes and all other apple program
follow this link for more info. http://support.apple.com/kb/HT1923
reboot ur window after uninstalling
after that download the latest itunes setup and install. -
I recently connected my iPhone to my computer, iTunes would not start... I got error: "applcation failed to start because MSVCR80.dll was not found. Re-installing the appliacation may fix the problem." When I tried reinstalling it failed - it said insufficient permission. I have administrative rights... please, any help and/or ideas will be appreciated.
Solving the iTunes Installation Problems in Windows
1. Apple has posted their solution here: iTunes 11.1.4 for Windows- Unable to install or open - MSVCR80 issue.
2. If the Apple article does not fully resolve the problem for you, then try Troubleshooting issues with iTunes for Windows updates - MSVCR80. -
I just updated my iTunes and now I get a message that the application has failed to start because MSVCR80.dll was not found. What happened and how do I fix this? I can't access any of my music now.
Click here and follow the instructions. You may need to completely remove and reinstall iTunes and all related components, or run the process multiple times; this won't normally affect its library, but that should be backed up anyway.
(99460) -
This just came up : Failed to start MSVCR80.dll was not found. I tried re-installing it a few times and same thing.
Click here and follow the instructions. You may need to completely remove and reinstall iTunes and all related components, or run the process multiple times; this won't normally affect its library, but that should be backed up anyway.
(99601) -
I had i tunes but the other day,but this came up
msvcr80.dll was not found and it told me to re-install
this application and to download i tunes again.
so i uninstalled i tunes and now i cant install i tunesGo to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
Remove all of these items in the following order:
iTunes
Apple Software Update
Apple Mobile Device Support (if this won't uninstall move on to the next item)
Bonjour
Apple Application Support
Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
Please note:
Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
HT1925: Removing and Reinstalling iTunes for Windows XP
HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
tt2 -
I am having a problem updating itunes to the latest version on my windows xp i get the error message 126 and the banner that says this application has failed because MSVCR80.dll was not found. anyone have a fix suggestion? thanks
Click here and follow the instructions.
(98724)
Maybe you are looking for
-
Inbox messages won't appear on Mail
My ymail account won't sync to my Mail. I'm on OS X. I'm not too sure what happened. All my other accounts like hotmail and another yahoo mail are synced and I can access my messages. I tried deleting the account but it's still the same.
-
Printing Mailing Labels from Address Book
Stupid question, but one that is driving me crazy. How do you print a sheet of mailing labels from Address Book but when the entire sheet of labels is the SAME label? I can print labels successfully in address book, can select the label type and numb
-
Please delete my Adobe account and remove all my data from your servers
As above. Thank you.
-
Require a formula to calc the diff between 2 running total fields in a crosstab
Post Author: PJM CA Forum: General Hi, I have built a crosstab in Crystal XI with the following columns: PROFILED BUDGET (a) EXPENDITURE TO DATE (b) VARIANCE (a-b) The profiled budget and expenditure
-
Choosing proper image file format
I was wondering if anyone else had ever experienced this connundrum: In my business documents (in Word) if I insert my logo in tif format, it looks great when the document is printed, but horrible in digital format; conversely, if I use .png the imag