From: Frans S. <fra...@gm...> - 2010-03-24 08:59:35
|
Hi Mark, Oops... Francesco has changed something in the .vcproj file, you have to build wxWidgets using MONOLITHIC = 0 now. Frans On 3/24/2010 8:47, Frans Schreuder wrote: > Hi Mark, > > I also used to build usbpicprog with wxDev-C++, but since we switched > over to libusb-1.0, it is also better to build the application using > Microsoft Visual Studio 2008. (A free version is available). > There is an issue with libusb-1.0 and the mingw compiler (I believe > especially for the 64 bit version) that made us switch over to MSVC. > > To build wxWidgets for msvc, you need to do these steps: > -download and extract wxWidgets-2.9.0 > -download and install MS visual studio 2008 > -edit wxWidgets-2.9.0\build\msw\config.vc and change the line > "MONOLITHIC = 1" (it used to be 0) > -start the "ms Visual Studio 2008 command prompt" which is in fact > just cmd.exe with some environment variables set > -cd wxWidgets\build\msw > -nmake -f makefile.vc > -set an environment variable WXWIN with the value c:\wxWidgets-2.9.0 > (or wherever you have compiled it) and don't forget to reboot afterwards > -now open the right usbpicprog project > (usbpicprog\trunk\upp_wx\build\win\upp_wx_vc2008.vcproj) > -you might have to set some include directories, or move around with > some files if it doesn't compile right away, but in fact it should > compile now! > > Good luck! > > Frans > > > On 3/24/2010 3:28, Mark Jones wrote: >>> 2010/3/12 Mark Jones<hel...@gm...>: >>>> Hello friends, I've been having some difficulty using the UPP in >>>> Windows 7 32-bit. The software and drivers appear to install and run >>>> correctly, and the UPP firmware can be updated and verified >>>> successfully, but I can not read or write to a target 18LF2553, >>>> 16F628, or 16F84A. I'd be happy to test and debug what I can. >>>> .... >>> Hi Mark, >>> Can you retest against latest revision of the trunk? I think r864 >>> should have fixed the programming problems... >>> >>> Francesco >> Hi Francesco, today is as good as any to learn some C++ eh? : ) I >> decided to try setting up a build environment for UsbPicProg. I >> installed wxDev-C++ v7.3.1.3 on Win7 32-bit (thinking it would be >> better-suited to developing wxWidgets-based applications), installed >> TortoiseSVN v1.6.7, retrieved the trunk from SVN, updated the paths to >> libusb.h, but then got stuck on the wxWidgets dependency. I know it >> needs the wxWidgets-2.9.0 "libraries" but what exactly needs to go >> where? The folder tree is rather complex, and wxWidgets can be >> compiled in an alarming number of ways. Even tried doing "configure" >> under MSYS. I'll keep plugging away at it, but any additional hints >> would be very helpful. >> >> I can also "build" wxWidgets-2.9.0 according to >> http://wxdsgn.sourceforge.net/?q=node/9 but I have not tried >> installing this as a DevPak in wxDev-C++ (and really doubt it would >> work anyways.) >> >> Mark >> >> ------------------------------------------------------------------------------ >> >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Usbpicprog-technical mailing list >> Usb...@li... >> https://lists.sourceforge.net/lists/listinfo/usbpicprog-technical |