Author Topic: LaserShark 3DP for windows 7 64bit  (Read 49363 times)

cutecheng

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: LaserShark 3DP for windows 7 64bit
« Reply #15 on: May 20, 2014, 08:09:02 PM »
Hi, Jeff, I finally solved the problem  :D
In Zadig, I should use "libusb-win32(v1.2.6.0)" in stead of the default setting (WinUSB). Now i'm able to communicate properly with the board, thanks for all your help!

Macpod

  • Administrator
  • Full Member
  • *****
  • Posts: 179
  • Karma: +3/-0
    • View Profile
Re: LaserShark 3DP for windows 7 64bit
« Reply #16 on: May 20, 2014, 11:20:55 PM »
I'm glad some of those suggestions helped you out and thanks for pointing out what you needed to do to get things up and going. Others will certainly appreciate it.

Please feel free to share what you end up doing with the kit. Also if there's something that can be easily added to the build script (i.e. better windows support when searching for dependencies) let me know and I can try and add them to the code base on github.


cutecheng

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: LaserShark 3DP for windows 7 64bit
« Reply #17 on: May 21, 2014, 09:03:00 AM »
I created a console project in microsoft visual studio with the default setting, then imported "LaserShark.h" and "LaserShark.cpp". A lot of libraries are not supported in windows, for example, "thread", "atomic", "mutex", they need to be removed from the code until the project can be compiled.

Zadig was used for the driver installation, but the trick is windows does not support "WinUSB" well, we can use either "libusb-win32(v1.2.6.0)" or "libusbK".
Zadig: http://zadig.akeo.ie/

The latest "libusb" library can be downloaded here:libusb: http://sourceforge.net/projects/libusb/?source=dlp. Both the static library and dynamic library work well in the Visual Studio environment.

Macpod

  • Administrator
  • Full Member
  • *****
  • Posts: 179
  • Karma: +3/-0
    • View Profile
Re: LaserShark 3DP for windows 7 64bit
« Reply #18 on: May 21, 2014, 11:07:40 PM »
Those are all standard with c++11 which should be cross platform compatible(this is why I'm using them). Instead of whatever compiler microsoft visual studio uses you could try using MinGW's under Windows.
http://www.mingw.org/

For this system to work as design (with json-rpc-cpp aspects... I know you aren't using these portions) use of threads, mutexes and atomic variables are necessary so those can't really be removed.
« Last Edit: May 21, 2014, 11:18:31 PM by Macpod »

Stimpy

  • Newbie
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: LaserShark 3DP for windows 7 64bit
« Reply #19 on: June 16, 2014, 08:46:15 AM »
hello all

The new release from macpod i can make it also in windows 7 64bit.
I will make a post how to compile everyhting so you can do it by your self.
I think it will be online toonight.

Greetings all