Author Topic: HowTo: Compilling Lasershark 3DP with Cygwin64 on Win7 64Bit  (Read 22441 times)

Stimpy

  • Newbie
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Hello all

I will explain how to compile LaserShark-3dp on Windows 7 Ultimate 64bit.
First thing todo is download setup-x86_64.exe from this site https://www.cygwin.com/install.html
Install cygwin64 full some error messages will popup that's no problem.
This will take some time to install.

After install you start Cygwin64 Terminal. Cygwin will make new user account.
I have make a movie of everything the link of the movie is :

https://www.youtube.com/watch?v=OEjNz98W8XI

Some other links needed for compiling u will see in movie.

https://github.com/cinemast/libjson-rpc-cpp.git
https://github.com/macpod/lasershark_3dp.git
https://github.com/macpod/lasershark_hostapp.git

Movie of installing Zadig USB and starting the software

https://www.youtube.com/watch?v=h7AyS6H2A0M

Movie maked with my phone to let see what the lasershark and twostep module is doing when software is started.

https://www.youtube.com/watch?v=oLjOevr1UPA

That is what i have get working and hope to get some other software working.
Have heard that creationworkshop software something gona do with it but not sure. Hope to get more peeps interest for this project.

Also make a wiki on http://ls3dp.spice.net.au

Greetings Stimpy
 
« Last Edit: June 16, 2014, 09:04:28 PM by Stimpy »

Stimpy

  • Newbie
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: HowTo: Compilling Lasershark 3DP with Cygwin64 on Win7 64Bit
« Reply #1 on: June 20, 2014, 07:44:24 AM »
Hello all,

Have speak to pacmanfac the creator of creation workshop.
He have it working for 95% and say that er will be a working beta in a week or so
That would be nice hehehe :P

Greetings Stimpy


Macpod

  • Administrator
  • Full Member
  • *****
  • Posts: 179
  • Karma: +3/-0
    • View Profile
Re: HowTo: Compilling Lasershark 3DP with Cygwin64 on Win7 64Bit
« Reply #2 on: June 21, 2014, 01:50:00 PM »
Nice job Stimpy! I'm sure those who are attempting to build the source in windows will really appreciate this. I am curious, did you look into using mingw in combination msys or GOW? It would have the potential to decrease the footprint on the system. I very rarely do MS development so I can't say I have tried this, just curious if you looked into it.

Yes pacman fan has been working on lasershark integration for a while now. I think those who are more interested in 3d printing vs making custom systems and those who are not familiar with programming will be very happy

veneridesign

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: HowTo: Compilling Lasershark 3DP with Cygwin64 on Win7 64Bit
« Reply #3 on: January 02, 2015, 04:49:52 AM »
Hello, sorry for the silly question but I'm not know very well the Cygwin.
I follow the video but under download/libjson-rpc-cpp i didnt find the "build" directory, I make one , and when I type cmake I received this error:

"...
CMake Error at cmake/FindJSONCPP.cmake:33 (MESSAGE):
  Could not find libjsoncpp
Call Stack (most recent call first):
  src/jsonrpccpp/CMakeLists.txt:1 (find_package).."

Can someone help me?
thankyou very much!!
Luca

Macpod

  • Administrator
  • Full Member
  • *****
  • Posts: 179
  • Karma: +3/-0
    • View Profile
Re: HowTo: Compilling Lasershark 3DP with Cygwin64 on Win7 64Bit
« Reply #4 on: January 06, 2015, 09:26:04 AM »
Hi Veneridesign

Have you considered using CreationWorkshop with the LaserShark or are you compiling the pre-alpha lasershark_3dp code to develop your own software?

danielm

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: HowTo: Compilling Lasershark 3DP with Cygwin64 on Win7 64Bit
« Reply #5 on: January 13, 2015, 03:36:18 PM »
Hi Macpod, Stimpy,

I am experiencing issues during compiling of libjson-rpc-cpp with Cygwin under Windows 7 32-bit. I keep getting following error:

-- Found libjsoncpp: /home/Daniel/download/libjson-rpc-cpp/win32-deps/lib/libjsoncpp.dll.a
-- Found libcurl: /usr/lib/libcurl.dll.a
-- Activated libmicrohttpd HTTP Server
CMake Error at cmake/FindMHD.cmake:32 (MESSAGE):
  Could not find libmicrohttpd
Call Stack (most recent call first):
  src/jsonrpccpp/CMakeLists.txt:52 (find_package)

I downloaded pre-compiled dependencies as desribed here for Windows compile: https://github.com/cinemast/libjson-rpc-cpp
All dependencies are found during cmake except libmicrohttpd despite the fact that it is present in the folder /win32-deps (however, there is only libmicrohttpd-10.dll, not *.dll.a).

Do you have any ideas how I should continue? Thank you!


Macpod

  • Administrator
  • Full Member
  • *****
  • Posts: 179
  • Karma: +3/-0
    • View Profile
Re: HowTo: Compilling Lasershark 3DP with Cygwin64 on Win7 64Bit
« Reply #6 on: January 15, 2015, 11:11:04 PM »
Hi danielm,

It looks like the pre-compiled libjson-rpc-cpp package has an issue for Windows. That dev would probably appreciate you letting them know about the issue.

In the meantime you should check the find script and check to see what it is attempting to match and determine how it differs from the name of the actual lib. If you can change it and verify that solves the problem I know the libjson-rpc-cpp folks would really appreciate that.