BalaShiyamala / opencvdotnet

Automatically exported from code.google.com/p/opencvdotnet
0 stars 0 forks source link

program not starting: 0x800736B1 #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. a simple variable declaration of an opencvsharp class
2. run the program

What is the expected output? What do you see instead?
the program generates an exception, this is the text:
Impossibile caricare il file o l'assembly 'OpenCVDotNet,
Version=1.0.2615.24735, Culture=neutral, PublicKeyToken=null' o una delle
relative dipendenze. Impossibile avviare l'applicazione specificata. La
configurazione dell'applicazione non è corretta. Una nuova installazione
dell'applicazione potrebbe risolvere il problema. (Eccezione da HRESULT:
0x800736B1)

What version of the product are you using? On what operating system?
0.7, winxp, visual studio 2008

Original issue reported on code.google.com by 84ye...@gmail.com on 28 Dec 2007 at 12:56

GoogleCodeExporter commented 8 years ago
I do have the exact same problem. using 0.7, visual c# express2005 and winxp sp2

any help is highly appreciated!

Original comment by jkruse2...@gmail.com on 20 Jan 2008 at 12:50

GoogleCodeExporter commented 8 years ago
Same problem here. Im using 0.7, visual sutio 2005 and compiling in vista, 
running 
in xp. I tested in two computers and no good in both. However, somehow i got 
one 
working but could not replicate the solution in the other one (even when 
completaly 
duplicating all paths). This is a big problem since there seems to be no 
correct way 
of installing an aplication...

Original comment by mreichen...@gmail.com on 29 Jan 2008 at 3:35

GoogleCodeExporter commented 8 years ago
Same problem.....
I'm using Microsoft Visual C# 2005 Express Edition on XP.
So I can't do anything now.

Original comment by shadowzs...@gmail.com on 29 Jan 2008 at 6:31

GoogleCodeExporter commented 8 years ago
I can slove that problem now !!!!!

Hi, I found that we have to install the Visual C++ Express Edition in to the 
developing machine. Then you can run the project via C# Express Edition without 
config anything.

I realy don't understand why we have to do like that but it work for me now.

Original comment by shadowzs...@gmail.com on 30 Jan 2008 at 4:10

GoogleCodeExporter commented 8 years ago
If you have only VC#, install VC++ too. It's working, I don't know why but It's 
working

Original comment by m.kro...@gmail.com on 5 Feb 2008 at 11:56

