hello, i want to use ehci python bindings but i don't know how to compile it on windows, i use windows XP and i have visual studio 2005, i found it is difficult to set, because i knows little about makefile. please give some instruction to compile on windows, thank you.
Comment #1
Posted on Oct 20, 2008 by Helpful RabbitHi weihuan, you are right, the makefile uses SWIG and it's currently only working in Linux. One will need SWIG for windows in order to make it work (http://www.swig.org/Doc1.3/Windows.html). It will take me a while to finish it, so, in case anyone wants to implement that for windows and submit a patch, I'd be happy to incorporate it to the project. Thank you!
Comment #2
Posted on Nov 3, 2008 by Quick DogI m also using VisualStudio, in order to compile, the following 3 files needs to be included to an empty win32 console project ehci-0.4\lib\ehci.h ehci-0.4\lib\ehci.cpp ehci-0.4\samples\boxView3d.cpp (other samples also work, but this one is cool!)
also remeber to setup the OpenCV environment
ifdef _DEBUG
#pragma comment(lib,"cvd.lib")
#pragma comment(lib,"cvauxd.lib")
#pragma comment(lib,"cxcored.lib")
#pragma comment(lib,"highguid.lib")
else
#pragma comment(lib,"cv.lib")
#pragma comment(lib,"cvaux.lib")
#pragma comment(lib,"cxcore.lib")
#pragma comment(lib,"highgui.lib")
endif
GoodLuck!
Comment #3
Posted on Feb 28, 2009 by Helpful RabbitHi vinjn.z ,
thanks for sharing it with us.
I've linked that to http://code.google.com/p/ehci/wiki/CompilingOnWindows and added as a featured page.
Thank you
Comment #4
Posted on Mar 3, 2009 by Grumpy ElephantHmmm.. but, still no info about how to compile to create the python bindings, which the issue was about?
Comment #5
Posted on May 27, 2009 by Swift ElephantHow can I setup the OpenCV environment? Can you help to show me the steps to include:
ifdef _DEBUG
#pragma comment(lib,"cvd.lib")
#pragma comment(lib,"cvauxd.lib")
#pragma comment(lib,"cxcored.lib")
#pragma comment(lib,"highguid.lib")
else
#pragma comment(lib,"cv.lib")
#pragma comment(lib,"cvaux.lib")
#pragma comment(lib,"cxcore.lib")
#pragma comment(lib,"highgui.lib")
endif
Which file should I add in this?
Status: Done
Labels:
Type-Other
Priority-Medium