wxWidgets and hidapi (for usb)
Posted: Thu Dec 13, 2012 11:13 am
Hello, I am trying to make a wxWidgets program that uses the hidapi usb library.
It's been several days of struggle, and I have just reached the point where I don't get undefined symbol errors on compile. However the USB library, from the site above, came as a VC++ project. I built the project in Visual Studio
C++ 2008, and am now using resulting dll and .h files in my wxWidgets project. No errors during compile and linking, but... when I run the program (either inside or outside the IDE), I get a popup window saying that the program could not find MSVCR100.dll. (fill in cuss word here).
Apparently this is a run-time environment that all VCpp 2008 executables need. I downloaded it, installed it, and still got the same error. I'm hoping there is an easy fix for this, since I'm very happy with having reached this point . Otherwise, I have to try and repeat some really boring steps that I took to get here: Install and uninstall VCpp 2005, VCpp2010 etc. every damned version until I find one that works. Apparently only VCpp 2008 needs to have this run time environment installed for its executables to run. Since now I seem to have all the wxWidget project files in their correct places, I could try re-installing VCpp 2010 and recompiling the hidapi project there. I would rather avoid this if there is an alternative.
Thanks in advance
It's been several days of struggle, and I have just reached the point where I don't get undefined symbol errors on compile. However the USB library, from the site above, came as a VC++ project. I built the project in Visual Studio
C++ 2008, and am now using resulting dll and .h files in my wxWidgets project. No errors during compile and linking, but... when I run the program (either inside or outside the IDE), I get a popup window saying that the program could not find MSVCR100.dll. (fill in cuss word here).
Apparently this is a run-time environment that all VCpp 2008 executables need. I downloaded it, installed it, and still got the same error. I'm hoping there is an easy fix for this, since I'm very happy with having reached this point . Otherwise, I have to try and repeat some really boring steps that I took to get here: Install and uninstall VCpp 2005, VCpp2010 etc. every damned version until I find one that works. Apparently only VCpp 2008 needs to have this run time environment installed for its executables to run. Since now I seem to have all the wxWidget project files in their correct places, I could try re-installing VCpp 2010 and recompiling the hidapi project there. I would rather avoid this if there is an alternative.
Thanks in advance