Hello Les,
Is there a new Sheetcamtng coming for Linux? I’m using the latest and it’s back at 4.1.11.
Jim
I certainly hope so. I hate to have paid for something that is going to bit rot.
I am trying but currently I am so overrun with work I can’t get the time I need to make another release. Have you tried the Windows version under Wine? If so, what problems did you encounter?
Just tried the Windows version with Wine.
The install from the downloaded SheetCam TNG Development setup V5.1.12.exe file seemed to work fine… but when I try running it I get the following errors:
russell@cnc:~$ wine "./Sheetcam/SheetCam TNG Development/SheetCam TNG Development.exe"
err:winediag:X11DRV_WineGL_InitOpenglInfo The Mesa OpenGL driver is using software rendering, most likely your OpenGL drivers haven't been installed correctly (using GL renderer "Software Rasterizer", version "2.1 Mesa 7.7.1").
fixme:msvcp90:numpunct_wchar_ctor_refs (0x192460 0) stub
fixme:msvcp90:locale_classic stub
err:module:attach_process_dlls "CamLib.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\home\\russell\\Sheetcam\\SheetCam TNG Development\\SheetCam TNG Development.exe" failed, status c0000005
russell@cnc:~$
The wibble about OpenGL is probably down to the fact that I’m running it from a remote X-Server but it doesn’t seem to effect other things running under wine… or the native Linux version
If there’s something you want testing on this setup to see if it can be made to work (in lieu of a native Linux port of the current version) then please let me know.
It certainly looks like the lack of OpenGl is making SheetCam get upset. SheetCam uses OpenGl quite a lot so any problems there will stop it working.
Running Sheetcam under wine on the native display I get the same error about CamLib.dll
russell@cnc:~$ wine "./Sheetcam/SheetCam TNG Development/SheetCam TNG Development.exe"
err:module:attach_process_dlls "CamLib.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\home\\russell\\Sheetcam\\SheetCam TNG Development\\SheetCam TNG Development.exe" failed, status c0000005
russell@cnc:~$
My X-display does have GLX:
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGIX_visual_select_group
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
GLX_EXT_texture_from_pixmap
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) 945G GEM 20091221 2009Q4 x86/MMX/SSE2
OpenGL version string: 1.4 Mesa 7.7.1
OpenGL extensions:
<snip>
Any ideas? or do you have any idea when a native Linux version will get done?
Just a thought - try installing vcredist. There is a link to it near the main download link for SheetCam. The installer should automatically detect if vcredist is needed but sometimes it gets confused when you install on Wine.
Bzzzzzzzt. Nope Sorry
Same error after installing that
err:module:attach_process_dlls "CamLib.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\home\\russell\\Sheetcam\\SheetCam TNG Development\\SheetCam TNG Development.exe" failed, status c0000005
Are there any debug flags I could use to see what CamLib.dll doesn’t like?
STOP PRESS!
I just compiled and installed Wine 1.5.22 and Sheetcam comes up.
Not exhaustive testing but most certainly a step in the right direction.
I’ll play with it and see what happens.
PS. Would still very much prefer a native Linux version.
Oh dear… I typed too soon.
None of the file I/O operations work. I can’t import drawings, jobs, parts, tool tables or save anything.
Clicking anything in the file menu that actually does I/O (Import Drawing for example) just makes the pulldown menu go away. Nowt else happens. No error message from wine either.
Ho Hum. Looks like using Wine to get the latest version running on Linux just isn’t a sane option
I know it can work because I use it on a fairly regular basis. Apart from a few minor display redraw issues I have never had a problem running under Wine. I’ll try to get some time to build a Linux version but I am really short of time at the moment.
After a new install of Linux (Ubuntu in my case), I always need to use winetricks to load “vcrun2008” to get SheetCam to work under wine.
HTH
Paul
The problem with running sheetcam under wine, is that I dont want to have to run sheetcam under wine.
I’ve had to many nightmares trying to get something running under wine.
It makes everything very buggy at inconvenient moments.
Please don’t put your effort in trying to make Sheetcam run under wine.
Still hope the Linux development catches up soon
Regards, Peter
I’ll see what I can do but I am afraid I can’t make any guarantees as to when I can do this. Building the linux version is unfortunately a lot of work.
Well I’ve just bitten the bullet and bought a license… despite being stuck on 4.1.11 (can’t get V5 to work under Wine) and having a sneaky feeling that I might get stuck on V4 forever
Please put the profit from my purchase towards compiling the latest version for Linux !
Have you tried installing/using winetricks to load “vcrun2008”? I’ve had to do that when I fresh-install Ubuntu. Not sure if other distros need or can use this.
Paul
@Les - I was talking to Tom at CandCNC, and it sounds like he is directing his efforts toward getting LinuxCNC running his system. Having a “fresh” version of SheetCAM TNG for Linux would be a nice match… (hint,hint)
On another note: I have had good luck using Codeweavers Crossover and getting the Windows version running with Ubuntu 12.04. I think they (Codeweavers) might have a porting service, but I’m not very familiar with it.
Keep up the great work!!
I am experimenting with switching over to wxWidgets 3.0. I’m doing that work on a Linux machine so if I get it working I’ll have a new Linux release as well. Of course that assumes the switch over to 3.0 won’t be as disastrous as the switch to 2.9 was. I have no idea how long this will take me or even if I will get it working as I’m only working on it in my spare time.
The Linux build will be 32 bit so hopefully it should run on the version of Ubuntu that comes with LinuxCNC. I’m not sure what to do about 64 bit support. I think I’ll worry about that if I get the 32 bit version working.
Thanks Les - The only “bad” thing (and I by no means am I Linux expert) is that LinuxCNC is based on an old version of Ubuntu. I’m afraid if one is building for a more recent version it may not work on the older Ubuntu and vice / versa.
That said, thanks again for all your added updates, etc. You provide much more “value” to the software beyond its original “cost”.