chrstnherr18 / ehci

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

Windows Binaries crashing #22

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Running Windows XP SP3
2. Running the precompiled binaries

What is the expected output? What do you see instead?
It just crashes, for every single program

What version of the product are you using? On what operating system?
EHCI 0.7 with OpenCV2.2 installed

Please provide any additional information below.
The webcamera is a logitech quickcam pro 9000 with the drivers installed.  Not 
sure what else would be of help to say.

Original issue reported on code.google.com by RicardoF...@gmail.com on 21 Feb 2011 at 11:06

GoogleCodeExporter commented 8 years ago
Well, it sounds like a configuration problem.
Can you go into data folder, and edit the file config.ini?
In the line where it reads
CAMERA_INDEX 1
change it to
CAMERA_INDEX 0
This will get the firstly available webcam.
In case it doesn't work, can you check the samples folder of your OpenCV 
installation? Does it work?
Best regards,
Daniel

Original comment by danielba...@gmail.com on 22 Feb 2011 at 3:46

GoogleCodeExporter commented 8 years ago
That did not allow the programs to run.  The exact error is:

The application has failed to start because the application configuration is 
incorrect.

I can run the OpenCV samples perfectly fine so I haven't the slightest clue as 
to why these binaries cannot run.

Original comment by RicardoF...@gmail.com on 22 Feb 2011 at 4:55

GoogleCodeExporter commented 8 years ago
Hi Ricardo, how are you?
Thanks for checking that. It seems we are running into the problem assigned by 
this thread:
http://social.msdn.microsoft.com/forums/en-US/vcgeneral/thread/66bc8cab-c134-49a
8-85e5-37ca9efbdeb4/
It has something to do with you not having Visual Studio Express installed. I 
believe that if you install it, everything will run fine... but it sounds like 
an overkill... so, maybe if you install only the Visual Studio Redistributable, 
which is here:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a5c84275-3b97-4ab7-a
40d-3802b2af5fc2&DisplayLang=en
could solve your problem.
Can you try one of these and tell us if it has worked, please?
Best regards, thanks,
Daniel

Original comment by danielba...@gmail.com on 23 Feb 2011 at 12:56

GoogleCodeExporter commented 8 years ago
Yes, that worked wonders!  Thanks!  All of the programs run just fine now.

Original comment by RicardoF...@gmail.com on 23 Feb 2011 at 6:01

GoogleCodeExporter commented 8 years ago
Great, thank you.
Just out of curiosity, was it the VS Redistributable that you installed or the 
VS Express?
Thank you,
Daniel

Original comment by danielba...@gmail.com on 23 Feb 2011 at 7:05

GoogleCodeExporter commented 8 years ago
I used the redistributable from the 2nd link you posted.  The binaries run fine 
now, but I'm still getting a crash on the .exe I compile myself.  Is it 
possible that it is because I am using OpenCV2.2 as opposed to 2.1?

Original comment by RicardoF...@gmail.com on 7 Mar 2011 at 8:33

GoogleCodeExporter commented 8 years ago
Thank you for your information.
When does the crash happen? Is it in the beginning? Is it after it runs for a 
couple seconds? Is there any info on the console? Can you run it in debug mode 
and get a clue of the line it's crashing?

Best regards,
Daniel

Original comment by danielba...@gmail.com on 7 Mar 2011 at 9:53

GoogleCodeExporter commented 8 years ago
I should clarify

1. I compile your source code using my own makefile
2. I use OpenCV 2.2 as opposed to 2.1
3. The code compiles but automatically crashes as soon as it is run, and I have 
already double checked config.ini to match the config.ini that works with your 
binaries

Original comment by RicardoF...@gmail.com on 8 Mar 2011 at 3:24

GoogleCodeExporter commented 8 years ago
How are you running it? Is it through Visual Studio or some other IDE? Please, 
check that when running from these programs, relative folders may be in 
different places, so, make sure all files ehci depends are in the correct 
places... the best way to know they are in the right place is running them from 
the command line. Can you check that, please?
Regards,
Daniel

Original comment by danielba...@gmail.com on 8 Mar 2011 at 4:12

GoogleCodeExporter commented 8 years ago
Sorry for the exceptionally late response.

I am using using make to compile the code with the mingw g++ compiler (3.4.5) 
on my computer and I believe (4.5.2) on the other computer.  When I compile 
using g++ (3.4.5), both computers can use the .exe that results.  Using the 
computer with (4.5.2) to compile leads to a .exe that crashes immediately on 
both computers.  I've simply decided to workaround by compiling on (3.4.5).

On a side note, is there a way to control the frames captured by the camera? 
Capturing 640x480 makes the program a little sluggish, but I do not know how to 
capture smaller images such as 320x240.

Thanks for the excellent software! It's really powerful.

Original comment by RicardoF...@gmail.com on 5 Apr 2011 at 8:23