GoogleCodeExporter commented 8 years ago
does this mean that it only works using visualc# express? I have visual studio 
2008 
professional, and I installed every c++ component, so I thought that it should 
work... instead it does not! always the same error here :(

Original comment by 84ye...@gmail.com on 12 Feb 2008 at 6:12

GoogleCodeExporter commented 8 years ago
I have installed vsc++express 2005 and now it works with 2008. But... this is 
quite
mad! Don't you think so?

Original comment by 84ye...@gmail.com on 13 Feb 2008 at 5:48

GoogleCodeExporter commented 8 years ago
I am using Visual C# 2008 Express edition and I am having the same problem.  I 
have
moved all of the dlls to the system32 folder and followed all of the 
directions. 
Please help!

Original comment by jefftime...@gmail.com on 7 Jun 2008 at 4:40

GoogleCodeExporter commented 8 years ago
Id say , give up!,  noone is doing a thing with this critical mistake, its not 
only a
huge error, but also a common one,   it simply means OpenCVdotnet doesnt work,  
 ive
lost a day trying to make it work...

...just another reason why C sucks vs java

Original comment by homuncul...@gmail.com on 11 Jun 2008 at 2:16

GoogleCodeExporter commented 8 years ago
I experience the same problem... (VS2005 Pro, Win XP SP2, probably don't have 
VC++
installed at all)

I'm e-mailing the author directly to get his attention.

I'm also going to attempt to summarize here:

1. The library throws an exception when attempting to run without VC++ 
installed -
this is even if you're linking into the library without attempting to compile 
from
source.
2. Those who experience the problem apparently can fix it by installing any 
edition
of VC++ 2005 (Express, or the one that comes with their license of Studio)
3. Users of VS2008 may install a version of VC++2005 for this to work
4. Users of VS2008 with VC++2008 still experience the error

My suggestion to correct would be:

1. In the short term, add information to the home page indicating that if you 
don't
have a version of VC++ installed and get an error, try installing a version of 
VC++2005
2. Investigate why the DLL requires VC++2005 to compile - there may be some code
signing options you need to take when compiling it, or you should try including 
an
actual VC# wrapper of the VC++2005 DLL - my guess is that the compiler needs 
the VC++
environment to auto-generate a VC# wrapper on the fly without one included.  It 
might
even be that you just need to change some of the compilation options for this.

Original comment by merlin...@gmail.com on 29 Jun 2008 at 12:44

GoogleCodeExporter commented 8 years ago
I managed to solve the error compiling opencv STATICALLY: you have to open every
solution, and to change the c++ settings to output a STATIC DLL, instead of a 
DYNAMIC
DLL. Then it works in my case

Original comment by 84ye...@gmail.com on 29 Jun 2008 at 5:06

GoogleCodeExporter commented 8 years ago
That seems like an awfull lot of work 84yelo3!
How exactly do you change that from DYNAMIC to STATIC DLL?
I know i may sound a little to lazy, but cant you some how post those recompiled
opencv dll for all of us to test?

Original comment by mreichen...@gmail.com on 11 Jul 2008 at 9:19

GoogleCodeExporter commented 8 years ago
Well, I really don't know how I did... Just because I couldn't reproduce it 
again,
but I have the compiled DLL.
I will attach them.

If you like you can try to RECOMPILE opencv-dotnet using visual studio 2008. 
maybe
that's how I did it!

the compiled version I attach have some modification from the original, but I 
don't
remember, because I did it long ago.

tell me if it works for you

Original comment by 84ye...@gmail.com on 11 Jul 2008 at 9:27

Attachments:

GoogleCodeExporter commented 8 years ago
recompiled opencvdotnet.dll did not work for me, am still receiving the same 
error
(bad image)

Original comment by Edward.P...@gmail.com on 3 Dec 2008 at 8:53

GoogleCodeExporter commented 8 years ago
Thanks a lot 84yelo3!!! That .dll worked for me. 
I'm using:
Microsoft Visual Studio 2008 Version 9.0.21022.8 RTM
Microsoft .NET Framework Version 3.5 SP1
Installed Edition: C# Express

@WinXP SP3

It's strange because this error is due the lack of the VC++ 2005 SP1 
Redistributable
Package (vcredist_x86.exe) and my system has the VC++ 2008 Redistributable...
Theoretically, it should work fine...

Original comment by nicolas....@gmail.com on 16 Mar 2009 at 9:33

GoogleCodeExporter commented 8 years ago
thanks so much, 84yelo3. Your dll saved my life. It did work, wow!!  I was 
finding the solution for a long long time. Didn't get one and I didn't want to 
install VC++ 2005 either, it sounds too silly for me to install another program 
that we don't really have to use.

Original comment by turktaet...@gmail.com on 8 Jul 2010 at 3:09

GoogleCodeExporter commented 8 years ago
I have that error hwo can help me
----------------
Attempting managed execution inside OS Loader lock. Do not attempt to run 
managed code inside a DllMain or image initialization function since doing so 
can cause the application to hang.
--------------------------

OMP: Warning #2: Cannot open message catalog "1036\libiomp5ui.dll":
OMP: System error #126: The specified module could not be found.
OMP: Info #3: Default messages are used.
OMP: Error #15: Initializing libiomp5md.dll, but found libguide40.lib already in
itialized.
OMP: Hint: This may cause performance degradation and correctness issues. Set en
vironment variable KMP_DUPLICATE_LIB_OK=TRUE to ignore this problem and force th
e program to continue anyway. Please note that the use of KMP_DUPLICATE_LIB_OK i
s unsupported and using it may cause undefined behavior. For more information, p
lease see http://www.intel.com/software/products/support/.

-------------------------

Original comment by elhadyle...@gmail.com on 9 Jul 2010 at 1:45