SICKAG / sick_scan_base

Generic C++ library for SICK laser scanner. Currently we support Windows and Ubuntu 18.04LTS for x86 architectures with this software. Within the demo the gathered data is stored at regular intervals as CSV data and as an image file in JPEG format. The image file shows the scan data in the top view.
Apache License 2.0
21 stars 16 forks source link

Sick_scan on Windows 10 #9

Closed Mecatropabien closed 3 years ago

Mecatropabien commented 3 years ago

Hello,

I'm working on a TIM240 and I would like to use sick_scan on Windows 10. I had some trouble first because some librairies (inet.h, socket.h) are for Unix. Sick send me a link to a closed issue which can help me : https://github.com/SICKAG/sick_scan_base/issues/6

I saw your recommandations and I installed vcpkg, boost and pthread. But I don't understand the next step about build.bat. which build.bat ? Where I can find it ? sick_scan issue

Thank you in advance for your response. Best regards, Julien REY.

michael1309 commented 3 years ago

build.zip Hi Julien,

find attached a build.bat as an example, which could/should be modified to your Visual Studio version. Please store this file into the root-project-directory (i.e. same position as CMakeLists.txt)

Best regards, Michael

Mecatropabien commented 3 years ago

Hello Michael,

Thank you for your reply. I put it into the root-directory and I executed build.bat. I have still some errors and I don’t understand why. I send you a screen. Could you please help me with this ? Maybe I don’t use the correct command… I just execute “build.bat” in the Native command prompt for VS 2019 in the directory where the .bat is.

Thank you in advance. Best regards, Julien REY.

De : Michael Lehning notifications@github.com Envoyé : jeudi 4 mars 2021 15:29 À : SICKAG/sick_scan_base sick_scan_base@noreply.github.com Cc : REY Julien julien.rey@fivesgroup.com; Author author@noreply.github.com Objet : Re: [SICKAG/sick_scan_base] Sick_scan on Windows 10 (#9)

[Email émis par un expéditeur externe au groupe Fives : soyez prudent avec les liens et les pièces jointes]

build.zip [github.com]https://urldefense.com/v3/__https:/github.com/SICKAG/sick_scan_base/files/6084302/build.zip__;!!FzVXsuqP!Bg4Grd73I4hBY29_YPaBP6STk2tDn89o516MwxNtOMzAsbFZjn7PvuNowCyTI_ZPkRFx$ Hi Julien,

find attached a build.bat as an example, which could/should be modified to your Visual Studio version. Please store this file into the root-project-directory (i.e. same position as CMakeLists.txt)

Best regards, Michael

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub [github.com]https://urldefense.com/v3/__https:/github.com/SICKAG/sick_scan_base/issues/9*issuecomment-790656959__;Iw!!FzVXsuqP!Bg4Grd73I4hBY29_YPaBP6STk2tDn89o516MwxNtOMzAsbFZjn7PvuNowCyTI-nl97n1$, or unsubscribe [github.com]https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/ATBHQVJGZCEL3UNDAPJU6ZDTB6KJBANCNFSM4YMUFBGA__;!!FzVXsuqP!Bg4Grd73I4hBY29_YPaBP6STk2tDn89o516MwxNtOMzAsbFZjn7PvuNowCyTI6mvvZge$.

michael1309 commented 3 years ago

I can not seen your screenshot It this ticket a duplicate of https://github.com/SICKAG/sick_scan/issues/115 ?

Best regards, Michael

Mecatropabien commented 3 years ago

Sorry for the screenshot, I forgot it. It’s an other error than on the post. I use your build.bat and I followed your instructions. When I put “build.bat” an error appeared (in the screen). Even if I increase recursion depth, the error appears. I thought that the driver works on Windows with small changes but it’s not.

For you the best thing is to install Windows subsystem for Linux ? I don’t know if it can works with our project I have to think about it. Thank you for your reply.

Best regards,

Julien REY Mechatronics Engineer | Ingénieur mécatronique Smart Automation Solutions

Fives Syleps

De : Michael Lehning notifications@github.com Envoyé : lundi 8 mars 2021 15:39 À : SICKAG/sick_scan_base sick_scan_base@noreply.github.com Cc : REY Julien julien.rey@fivesgroup.com; Author author@noreply.github.com Objet : Re: [SICKAG/sick_scan_base] Sick_scan on Windows 10 (#9)

[Email émis par un expéditeur externe au groupe Fives : soyez prudent avec les liens et les pièces jointes]

I can not seen your screenshot It this ticket a duplicate of SICKAG/sick_scan#115 [github.com]https://urldefense.com/v3/__https:/github.com/SICKAG/sick_scan/issues/115__;!!FzVXsuqP!FqDOy0iZkv3jfFUV_6tJ4ZwZOusdy0Ok-aDShswv4GWpyAXaZqECqB-FCyuW1hzDp83B$ ?

Best regards, Michael

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub [github.com]https://urldefense.com/v3/__https:/github.com/SICKAG/sick_scan_base/issues/9*issuecomment-792798786__;Iw!!FzVXsuqP!FqDOy0iZkv3jfFUV_6tJ4ZwZOusdy0Ok-aDShswv4GWpyAXaZqECqB-FCyuW1tpF6MVo$, or unsubscribe [github.com]https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/ATBHQVL3FJTGH5E4FW7Q3Q3TCTORLANCNFSM4YMUFBGA__;!!FzVXsuqP!FqDOy0iZkv3jfFUV_6tJ4ZwZOusdy0Ok-aDShswv4GWpyAXaZqECqB-FCyuW1s6ulKW4$.

michael1309 commented 3 years ago

Solved using WSL2 (see https://github.com/SICKAG/sick_scan_base/issues/115 )

michael1309 commented 3 years ago

Solved using WSL2 (see https://github.com/SICKAG/sick_scan/issues/115 )