CamBam

Announcements => Latest News => Topic started by: 10bulls on March 29, 2012, 22:40:35 pm



Title: CamBam on Linux
Post by: 10bulls on March 29, 2012, 22:40:35 pm
At long last we have a version of CamBam working for Linux, Hurrah!

http://www.cambam.info/ref/ref.linux

Warning! This release is still in the early stages of development and testing.  All gcode output should be treated with caution!

There are still a couple of missing features as the link above describes.
No text (TTF font) support and no OpenGl (only GDI) are the biggest omissions at present;
both of these are a priority to sort out.

Other than those, most things seem fully functional, although it will need a lot more testing.

We'll try and get some installer packages together soon as well.
At the moment the application and dependencies need to be installed manually.

Thank you for your patience with this and I hope you find this new version useful.

Please let me know if you experience any problems or have any suggestions for this release.

If anyone has downloaded a test version of this over the past few days, please update to the new download.
The latest version has a number of bug fixes and also has it's own version checker which will report when new Linux versions are available.

Andy


Title: Re: CamBam on Linux
Post by: pixelmaker on March 29, 2012, 23:20:51 pm
Hello Andy,

I try to install the linux cambam ob my mac, but I get no success with the MonoMac. The informations for installing the MonoMac are to poor for a normal user.
A guy in the german forum make a installation on a kubuntu linux and he tells me it works fine.
But he can´t see any polyrectangle. He see them into the drawing tree but not in the drawing window. Also if he converts to polylines they are invisible. He gets then a lot of polylines with 0 segments, lines closed = no and the pointlist is empty.
Are the cb files not compatible between the windows and the linux version?
I think he installed the beta3, because I tell him yesterday that the linux version is in the download.

ralf


Title: Re: CamBam on Linux
Post by: 10bulls on March 30, 2012, 00:06:10 am
Hi Ralf good to hear from you!

I am not sure if this will work on the Mac just yet.  My plan was to resolve most problems with the Linux version then turn my attention to Mac.

I am currently developing on openSUSE 11.4 (KDE) and using Ubuntu (Gnome) for testing.
PolyRectangles seem to be working OK on both those.
I suspect the problem will be down to a missing dependency.  Sorry for my poor installation instructions, I will add some more detail on dependent packages (but writing a CamBam package would be even better!  ;) )

I'll update the documentation page, but some more detail on packages to check...

Ubuntu

libgdiplus
libmono-corlib4.0-cil
libmono-system-core4.0-cil
libmono-system-data4.0-cil
libmono-system-drawing4.0-cil
libmono-system-xml4.0-cil
libmono-system4.0-cil
libmono-system-web4.0-cil
libmono-system-windows-forms4.0-cil

openSUSE packages

libgdiplus0
mono-core 2.10.2-1.1
mono-winforms
mono-data
mono-web

Some other trouble shooting tips:  Try starting CamBam from a terminal window using 'Mono CamBam.exe'
The terminal window will receive a lot of diagnostic messages which may report error messages.

I also had some problems with some gtk theme settings at one point.
deleting my ~/.gtkrc-2.0-kde4 file fixed that one.

I hope this helps!


Title: Re: CamBam on Linux
Post by: bigbigblue on March 30, 2012, 03:20:06 am
The possibility of CAMBAM natively running on a Mac? OOOOOh YES PLEASE! I've been a Mac user for 5 years or so and one of the VERY FEW reasons I have to run windows under VMWare is CAMBAM. I would dearly love to get rid of my windows installation.....


Title: Re: CamBam on Linux
Post by: pixelmaker on March 31, 2012, 11:09:39 am
Hello Andy,

Martin had install all packages used for ubuntu. He tells me that kubuntu is a ubuntu system with a KDE surface
The rectangles still are not there. Even if he convertet them to polylines and they are not in the saved file.
While starting over the terminal there are no error messages about cambam:

martin@mobiles:~/CamBam0.9.8$ mono CamBam.exe
Unknown heap type: #GUlD

Unknown heap type: #Blop

Unknown heap type: #GUlD

Unknown heap type: #Blop

Unknown heap type: #GUlD

Unknown heap type: #Blop

martin@mobiles:~/CamBam0.9.8$

I hope this helps
Is there a error log like the cbdebug under windows available in the linux version?

ralf


Title: Re: CamBam on Linux
Post by: 10bulls on March 31, 2012, 23:39:35 pm
Thank you very much Ralf / Martin for the testing and feedback.

I see the problem with PolyRectangles now, my apologies, it is broken in Ubuntu / openSUSE as well.
I can draw and use PolyRectangles OK within a drawing, but they are broken when loading a file containing them.  I have added this to the top of the 'to fix' list.

I have now set up a Kubuntu VM for testing.
While doing this, I made note of the packages installed to get CamBam working from a clean install.

This boiled down to...

sudo apt-get install mono-runtime
sudo apt-get install libmono-system-windows-forms4.0-cil
sudo apt-get install libmono-system-web4.0-cil
sudo apt-get install libmono-system-design4.0-cil
sudo apt-get install libmono-system-numerics4.0-cil

(I have updated the linux reference page (http://www.cambam.info/ref/ref.linux) as well.


Title: Re: CamBam on Linux - beta 5
Post by: 10bulls on April 01, 2012, 23:15:11 pm
A new beta 5 of the Linux / Mono CamBam is now available:

http://www.cambam.info/ref/ref.linux

The only change in this version was a fix to get PolyRectangles working.

Note: Files containing rectangles saved in the Linux version will still have problems when loaded into CamBam on Windows.  This is due to a bug on the Windows version which will be fixed in the next update.

I ran into a problem testing Cut and Paste on KDE (openSUSE, Kubuntu), where cut and paste just stopped working.
This seems to be a conflict with Klipper the clipboard manager.  By invoking Klipper (ALT+CTRL+V), and clearing the clipboard history, cut and paste started working again.
Gnome (Ubuntu, Linux Mint) appears to be unaffected by this, and so far the clipboard has been working OK.


Title: Re: CamBam on Linux
Post by: swarfing on April 03, 2012, 23:22:54 pm
Andy

I feel a bit stupid asking this but i don't seem to ba able to run anything after following the instructions? I just get the following

Cannot open assembly '/home/****/CamBam0.9.8/CamBam.exe': No such file or directory.


Ignore the stars just me hiding things


Title: Re: CamBam on Linux
Post by: 10bulls on April 04, 2012, 01:39:01 am
Cannot open assembly '/home/****/CamBam0.9.8/CamBam.exe': No such file or directory.

Does your **** bit happen to contain any spaces?

If it does then you need to put an escape character '\' before the spaces, like this...

mono /home/my\ name/CamBam0.9.8/CamBam.exe

(Note, you may also need to use the full path as above, rather than just ~)

If this isn't the problem, can you cd to the CamBam0.9.8 directory, then try:
mono CamBam.exe

I hope this helps.


Title: Re: CamBam on Linux
Post by: swarfing on April 04, 2012, 10:01:26 am
Andy out of habit i never use spaces in folder and file names so the switch was not necessary. I'm still getting the same results which ever way i try and run it. I'm wondering if it is mono?

If i type 'mono' i get the commands page up so i am assuming that is installed? out of the dependencies the last one was not available from the repo?
sudo apt-get install libmono-system-numerics4.0-cil
I'm also running Ubuntu (10.04 full updates)


Title: Re: CamBam on Linux
Post by: 10bulls on April 04, 2012, 17:25:30 pm
Ah, it looks like the default repository for Ubuntu 10.04 has an out of date version of mono.

http://mono-project.com/DistroPackages/Ubuntu

You can get a more up to date version from the badgerports repository (more information in the link above).

http://badgerports.org/

If you run:

mono -V

You should get...

Mono JIT compiler version 2.10.5 (Debian 2.10.5-1)
Copyright (C) 2002-2011 Novell, Inc, Xamarin, Inc and Contributors. www.mono-project.com
   TLS:           __thread
   SIGSEGV:       altstack
   Notifications: epoll
   Architecture:  x86
   Disabled:      none
   Misc:          softdebug
   LLVM:          supported, not enabled.
   GC:            Included Boehm (with typed GC and Parallel Mark)

Good luck!


Title: CamBam on Linux - beta 6
Post by: 10bulls on April 06, 2012, 23:57:07 pm
A new beta 6 of the Linux / Mono CamBam is now available:

http://www.cambam.info/ref/ref.linux

Changes include:

OpenGL DisplayMode is now working.
If 'Requested GraphicsMode not available' error reported, try turning anti alias off.

Fixes to property grid for drop down and expandable properties.

 :)


Title: Re: CamBam on Linux
Post by: Joules on April 11, 2012, 15:08:37 pm
Andy,
        great news on this Linux version, not dropped by in a while.  Can I also add my vote for a native Mac version as it seems you have so much time on your hands.  I take it now with the vast wealth and fame you have cloned yourself in order to do these 72hr days.

         All the best mate

                               Joules ;D


Title: Re: CamBam on Linux
Post by: captain chaos on April 13, 2012, 07:15:21 am
Hi Andy,

This is great news, thank you, can't wait to try it out. Just need to get my machine mods done and back in working order. I have just finished building a dedicated Linux  PC to run my machine (gantry router).

Cheers paul


Title: Re: CamBam on Linux
Post by: pixelmaker on April 16, 2012, 17:50:40 pm
Hello Andy,

feedback from Martin who tries the linux version:
With the beta 6 on Kubuntu.
The Open GL works now, sometime the Coordinate Cross disapears, but comes back when the drawing window is refreshed through any operation.
Opazity of the window: the values can write in the option but don´t assume.
In the pointlist of lines and objects the values can be write but get lost when click OK.

G-Code with spaces are don´t work . eg G0 x 10.0 y 20.20 don´t work, G0 x10.0 y20.0 works
Show System Folder in menue don´t work.
When closing CamBam a error occures: "Access to the path /usr/share\CamBam plus 0.9.8 is"

Martin tried some files from the english forum:
http://www.cambam.co.uk/forum/index.php?action=dlattach;topic=1098.0;attach=2903
This file don´t work, he gets a error: "g di32.dll" (perhaps only a space too ;-)

http://www.cambam.co.uk/forum/index.php?action=dlattach;topic=1176.0;attach=3077
CamBam thinks a bit about this file but don´t generate toolpathes.

That is what Martin tells me about the linux version.

ralf

addition: Plane Slice Z - The window for the Value pops up,
You have to change to OK button with the tab and than you can click on it. Martin tells the target is not ok.


Title: Re: CamBam on Linux
Post by: MuellerNick on April 18, 2012, 12:35:05 pm
Thanks a lot for porting CamBam to Linux. That's a perfect fit for LinuxCNC, directly at the workplace for the small one offs.

I'll try it, as soon as I have a job for it.

Now for the Mac ... just kidding. I do have one, but the Linux-version is -for me- the best gain.


Thanks again!
Nick


Title: Re: CamBam on Linux
Post by: servant74 on April 19, 2012, 19:58:21 pm
First, THANK YOU ANDY!
For taking CamBam to Linux.  I know it isn't perfect (yet) but like all of software and life, it is a journey.
First steps are a little painful, but we've come this far with you and we want to complete this trek.

I had a few miss-steps getting there on my Ubuntu Linux 10.04LTS system (with Gnome2), but it is running.  Still generates some messages like below but it does start up.

$ mono CamBam.exe
Unknown heap type: #GUlD
Unknown heap type: #Blop
Unknown heap type: #GUlD
Unknown heap type: #Blop
Unknown heap type: #GUlD
Unknown heap type: #Blop

I tried the BETA5 with no luck, but BETA6 did bring joy.

Haven't done anything with it yet, but that should be coming shortly.  Thank you again.


Title: Re: CamBam on Linux
Post by: submicro on April 24, 2012, 22:08:39 pm
I'm unable to locate the additional libs.
libmono-system-windows-forms4.0-cil
libmono-system-web4.0-cil
libmono-system-design4.0-cil
libmono-system-numerics4.0

I tried apt but it doesn't find them. I'm using Ubuntu 10.04 with LinuxCNC 2.5

Any ideas?


Title: Re: CamBam on Linux
Post by: servant74 on April 24, 2012, 22:23:03 pm
I made sure I had the badgerports.org ppa added for Lucid
I upgraded to 10.4.04 from 10.4 and it disabled the badgerports
repository and automatically removed those packages.
I just reenabled the repository, did a apt-get update, add the packages back in, then all was well.

The messages shown above still are being displayed.

><> ... Jack


Title: Re: CamBam on Linux
Post by: swarfing on April 24, 2012, 23:14:48 pm
Just pulled in my first dxf on the Linux machine and done the mop with no problems at all. Will run it out on the router later this week. It's great that don't have to keep swapping files across different machines to do anything. I created the dxf in QCAD if you needed to know Andy.

Thanks  ;)


Title: Re: CamBam on Linux
Post by: servant74 on April 25, 2012, 00:32:15 am
Just to make sure, I did this test again. If there is something I can do to help, please let me know. 

My machine is:

~$ uname -a
Linux nomad 2.6.32-41-generic #88-Ubuntu SMP Thu Mar 29 13:08:43 UTC 2012 i686 GNU/Linux

And logged in as a normal user (not root)
$ mono ~/CamBam0.9.8/CamBam.exe
Unknown heap type: #GUlD

Unknown heap type: #Blop

Unknown heap type: #GUlD

Unknown heap type: #Blop

Unknown heap type: #GUlD

Unknown heap type: #Blop

Then it comes up and asks me my language (again),



Title: Re: CamBam on Linux
Post by: 10bulls on April 25, 2012, 08:51:48 am
Thank you everyone for the feedback!

The 'Unknown heap' messages are a side effect of obfuscation used on the assemblies.
As far as I can tell, these messages are harmless (though a bit ugly!).

Jack: If you keep getting prompted for the language setting, this is likely due to the config file not being
written to correctly when CamBam closes.

Does your '~/.confg/CamBam plus 0.9.8' exist, with write permissions for the current user?

If you do:
Code:
ls -l ~/.config/CamBam\ plus\ 0.9.8
Check that the config file : CamBamPro0.9.8.config is there.  It's modification date should change when CamBam closes.


Title: Re: CamBam on Linux
Post by: 10bulls on April 25, 2012, 09:16:26 am
Thank you Ralf / Martin for your testing.

I've confirmed some of the problems mentioned and will work on these.

G-Code with spaces are don´t work . eg G0 x 10.0 y 20.20 don´t work, G0 x10.0 y20.0 works
This seems to be the case with the Windows version also so I will put this on the general todo list.

Quote
Martin tried some files from the english forum:
http://www.cambam.co.uk/forum/index.php?action=dlattach;topic=1098.0;attach=2903
This file don´t work, he gets a error: "g di32.dll" (perhaps only a space too ;-)
Files with Text objects currently will not work.  This is high on the list of functions to get working.
As a quick fix I will make a change so at least the files can be opened.

Quote
http://www.cambam.co.uk/forum/index.php?action=dlattach;topic=1176.0;attach=3077
CamBam thinks a bit about this file but don´t generate toolpathes.
This also happens in the Windows version and is due to a change a while ago regarding the stock surface.
If you set the stock surface value to 'Default' rather than 0 (or align the model so the top is at Z=0) it should then work OK.

Quote
addition: Plane Slice Z - The window for the Value pops up,
You have to change to OK button with the tab and than you can click on it. Martin tells the target is not ok.
I couldn't replicate this on Ubuntu but I will keep a watch for it.


Title: Re: CamBam on Linux
Post by: servant74 on April 25, 2012, 14:49:39 pm
I did check and : CamBamPro0.9.8.config
was not there.  I did find a /usr/share/CamBam\ plus\ 0.9.8 directory
that was empty with 777 privileges but it was empty.  I removed this directory.
I may have set the privs there to 777 thinking that was a problem earlier.

I did 'touch' that file, and it now exists (empty) but with 644 privileges.
...
This time starting CamBam it says:

Error reading: /home/jack/.config/CamBam\ plus\ 0.9.8/CamBamPro0.9.8.config
Object reference not set to an instance of an object.

Then it asked for the language selection, and CamBam screen came up.

I told CamBam to Exit from the File dropdown menu.

and the message box displayed with:
Object reference not set to an instance of an object.

Another message box opened saying:
Access to path: /usr/share/CamBam\ plus\ 0.9.8 is denied.

Then I closed that box and these came out on a console terminal when I closed the dialog box:

Cannot load type 'System.Windows.Forms.Design.FileNameEditor, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
Cannot load type 'System.Windows.Forms.Design.FileNameEditor, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

Ok, I obviously have a 'personal problem' with my install.
If you have suggestions they would be appreciated.

Thanks for your patience. ... Jack


Title: Re: CamBam on Linux
Post by: 10bulls on April 25, 2012, 19:45:06 pm
I don't think you are alone with this problem Jack.

I made the default system path for Mono : {$user}/CamBam plus 0.9.8/
(as opposed to the default Windows path of {$common}/CamBam plus 0.9.8/

When CamBam is loaded, go into the System - Configuration settings, and if it isn't already, try setting
System Path to {$user}/CamBam plus 0.9.8/

It *shouldn't* be trying to read/write to '/usr/share/CamBam plus 0.9.8'
unless it comes across the {$common} macro anywhere (maybe from an old config file)  ???.

I'll keep investigating and work on making the file areas and permissions a bit friendlier.

The 'System.Windows.Forms.Design.FileNameEditor' errors are also interesting.
This might be due to a missing dependency.

If you do...
Code:
dpkg --get-selections | grep libmono
...can you see 'libmono-system-drawing-design4.0-cil' in the list?

If not, install this library using the methods described earlier.

Good luck!



Title: Re: CamBam on Linux
Post by: MuellerNick on April 29, 2012, 10:36:25 am
OK, so I tried it on Linux with some very basic stuff. Slots and circular holes.
It worked!

I do have a untouched LinuxCNC (V 2.4.6 iirc) on a un-updated Kubuntu 10.whatever. First, I tried getting the packages with the package-manager without adding the path to badgerports. Fail. But with badgerports it worked. Albeit, I didn't like the fact to have to install unsigned packages.

Draw the geometry with the CB-CAD. Only thing I saw was that the status line wasn't erased properly. Draw a circle and when CB says to click for a point on the circle, that text is drawn over the previous one. Minor hickup.


Now if CB would read the tool-table from LinuxCNC, so I don't have to maintain two tables...

And a general suggestion:
For inputing numerical values, a parser for the input string would be great. So you could enter something like "128 - 17 / 4". You find example code for that in the Stroustrup-book. Or I'll have a look, maybe I do have something in Objective-C (mail me if you want that code).

Again, I didn't look for bugs, I just wanted to mill those slots. And that worked.


Nick


Title: Re: CamBam on Linux
Post by: submicro on May 09, 2012, 22:13:26 pm
Hello

I get the some of the same errors. Using Ubuntu 10.04 CamBam beta6.

When closing CamBam a error occures: "Access to the path /usr/share\CamBam plus 0.9.8 is"

  Occasional random crash. Large stl files tend to really slow things down and sometimes crashes. But i'm soooooo glad there is a linux version now. Many thanks

SubMicro


Title: Re: CamBam on Linux
Post by: MuellerNick on May 11, 2012, 11:36:39 am
A few times, CB looked like it hang. Didn't respond to any desperate clicks. Iconizing it and bringing it back to view fixed that.

Me:
"Try to remember the thing that happened before the ting that happened you did not want to happen".


Nick


Title: Re: CamBam on Linux
Post by: Dragonfly on May 15, 2012, 10:41:11 am
Not entirely related but I'd share - sometimes under Windows CB stops responding to keyboard input. I usually invoke Windows menu (Ctrl-Esc) and then click back into CB which solves the problem.\


Title: Re: CamBam on Linux
Post by: ewidance on June 25, 2012, 13:51:35 pm
Thanks a lot for porting to Linux. I've installed it on Ubuntu 10.04 LTS without problems. I not yet worked a lot with it, but it works.

Since i love to play, i installed it on my MAC. It launches, i see briefly the main windows before it hangs.

I've installed mono from http://www.go-mono.com/mono-downloads/download.html (and clic on OSX icon). I'm on Lion.

There's a collection of errors i got in console:

$ mono CamBam.exe
Unknown heap type: #GUlD

Unknown heap type: #Blop

Unknown heap type: #GUlD

Unknown heap type: #Blop

Unknown heap type: #GUlD

Unknown heap type: #Blop

Jun 25 15:46:38 osx mono[4918] <Error>: kCGErrorCannotComplete: CGSDeviceGetGeometry: Invalid device window
Jun 25 15:46:38 osx mono[4918] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Jun 25 15:46:38 osx mono[4918] <Error>: kCGErrorCannotComplete: CGSDeviceSynchronize: Invalid device window
Jun 25 15:46:38 osx mono[4918] <Error>: kCGErrorCannotComplete: CGSDeviceGetGeometry: Invalid device window
Jun 25 15:46:38 osx mono[4918] <Error>: kCGErrorCannotComplete: CGSDeviceSynchronize: Invalid device window
Jun 25 15:46:38 osx mono[4918] <Error>: kCGErrorCannotComplete: CGSDeviceGetGeometry: Invalid device window
Jun 25 15:46:38 osx mono[4918] <Error>: kCGErrorCannotComplete: CGSDeviceSynchronize: Invalid device window
System.ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter]
  at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in <filename unknown>:0
  at System.Drawing.Drawing2D.LinearGradientBrush..ctor (Rectangle rect, Color color1, Color color2, LinearGradientMode linearGradientMode) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.Drawing.Drawing2D.LinearGradientBrush:.ctor (System.Drawing.Rectangle,System.Drawing.Color,System.Drawing.Color,System.Drawing.Drawing2D.LinearGradientMode)
  at System.Windows.Forms.ToolStripProfessionalRenderer.OnRenderToolStripPanelBackground (System.Windows.Forms.ToolStripPanelRenderEventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ToolStripRenderer.DrawToolStripPanelBackground (System.Windows.Forms.ToolStripPanelRenderEventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ToolStripPanel.OnPaintBackground (System.Windows.Forms.PaintEventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0
System.ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter]
  at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in <filename unknown>:0
  at System.Drawing.Font.GetHeight (Single dpi) [0x00000] in <filename unknown>:0
  at System.Drawing.Font.GetHeight () [0x00000] in <filename unknown>:0
  at System.Drawing.Font.get_Height () [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.Drawing.Font:get_Height ()
  at System.Windows.Forms.TextBoxBase.get_PreferredHeight () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.TextBoxBase.FixupHeight () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.TextBoxBase.OnHandleCreated (System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.TextBox.OnHandleCreated (System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.WmCreate (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.TextBoxBase.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.TextBox.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0
Jun 25 15:46:42 osx mono[4918] <Error>: kCGErrorCannotComplete: CGSDeviceGetGeometry: Invalid device window
Jun 25 15:46:42 osx mono[4918] <Error>: kCGErrorCannotComplete: CGSDeviceSynchronize: Invalid device window
Jun 25 15:46:42 osx mono[4918] <Error>: kCGErrorCannotComplete: CGSDeviceGetGeometry: Invalid device window
Jun 25 15:46:42 osx mono[4918] <Error>: kCGErrorCannotComplete: CGSDeviceSynchronize: Invalid device window
Jun 25 15:46:42 osx mono[4918] <Error>: kCGErrorCannotComplete: CGSDeviceGetGeometry: Invalid device window
Jun 25 15:46:42 osx mono[4918] <Error>: kCGErrorCannotComplete: CGSDeviceSynchronize: Invalid device window


Title: Re: CamBam on Linux
Post by: MartinS on July 15, 2012, 20:42:13 pm
Using cambam on Kubuntu 12.04

Istallation went fine.

drawing a line -> points  (collection)[...]  --->change the values of the points..press ok...nothing happens.
also in the transformation window - entering values, pressing ok, nothing happens.

mfg

MartinS


Title: Re: CamBam on Linux
Post by: newlinuxuser on September 12, 2012, 00:35:50 am
Hello Andy,
I started some days ago to try the linux version of cambam. I followed your instructions: with the badgerports repository for mono, cambam seems work in almost its functions on ubuntu 10.04 64.
I hope to see soon the new version without the direct windows system call  ;D.

I'am Italian (sorry for my poor english) and now I'am working on the Italian translation, editing the xml file with gedit. Now my italian localization is absolutly not perfect, the translation is still in work, but it's much better than before.
If you like, I can share the xlm file, just say me where to post or send by e-mail.

Bye, Andrea


Title: Re: CamBam on Linux
Post by: ynneb on September 27, 2012, 02:30:54 am
Nice work, "Two Dogs", I have only just become aware of this and will now be following and testing.
You're a pioneer doing good stuff !!

Benny


Title: Re: CamBam on Linux
Post by: evokanevo on October 23, 2012, 17:40:21 pm
I've been using SheetCamTNG on Ubuntu with EMC2. The Windows version of CamBam is much more polished than SheetCamTNG and I would like to use it on Ubuntu. So, is a stable/usable version of the linux port still underway? I would really like to generate gcode and run it with a single computer (Ubuntu 10.04+Gnome+EMC2 2.5).

I am not sure whether some of the issues I'm encountering are due to user error/configuration/permissions, or whether they are bugs.

For example:
-Cannot set the default template via "System->Configuration->Misc->Drawing Template" and actually have that template be used automatically when I create a new file. I can still load a template through "New->Load From template".
-Possibly related to above, clicking the "..." button to the right of the "Drawing Template" does not open a file selection menu (nothing happens).
-Possibly related to above, clicking "Tools->Browse system folder" does absolutely nothing. Maybe an access rights issue.
-Right-click option menus stay up when they shouldn't. I am using Gnome. Steps to reproduce are:
    -Create a new file
    -Left click Drawing->Untitled->Layers->Default
    -Right click Drawing->Untitled->Layers->Default
    -Right click Drawing->Untitled->Layers
    -Both option menus are open - one for the Layer folder and one for the Default layer. The Default layer menu should have closed.

Desirable:
-Ability to load MText please
-Ability to import a DXF file into an existing CamBam file (yes I found the workaround involving multiple CamBam sessions)
-40 trial sessions for linux, like on Windows. It looks like any nested parts don't have their gcode generated, which I think is because of the expired trial being a default. I want to make sure things work before I buy it, and testing a Windows version doesn't tell me it will work on Linux.

Well, I hope your CamBam port continues. It looks really promising. I would appreciate feedback regarding whether these are bugs, and if they are not, then how to address configuration issues.


Title: Re: CamBam on Linux
Post by: paulstenlund on November 16, 2012, 09:03:14 am
I've installed Cambam on my CNC linux control machine but right out of the box it beleives my evaluation period has expired, fresh installation. What can I do, 500 lines doesn't help

Paul


Title: CamBam on Linux 0.9.8N beta 1 (new release)
Post by: 10bulls on November 19, 2012, 14:16:48 pm
A new Linux version is now available...

http://www.cambam.info/ref/ref.linux

This brings the Linux version up to date with 0.9.8N and fixes a few bugs.

Text support is still missing, from this release but we have a plan are working on getting that added to the Linux release soon.

Thank you for your patience while we work on this.


Title: Re: CamBam on Linux
Post by: swarfing on November 19, 2012, 16:57:59 pm
Andy any chance us linux boys could have a CamBam icon to put on our shell scripts and shortcuts please :-). It would be nice to add it to our launchers.
Thanks
Paul


Title: Re: CamBam on Linux
Post by: swarfing on November 19, 2012, 17:11:31 pm
Just in case anybody wants a quick launch script to same going into terminal. Just save it to your desktop and remove the '.doc' extension as it was the only way i could upload it.
Paul


Title: Re: CamBam on Linux
Post by: submicro on November 20, 2012, 17:57:24 pm
Orthographic view causes crash with Ubuntu 10.04


Title: Re: CamBam on Linux
Post by: submicro on November 21, 2012, 19:28:08 pm
I'm sorry but I'm finding more bugs than bug fixes in this version. At least on my version of Ubuntu. But I'm glad someone is working to get us this linux version. For that thanks very much.

Sincerely Robert


Title: Re: CamBam on Linux
Post by: submicro on November 21, 2012, 21:47:38 pm
Sorry once again, it seems the bugs were my fault everything seems to be working now. Again sorry for the last 2 posts they were incorrect! :(


Title: Re: CamBam on Linux
Post by: newlinuxuser on November 24, 2012, 23:48:23 pm
Thank for the new linux version  :)


Title: CamBam on Linux 0.9.8N beta 2 (new release)
Post by: 10bulls on November 29, 2012, 15:29:54 pm
Another new Linux update...

http://www.cambam.info/ref/ref.linux

Text support has finally been added! Yay!
Only quadratic fonts (such as TrueType) are currently supported.
Support for cubic fonts (such as some Type1 fonts) is on the todo list.

There were also a few bug fixes relating to the property grid.

Is anyone having problems with double-clicking drawing objects using Ubuntu?
(to get into polyline edit mode for example).

This is working OK for me in openSuSE 12.2 (KDE), but not on Ubuntu 12.04 (Gnome).
Maybe I need to upgrade to the latest Ubuntu ... or maybe it is a Gnome thing?


Title: Re: CamBam on Linux 0.9.8N beta 2 (new release)
Post by: MartinS on November 30, 2012, 18:16:32 pm

Is anyone having problems with double-clicking drawing objects using Ubuntu?
(to get into polyline edit mode for example).

This is working OK for me in openSuSE 12.2 (KDE), but not on Ubuntu 12.04 (Gnome).
Maybe I need to upgrade to the latest Ubuntu ... or maybe it is a Gnome thing?


On Kubuntu 12.04 (KDE) : no problems
and on Kubuntu 12.04 with gnome 3.irgendwas also no problems



Title: Re: CamBam on Linux
Post by: pixelmaker on December 01, 2012, 00:01:38 am
hello martin

"gnome 3.irgendwas" means "gnome 3.something"   :D


ralf


Title: CamBam on Linux 0.9.8N beta 3 (new release)
Post by: 10bulls on December 05, 2012, 11:46:59 am
A revised Linux version (0.9.8N beta 3) in now available...

http://www.cambam.info/ref/ref.linux

This incorporates the latest changes and bug fixes from the latest 0.9.8N (rc-6) windows release.

Tools - Browse system folder, Help - View samples and Machining - Browse g-code folder should also now be working.


Title: Re: CamBam on Linux
Post by: newlinuxuser on December 11, 2012, 01:34:45 am
Good morning 10 bulls,

I found a problem  with the engrave text function.
When I try to open the text tool cambam crashes.

This is the debug from terminal:
Code:
Unknown heap type: #GUlD

Unknown heap type: #Blop

Unknown heap type: #GUlD

Unknown heap type: #Blop

Could not set X locale modifiers
metadata.c:914: assertion 'index < meta->heap_blob.size' failed
metadata.c:914: assertion 'index < meta->heap_blob.size' failed
System.DllNotFoundException: libcambam.so
  at (wrapper managed-to-native) CamBam.UI.FontFamilyPropertyEditor:qVaeWFDEay ()
  at CamBam.UI.FontFamilyPropertyEditor.lqceAo8fSA () [0x00000] in <filename unknown>:0
  at CamBam.UI.FontFamilyPropertyEditor.GetFamilyList () [0x00000] in <filename unknown>:0
  at CamBam.UI.MTextPropertyEditorDialog..ctor (CamBam.CAD.MText mtext) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) CamBam.UI.MTextPropertyEditorDialog:.ctor (CamBam.CAD.MText)
  at CamBam.UI.CamBamUI.DhaHPwiLvB () [0x00000] in <filename unknown>:0
  at CamBam.UI.CamBamUI.InsertText () [0x00000] in <filename unknown>:0
  at CamBam.CAD.EntityToolStrip.IqHoDVL6Zo (System.Object , System.EventArgs ) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ToolStripItem.OnClick (System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ToolStripButton.OnClick (System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ToolStripItem.HandleClick (Int32 mouse_clicks, System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ToolStripItem.FireEvent (System.EventArgs e, ToolStripItemEventType met) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ToolStripItem:FireEvent (System.EventArgs,System.Windows.Forms.ToolStripItemEventType)
  at System.Windows.Forms.ToolStrip.OnMouseUp (System.Windows.Forms.MouseEventArgs mea) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ToolStrip.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0

Have I to put the cambam.so in some place? I tried to put the lib in /usr/lib, run ldconfig, put the CamBam folder in the file /etc/ld.so.conf and run ldconfig again, but no chance so far.

I run Ubuntu 10.04 with mono  2.10.8.1 from ppa.

Thank you for your good work, bye

Andrea


Title: Re: CamBam on Linux
Post by: 10bulls on December 11, 2012, 10:58:22 am
System.DllNotFoundException: libcambam.so

Have I to put the cambam.so in some place? I tried to put the lib in /usr/lib, run ldconfig, put the CamBam folder in the file /etc/ld.so.conf and run ldconfig again, but no chance so far.
Hello Andrea,

In the directory where CamBam.exe is located, you should also see a file :
CamBam.exe.config

This contains...

Code:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<dllmap dll="libcambam.so" target="./libcambam.so"/>
</configuration>

If you start CamBam from the folder where the exe is located, this should tell it to look for the shared library in the same folder.

It may be, if you are starting from a quick launch or script, the current directory (./) is not the same as the program directory.  In which case, you may need to edit the .config file to enter an explicit folder.

If you do copy the library to a folder that is in the library search path (like /usr/lib ), you should be able to delete the .config file.  It is only there to override the default Linux library search behaviour.


Title: Re: CamBam on Linux
Post by: newlinuxuser on December 11, 2012, 23:58:12 pm
Hello 10bulls, maybe I found the problem starting mono in debug level:

Mono: DllImport error loading library '/home/andrea/CamBam0.9.8/libcambam.so: classe ELF errata: ELFCLASS32'.

Sorry, I forgot to say that I run a 64 bit system.
Do you have the lib libcambam.so compiled for 64 bit ?  ;D

Thanks,

Andrea


Title: Re: CamBam on Linux
Post by: 10bulls on December 13, 2012, 11:32:20 am
Do you have the lib libcambam.so compiled for 64 bit ?  ;D
Very well spotted Andrea!  That would indeed be the problem.

I just tried a 64bit build, but it doesn't seem possible unless I have the 64bit gcc tools setup.  :(

I will set up parallel 64bit Linux system for testing and development and will get that library recompiled.

Thank you very much for bringing this to my attention.


Title: Re: CamBam on Linux
Post by: captain chaos on December 19, 2012, 22:59:21 pm
Hi I have finally gotten round to trying CamBam on linux 10.04. I'm good right down to:-
Quote
Copy the tar archives into your home folder.javascript:void(0);
Right click each archive and select 'Extract here'
???
How the hell do I get it into the home folder? I have been messing with Linux for over a year and am getting closer to being an absolute novice from being a complete ignoramus. This stumps me every time and every now and then I jag it and a program loads and I can fire it up from some obscure place. I seem to work fine in the terminal, if I can get the code laid out as well as you have here, as it is finite and is why I do prefer Linux as there are way too many descriptions and far too much terminology around the same thing in windose.

what is the home folder is it /home            and lands up in /home/ CamBam stuff
or                                   /home /me      and lands up in /home/me/ CamBam stuff
 :-\ cheers



Title: Re: CamBam on Linux
Post by: lloydsp on December 19, 2012, 23:30:38 pm
Try  cd ~

It used to work.

Lloyd



Title: Re: CamBam on Linux
Post by: captain chaos on December 20, 2012, 00:05:32 am
 ;D I jaged it, it landed up in /home/me, thanks Lloyd I'll give that a go next time, the rest worked out good and Dejan's 
Quote
To add your newly installed CamBam to your Ubuntu desktop you should do the following.

1. Open terminal end enter
gnome-desktop-item-edit ~/Desktop/ --create-new

2. When "Create Launcher" window opens, you enter following command to "Command" field:
mono /home/yourusername/CamBam0.9.8/CamBam.exe
worked fine but you do need to give it a name, I called mine CamBam :o

Thanks 10Bulls the GUI looks crisp and clearer and the mouse response seems quicker on this old single core computer than my flash windows 7 dual core, can't wait to get into it.
cheers


Title: Re: CamBam on Linux
Post by: mofosheee on December 21, 2012, 19:21:29 pm
Dear Sir:

Thank you for the new release. 

40 to 45 seconds into your most recent tutorial and just after you established the stock size you were able to rotate the image and obtain a 3 dimensional image.  I have not been able to do. 

What part did I miss in this step?

Thank you'

Jerry


Title: Re: CamBam on Linux
Post by: 10bulls on December 21, 2012, 19:42:36 pm
40 to 45 seconds into your most recent tutorial and just after you established the stock size you were able to rotate the image and obtain a 3 dimensional image.  I have not been able to do. 
The default key+mouse combination to rotate the drawing view is Alt + Mouse Left button Drag.

Unfortunately, most Linux window managers use this key combination for dragging windows.

The CamBam Linux reference page describes some ways to free up this key combination (this varies depending on whether you are using KDE / Gnome and which version).
http://www.cambam.info/ref/ref.linux

I have noticed the instructions need updating for the latest Gnome versions (in OpenSuSE, Ubuntu 12.2 etc).

For this, you may need to install the dconf-editor package.
Start 'dconf-editor', then browse to the following key:
org - gnome - desktop - wm - preferences - mouse-button-modifier
Change the value to <Super> or perhaps<Alt + Super>
(Where 'Super' is the 'Windows' key on most keyboards).

We are planning to add more view rotation options for Linux and Windows soon.

I hope this helps!



Title: CamBam on Linux 0.9.8N beta 4 (new release)
Post by: 10bulls on December 24, 2012, 23:48:36 pm
A new Linux version (0.9.8N beta 4) in now available...

http://www.cambam.info/ref/ref.linux

This incorporates the latest changes and bug fixes from the latest 0.9.8N (rc-7) windows release.

Please see the rc-7 release notes for more details...

http://www.cambam.co.uk/forum/index.php?topic=2842.msg18699#msg18699

A 64bit version is now available to get text working.

And as I feel bad about about there not being 40 evaluation sessions for the Linux version, the g-code output count has now been increased to 1000 lines.  I hope this helps.

Thank you very much for the feedback regarding the Linux version and have a very merry Christmas!

Andy



Title: Re: CamBam on Linux
Post by: newlinuxuser on December 25, 2012, 22:18:18 pm
Have a merry Christmas you too, Andy.

I confirm that the text engraving on the new 64 bit version is working.  :D

Thanks a lot,

Andrea


Title: Re: CamBam on Linux 0.9.8N beta 2 (new release)
Post by: james_rb_scott on December 26, 2012, 10:12:22 am
Another new Linux update...

http://www.cambam.info/ref/ref.linux

Text support has finally been added! Yay!
Only quadratic fonts (such as TrueType) are currently supported.
Support for cubic fonts (such as some Type1 fonts) is on the todo list.

There were also a few bug fixes relating to the property grid.

Is anyone having problems with double-clicking drawing objects using Ubuntu?
(to get into polyline edit mode for example).

This is working OK for me in openSuSE 12.2 (KDE), but not on Ubuntu 12.04 (Gnome).
Maybe I need to upgrade to the latest Ubuntu ... or maybe it is a Gnome thing?


Any update on this? I'm running 32bit Ubuntu 12.04 LTS, and trying to insert text into a new project after just launching Cambam 0.9.8N causes it to crash immediately (trace below). If I first draw a rectangle before trying to insert text, then try to insert text using the toolbar button, I get the pop-up dialog "Edit Text" but there are no fonts available to select. If I type in some text into the text  entry box and click ok, it asks whether I would like to "Save changes to Untitled?"; clicking no makes all windows disappear; yes allows me to save a .cb file before all windows disappear (cambam doesn't exit completely though; the terminal from which I launch it doesn't return). Cancel just returns me to the text entry box.

Trace when I try to insert text into a blank new project:
:~$ cambam.sh
Unknown heap type: #GUlD

Unknown heap type: #Blop

Unknown heap type: #GUlD

Unknown heap type: #Blop

metadata.c:914: assertion 'index < meta->heap_blob.size' failed
metadata.c:914: assertion 'index < meta->heap_blob.size' failed
System.DllNotFoundException: ./libcambam.so
  at (wrapper managed-to-native) CamBam.UI.FontFamilyPropertyEditor:fpfAaumR09 ()
  at CamBam.UI.FontFamilyPropertyEditor.urHAwsQ0Si () [0x00000] in <filename unknown>:0
  at CamBam.UI.FontFamilyPropertyEditor.GetFamilyList () [0x00000] in <filename unknown>:0
  at CamBam.UI.MTextPropertyEditorDialog..ctor (CamBam.CAD.MText mtext) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) CamBam.UI.MTextPropertyEditorDialog:.ctor (CamBam.CAD.MText)
  at CamBam.UI.CamBamUI.JXgDGVjUvX () [0x00000] in <filename unknown>:0
  at CamBam.UI.CamBamUI.InsertText () [0x00000] in <filename unknown>:0
  at CamBam.CAD.EntityToolStrip.mvuDz9lnqU (System.Object , System.EventArgs ) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ToolStripItem.OnClick (System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ToolStripButton.OnClick (System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ToolStripItem.HandleClick (Int32 mouse_clicks, System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ToolStripItem.FireEvent (System.EventArgs e, ToolStripItemEventType met) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ToolStripItem:FireEvent (System.EventArgs,System.Windows.Forms.ToolStripItemEventType)
  at System.Windows.Forms.ToolStrip.OnMouseUp (System.Windows.Forms.MouseEventArgs mea) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ToolStrip.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0




Title: Re: CamBam on Linux 0.9.8N beta 2 (new release)
Post by: 10bulls on December 26, 2012, 13:31:36 pm
Any update on this? I'm running 32bit Ubuntu 12.04 LTS, and trying to insert text into a new project after just launching Cambam 0.9.8N causes it to crash immediately (trace below). If I first draw a rectangle before trying to insert text, then try to insert text using the toolbar button, I get the pop-up dialog "Edit Text" but there are no fonts available to select. If I type in some text into the text  entry box and click ok, it asks whether I would like to "Save changes to Untitled?"; clicking no makes all windows disappear; yes allows me to save a .cb file before all windows disappear (cambam doesn't exit completely though; the terminal from which I launch it doesn't return). Cancel just returns me to the text entry box.
...
System.DllNotFoundException: ./libcambam.so

It looks like it is not able to load the shared libraray 'libcambam.so'.
Text on my Ubuntu 12.04 32bit install is working OK.
(The double clicking problem I mentioned earlier is still there, but this problem seems to have gone away in later Ubuntu releases).

Does it work if you start CamBam from a terminal prompt in the same folder where the CamBam.exe is located?

In this folder, there should be two config files...

CamBam.exe.config and
CamBam.CAD.dll.config

These are text files that contain the location of the shared library ( ./ by default).
If this mapping is not working, you may need to change the path to point to the library location or use an absolute path.

I know you are running 32bit Linux, but if anyone else encounters this, the same error will be reported if trying to use the 32bit archive on a 64bit OS (and vice versa).

The only other possible cause I can think of is if there is a missing dependency in the shared library.
The following packages are needed by the shared library:
. fontconfig
. freetype
These are usually installed by default though.

I hope this helps.


Title: Re: CamBam on Linux
Post by: james_rb_scott on December 26, 2012, 21:34:38 pm
10bulls,

Thanks very much - turns out that I was trying to be too smart by trying to use a script to run it. When I launched it from the folder as you suggested, it seems to work fine (and actually didn't take much to fix the script either!).

Many thanks for the quick response, and happy holidays!

Best

James


Title: Re: CamBam on Linux
Post by: swarfing on January 08, 2013, 15:00:22 pm
Andy

I am having problems opening .stl files? if you go through the open command you can not see them even if you select stl from the lower drop down box. If i drag and drop the file onto the CB desktop it just displays as a big block

This should be a loco wheel?

Any ideas?



Title: Re: CamBam on Linux
Post by: swarfing on January 08, 2013, 15:02:38 pm
Doh!

It looks like the drawings are showing in the wrong plane apologies.... ::)

I still can not open STL files though via a traditional route.


Title: Re: CamBam on Linux
Post by: swarfing on January 09, 2013, 20:01:37 pm
Any comments anybody on the .stl files not being seen in the open file screen?


Title: Re: CamBam on Linux
Post by: swarfing on January 09, 2013, 23:11:37 pm
Another problem i've been ignoring Andy. When closing i get this.


Title: Re: CamBam on Linux
Post by: 10bulls on January 10, 2013, 10:53:59 am
I am having problems opening .stl files? if you go through the open command you can not see them even if you select stl from the lower drop down box. If i drag and drop the file onto the CB desktop it just displays as a big block
All my STL files load OK, so I suspect this might be a case sensitivity problem.

If the file extension is uppercase like file.STL, the file open browser can't see the file (as the file filter is set as lower case).  If you select 'All Files (*.*)' from the file filter, the file should show up.

CamBam can read the file OK regardless of the extension case.

I will investigate further, but this may be a bug (feature?) of the mono implementation of the file open dialog.

You could argue that this is just the way Linux works, but it would be a shame to have to change the code to look for *.stl and *.STL (then what about *.Stl  ??? ).

This problem should happen with all file types  ... .DXF .CB for example.


Title: Re: CamBam on Linux
Post by: 10bulls on January 10, 2013, 11:03:33 am
Another problem i've been ignoring Andy. When closing i get this.
In the System - Configuration settings there is a property System Path
The default for this is on Linux should be set to...
{$user}/CamBam plus 0.9.8/

On the windows version, the default is...
{$common}\CamBam plus 0.9.8\

It looks like you might have the windows default value set.  Try changing this to the Linux default:
{$user}/CamBam plus 0.9.8/

This folder should map to...
home/username/.config/CamBam plus 0.9.8/


Title: Re: CamBam on Linux
Post by: swarfing on January 10, 2013, 17:14:36 pm
HI Andy good to have you back  :)

You are right about the case sensitivity for the file extension, that works fine changing to lowercase. As for the system path it is set correctly.

{$user}/CamBam plus 0.9.8/

Is the path held in a file that i can look at?


Title: Re: CamBam on Linux
Post by: cobra18t on March 21, 2013, 05:06:01 am
I am running 0.9.8 Linux beta-4 on Ubuntu 12.04 and it generally runs great.

Some pocketing operations are behaving a little weird, though. I cannot seem to change the start point of vertical or horizontal hatched pockets.

Also, I have a few pockets that violate the conventional vs climb direction rule

Has anyone seen this type of behavior before?


Title: Re: CamBam on Linux
Post by: 10bulls on March 21, 2013, 09:40:04 am
Has anyone seen this type of behavior before?

There are some issues such as these with the toolpath optimisation stage (in Windows and Linux version).
There is a lot of work planned in this area for the next major release.
Thank you for your patience while we work to improve this aspect of CamBam.


Title: Re: CamBam on Linux
Post by: captain chaos on March 27, 2013, 05:30:41 am
I hope I'm not hijacking this post, if so please move it.

I've had similar problems with .stl files in Linux 12.04 exported from Blender which display very well in wire-frame. I have issues with .3ds also exported from Blender, about nine out of ten don’t appear at all, though I haven’t tried any of the suggestions here for fear of messing up what is otherwise working great.

I have a problem with doing a pocket tapered on three sides from an .stl file.
using 3D Profile Machining. In water line rough it drills holes at the corners of the bounding box, Boundary Margin, yet in waterline finish it works perfectly.
Is it necessary to retract after each depth circuit, or is there something I have missed, and how do I link the same operation to an array of pockets?,if someone can direct me to the relevant documentation.

Thanks 


Title: Re: CamBam on Linux
Post by: captain chaos on March 27, 2013, 05:47:42 am
Sorry about the double post, but I'm really not up on this stuff and worried about loosing my post if I messed up attaching my files. Which it seems I've done sorry.

No I got it right!!

Ok post.nc is Waterline finish with a large tool
postF.nc is Waterline finish with a small tool
and postR.nc is Waterline finish with a small tool

untitled .stl is my yea right

Cheers


Title: CamBam on Linux 0.9.8N beta 5 (new release)
Post by: 10bulls on May 21, 2013, 21:33:30 pm
A new Linux version (0.9.8N beta 5) in now available...

http://www.cambam.info/ref/ref.linux

This update incorporates the latest changes and bug fixes from the latest stable 0.9.8N Windows release.

http://www.cambam.info/doc/plus/WhatsNew.htm#n

A big thank you to everyone for the testing and feedback on the Linux release!

Regards

Andy


Title: Re: CamBam on Linux
Post by: submicro on May 23, 2013, 00:49:16 am
How about a icon for our launchers?


Title: Re: CamBam on Linux
Post by: swarfing on May 24, 2013, 16:44:45 pm
There is one further back in the thread


Title: Re: CamBam on Linux
Post by: swarfing on May 24, 2013, 17:32:31 pm
Hi Andy

Have new version installed but still getting the old error where it is looking for the windows path you mentioned before on closure?
attached the log


Title: Re: CamBam on Linux
Post by: captain chaos on June 03, 2013, 08:03:42 am
Hi Andy
CamBam has been running fine except for a few problems with STL files and some DXF.

Just downloaded the new  Linux version (0.9.8N beta 5) and now have similar problems to "newlinuxuser" in reply #46 when opening I get

Quote
~$ mono ~/CamBam0.9.8/CamBam.exe
Unknown heap type: #GUlD

Unknown heap type: #Blop

Unknown heap type: #GUlD

Unknown heap type: #Blop

metadata.c:914: assertion 'index < meta->heap_blob.size' failed
metadata.c:914: assertion 'index < meta->heap_blob.size' failed

When I import a DXF file and go "View > Zoom to Fit" I get an info box "Save Changes To____" If I click "Cancel" nothing happens If I click "No" I get another box which says "Exception Has Been Thrown by Target of an Invocation" If I click OK, CamBam boms.

If I go through the same process and drag the drawing into view and click on the drawing I get an info box saying "The Given Key Was Not Present in The Directory" clicking "OK" also causes CamBam to bomb. I get the following in terminal in both cases.

Quote
System.DllNotFoundException: ./libcambam.so
  at (wrapper managed-to-native) CamBam.CAD.GlyphCache:Vm4CJGk5vp (string,int16,int16,int,CamBam.CAD.GlyphCache/hDAJJVfFaa4353gIxW5)
  at CamBam.CAD.GlyphCache._GetFontGlyphInfo (Int32 fid, Int32 character) [0x00000] in <filename unknown>:0
  at CamBam.CAD.GlyphCache.GetGlyphInfo (Int32 fid, Int32 character) [0x00000] in <filename unknown>:0
  at CamBam.CAD.CharacterOutline..ctor (Int32 fid, Int32 character, CamBam.Geom.Matrix4x4F xform) [0x00000] in <filename unknown>:0
  at CamBam.CAD.MText.sQTauLKLDE () [0x00000] in <filename unknown>:0
  at CamBam.CAD.MText.GetScreenExtents (System.Drawing.PointF& min, System.Drawing.PointF& max, CamBam.Geom.Matrix4x4F xm, Boolean perspective) [0x00000] in <filename unknown>:0
  at CamBam.CAD.CADFile.GetScreenExtents (System.Drawing.PointF& min, System.Drawing.PointF& max, CamBam.Geom.Matrix4x4F t) [0x00000] in <filename unknown>:0
  at CamBam.UI.CADView.ZoomToFit () [0x00000] in <filename unknown>:0
  at CamBam.UI.CamBamUI.ZoomToFit () [0x00000] in <filename unknown>:0
  at CamBam.UI.MenuManager2.DYULsocUVh (System.Object , System.EventArgs ) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ToolStripItem.OnClick (System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ToolStripMenuItem.OnClick (System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ToolStripMenuItem.HandleClick (Int32 mouse_clicks, System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ToolStripItem.FireEvent (System.EventArgs e, ToolStripItemEventType met) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ToolStripItem:FireEvent (System.EventArgs,System.Windows.Forms.ToolStripItemEventType)
  at System.Windows.Forms.ToolStrip.OnMouseUp (System.Windows.Forms.MouseEventArgs mea) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ToolStripDropDown.OnMouseUp (System.Windows.Forms.MouseEventArgs mea) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ToolStrip.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0

In the file CamBam.exe.config I have

Code:
<configuration>
                <dllmap dll="libcambam.so" target="./libcambam.so"/>
</configuration>


I don't have the first part ie:-

<?xml version="1_0" encoding="utf-8"?>


Where to now?

Otherwise all good thus far thanks

Cheers Paul


Title: Re: CamBam on Linux
Post by: swarfing on June 03, 2013, 12:13:01 pm
Paul i had problems with certain files which ended up being the extension. They need to be in lowercase (stl, dxf etc). It also looks like you are not running the latest version of mono possibly?


Title: Re: CamBam on Linux
Post by: captain chaos on June 04, 2013, 07:13:18 am
Hi  swarfing

Thanks for your reply, sorry you are right they are lower case (my fault typo), but having said that I changed to upper case to see the result and got exactly the same ???

As for mono I updated and downloaded the latest version and just wonder if something in Mono may have changed?
I also checked System Path in System > Configuration and that is correct ie:-  {$user}/CamBam plus 0.9.8/

I can import the dxf files into CamBam on windows, save as a cb file and then open the cb in Linux and edit the drawing no problem, but that kinda defeats the purpose  ::)

otherwise all good


Title: Re: CamBam on Linux
Post by: swarfing on June 04, 2013, 18:47:41 pm
Did you install Mono from the repo Paul or from the mono site? my path setting is correct also but still errors on exit and shows a different path in the pop up. What flavour and version of distro are you running?


Title: Re: CamBam on Linux
Post by: 10bulls on June 04, 2013, 20:52:49 pm
CamBam has been running fine except for a few problems with STL files and some DXF.
...
~$ mono ~/CamBam0.9.8/CamBam.exe
Unknown heap type: #GUlD

Unknown heap type: #Blop

Unknown heap type: #GUlD

Unknown heap type: #Blop

metadata.c:914: assertion 'index < meta->heap_blob.size' failed
metadata.c:914: assertion 'index < meta->heap_blob.size' failed

The bleepity 'blop' 'blop' warnings can be ignored.  These are just a side effect of some obfuscation we do to try to protect the licensing code.

Quote
When I import a DXF file and go "View > Zoom to Fit" I get an info box "Save Changes To____" If I click "Cancel" nothing happens If I click "No" I get another box which says "Exception Has Been Thrown by Target of an Invocation" If I click OK, CamBam boms.
...
System.DllNotFoundException: ./libcambam.so
  at (wrapper managed-to-native) CamBam.CAD.GlyphCache:Vm4CJGk5vp (string,int16,int16,int,CamBam.CAD.GlyphCache/hDAJJVfFaa4353gIxW5)
  at CamBam.CAD.GlyphCache._GetFontGlyphInfo (Int32 fid, Int32 character) [0x00000] in <filename unknown>:0
  at CamBam.CAD.GlyphCache.GetGlyphInfo (Int32 fid, Int32 character) [0x00000] in <filename unknown>:0
...

I think these errors are probably related.  Does the DXF file have TEXT objects in it?
Do DXF files without TEXT objects work OK?

As soon as a text object is encountered, CamBam will try to load the shared library libcambam.so, to use the Linux specific code that extracts outlines from the fonts.

The CamBam.exe.config file is set to look in the current directory for the shared library.
Does starting CamBam from a terminal window, with the current directory set to the same place as the CamBam.exe location work OK?

If it does, then there may be a problem starting CamBam from a launch icon.  Putting the full path to libcambam.so in the CamBam.exe.config file may help.

Just to double check: are you using a 32 bit Linux?  If not, you will need to use the 64bit CamBam for mono download.



Title: Re: CamBam on Linux
Post by: captain chaos on June 05, 2013, 04:21:38 am
Right on the money, thanks Andy,

Quote
Do DXF files without TEXT objects work OK?
::)

Removing  TEXT objects works perfectly and all the faults other than the blop stuff on opening have gone, although saying that, I have never noticed it before as I set up with a launch icon last time and launced from terminal this time round.


Hi swarfing,

I'm running 12.04 Precise Pangolin and updated to the full Mono download for Linux from Mono to try and sort my problem, which may not have been necessary as it was as Andy suggested the text objects causing the problem. I am not well up on this computer stuff and had some major issues with Mint, and couldn't get CamBam to run on 10.04 which I have running Linux CNC on my router. Only been using Linux for a little over two years and the more I learn the less I realize I know.

Cheers



Title: Re: CamBam on Linux
Post by: swarfing on June 05, 2013, 11:32:55 am
Good it is all working for you now ;D


Title: Re: CamBam on Linux
Post by: newlinuxuser on June 06, 2013, 21:08:44 pm
Hello Captain Chaos,

for running Cambam on ubuntu 10.04 you have to add this repository: deb http://badgerports.org lucid main
in software sources.
Then update and upgrade your packages, it will install the mono version 2.10.8.1.
More informations in the site badgerports.org.

Cambam on my laptop with ubuntu 10.04 64 runs very well  ;D


Title: CamBam Styles on Linux
Post by: vik on July 03, 2013, 23:09:19 pm
According to the Cambam configuration documentation "Warning: The default styles are very important for CamBam to function correctly and should not be renamed or removed."

Unfortunately, when I install the build 0.9.4889.20625 Rev N beta 5 for testing on Linux, there appear to be no styles present - default or otherwise. Is this intentional?

Vik :v)


Title: CamBam on Linux - failure to enter key
Post by: vik on July 04, 2013, 06:45:13 am
So I enter my key into the Linux version. GUI fires up, and I see the error logged:

Library path not found: /home/vik/.config/CamBam Plus 0.9.8/post

Next time I fire up CamBam, I have to enter the key again.

Is this the best place to log bugs?

Vik :v)


Title: Re: CamBam on Linux
Post by: vik on July 04, 2013, 06:53:22 am
PS Savign the licence key works fine, and things work fine so it buggeth me not a lot :)


Title: /usr/share/CamBam plus 0.9.8
Post by: servant74 on July 17, 2013, 00:47:33 am
This directory shows up in a 'directory not writable' message when exiting CamBam at times.

I am running Linux Mint x86-64, kernel 3.2.0-0-4-amd64, processor Intel Core 2 CPU  T7100@1.80GHz x 2

3.8GiB memory

plenty of disk and swap

Graphics card NVIDIA G86 [Quadro NVS 140M]


Title: Re: CamBam on Linux
Post by: servant74 on July 17, 2013, 00:51:29 am
Sorry, this is my current version:

CamBam.CAD : 0.9.4889.20625
CamBam : 0.9.4889.20992
Build Date : 5/21/2013 12:27:30 PM
Framework Version : 4.0.30319.1


Title: Re: CamBam on Linux
Post by: newlinuxuser on July 18, 2013, 22:32:30 pm
Do you use a script for running cambam?

This is mine:
Code:
#!/bin/sh
cd ~/CamBam0.9.8
mono CamBam.exe
Seems to be important run cambam from its directory, I had the same problem before using this script.

Andrea


Title: Re: CamBam on Linux
Post by: servant74 on July 18, 2013, 22:47:10 pm
I use a cinammon desktop shortcut that runs th ecommand line:

    mono /home/jack/CamBam0.9.8/CamBam.exe

I'll try a short startup script.  Thanks for the response.



Title: Re: CamBam on Linux
Post by: w7rms on July 18, 2013, 23:06:19 pm
I get the following error whenever I try to run CamBam. This is a new installation of 64bit Aptosid. I've reinstalled all of the mono files. It worked on a previous install. Not sure where to go from here.

Rick

Code:
rick@aptosidbox:~/CamBam0.9.8$ mono CamBam.exe
Unknown heap type: #GUlD

Unknown heap type: #Blop

Unknown heap type: #GUlD

Unknown heap type: #Blop

* Assertion at metadata.c:915, condition `index < meta->heap_blob.size' not met

Stacktrace:

  at <unknown> <0xffffffff>
  at CamBam.CamBamConfig..ctor () <0x0001b>
  at CamBam.CamBamConfig..cctor () <0x00023>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
  at <unknown> <0xffffffff>
  at CamBam.CamBamMain..ctor () <0x0001b>
  at (wrapper remoting-invoke-with-check) CamBam.CamBamMain..ctor () <0xffffffff>
  at CamBam.CamBamMain.Main () <0x000b7>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        mono() [0x80f5acb]
        linux-gate.so.1(__kernel_rt_sigreturn+0) [0xb779a40c]
        linux-gate.so.1(__kernel_vsyscall+0x10) [0xb779a424]
        /lib/i386-linux-gnu/i686/cmov/libc.so.6(gsignal+0x4f) [0xb759083f]
        /lib/i386-linux-gnu/i686/cmov/libc.so.6(abort+0x143) [0xb7593cf3]
        mono() [0x8259901]
        mono() [0x8259993]
        mono() [0x819ae3b]
        mono(mono_assembly_get_assemblyref+0x50) [0x81466e0]
        mono(mono_assembly_load_reference+0x17c) [0x814a0bc]
        mono(mono_class_from_typeref+0x46d) [0x8153cfd]
        mono(mono_class_get_full+0x17c) [0x8153ebc]
        mono() [0x8096541]
        mono() [0x8065be5]
        mono() [0x80677ab]
        mono() [0x806832e]
        mono() [0x80f7c0e]
        [0xb7786066]
        [0xb3a78a3c]
        [0xb56fb135]
        mono() [0x806843c]

Debug info from gdb:


=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Aborted


Title: XML File <Tabs/> section not matching between CamBam on Linux & Windows
Post by: vik on July 20, 2013, 07:23:05 am
I've got Windows 0.9.4878.23990 Rev N and Linux CamBam0.9.8N-mono-beta5 installed.

When I create a certain machining operation with automatic tabs on Linux and try to load the .CB file under Windows I get an error like:

"There is an error in XML document (nnn,mm)"

where nnn is the line number of the <Tabs/> component of the XML file. The only way I seem to have of loading the file under Windows is to go into the .CB file with vi and delete the <tabs/> section.

Sample file attached. Error is at (687,16) according to the CamBam error popup.

          <Tabs>
            <HoldingTab>
              <NormalInverted>False</NormalInverted>
              <ParentEntityID>51</ParentEntityID>
^^^ Error here somewhere.

Other <Tabs /> later in the file seem to work. Is it a broken ParentEntityID or something else?

Vik :v)


Title: Re: CamBam on Linux
Post by: Odiug on January 30, 2014, 21:30:43 pm
Hi All,

I get the same error as Rick (w7rms) under Arch Linux 64bit with mono 3.2.3. Maybe it is related to having a "more recent" Mono version?

Fortunatly it runs at least on my CNC controller machine (LinuxCNC on Ubuntu 10.04 LTS, with the recommended Mono backports). However, it would have been nice if it would run on my main machine as well.

Cheers
Guido


Title: Re: CamBam on Linux
Post by: MartinS on February 12, 2014, 09:13:09 am
64bit with mono 3.2.3. Maybe it is related to having a "more recent" Mono version?


Same Problem here:
Upgradet from a working CamBam on  (K)ubuntu 64 precise (12.04) with badgeport-mono 2.blabla as recommendet to (K)ubuntu 64bit trusty (13.10?) with mono 3.2.4.

So it seems that CAmBam doesn´t work with this newer mono-version.

MartinS




Title: Re: CamBam on Linux
Post by: Jaap on March 06, 2014, 06:44:57 am
I have a simular issue with CamBam on Ubuntu 13.10. It looks like the mono code needs a bit of polishing.

CamBam works fine (CamBam0.9.8N-mono-beta5-64bit.tgz (2.59 MB)) but when I try to load any existing .cb file, it crashes, with this xcb warning: "Most likely this is a multi-threaded client and XInitThreads has not been called".

Attached is the full terminal log.


Title: Re: CamBam on Linux
Post by: captain chaos on March 21, 2014, 03:21:37 am
I have the same problem crashing on opening existing .cb files in Ubuntu 13.10 additionally I have a problem on reloading CamBam on a new 12.04 install, I get a
Quote
The entry point method could not be loaded
error when opening in terminal. So I have old files in 12.04 that crashes 13.01 and CamBam that won't open in 12.04. Not a major at the moment. I'm using the repository "deb http://badgerports.org precise main" for Mono and have tried adding "python-software-properties" and  "software-properties-common" so any other ideas would be welcome. :o


Title: Re: CamBam on Linux
Post by: captain chaos on March 21, 2014, 12:35:23 pm
OK this solved the
Quote
The entry point method could not be loaded
problem with Ubuntu 12.04
Quote
sudo apt-get install mono-vbnc
which I found on the http://askubuntu.com/questions/391506/problem-with-mono-and-exe-file.

I will try 13.10 tomorrow


Title: Re: CamBam on Linux
Post by: captain chaos on March 22, 2014, 02:30:29 am
I get the same error as Rick (w7rms) on Ubuntu 13.10
Quote
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
when opening an older existing file produced on Ubuntu 12.04 ((even with Mono vbnc installed)) but If I drag and drop the file into CamBam in 13.10 and then save it as a new file I can then open it normally. Hope this helps in the meantime. Don't ask me why, I just fiddle till I get some kind of result. In the mean time I will continue with 12.04. As Jaap says
Quote
It looks like the mono code needs a bit of polishing.


Title: Re: CamBam on Linux
Post by: smallangel on April 25, 2014, 17:18:55 pm
After upgrade from Kubuntu 13.10 (saucy, working) to Kubuntu 14.04 (trusty) I got
Code:
hardy@misterbig:~$ mono /home/hardy/install/CamBam0.9.8/CamBam.exe               
Unknown heap type: #GUlD

Unknown heap type: #Blop

Unknown heap type: #GUlD

Unknown heap type: #Blop

* Assertion at metadata.c:916, condition `index < meta->heap_blob.size' not met

Stacktrace:

  at <unknown> <0xffffffff>
  at CamBam.CamBamConfig..ctor () <0x00017>
  at CamBam.CamBamConfig..cctor () <0x0001b>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
  at <unknown> <0xffffffff>
  at CamBam.CamBamMain..ctor () <0x00030>
  at (wrapper remoting-invoke-with-check) CamBam.CamBamMain..ctor () <0xffffffff>
  at CamBam.CamBamMain.Main () <0x000d3>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        mono() [0x4b73d8]
        /lib/x86_64-linux-gnu/libpthread.so.0(+0x10340) [0x7f4c01ed0340]
        /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x39) [0x7f4c01b2ef79]
        /lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7f4c01b32388]
        mono() [0x638575]
        mono() [0x6386b6]
        mono() [0x56898e]
        mono(mono_assembly_get_assemblyref+0x40) [0x5192f0]
        mono(mono_assembly_load_reference+0x140) [0x51c660]
        mono(mono_class_from_typeref+0x43a) [0x529faa]
        mono(mono_class_get_full+0x145) [0x52a125]
        mono() [0x44838d]
        mono() [0x421e2e]
        mono() [0x4253cd]
        mono() [0x425ecb]
        mono() [0x4b845b]
        [0x40b15166]

Debug info from gdb:

ptrace: Die Operation ist nicht erlaubt.
No threads.

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

All of the recommended mono stuff is installed (Version 3.2.8)


Title: Re: CamBam on Linux
Post by: vik on May 07, 2014, 00:08:27 am
I get an identical error running CamBam on Ubuntu 13.10, even with mono-vbnc installed.

Is your clever anti-piracy code stopping legitimate users perchance?

Vik :v)


Title: Re: CamBam on Linux -anything happening?
Post by: vik on August 02, 2014, 05:26:44 am
Is there anything happening to the Linux release at all?

Does anyone know how to contact the author?

Vik :v)


Title: New CamBam on Linux release
Post by: 10bulls on August 05, 2014, 13:52:20 pm
A new CamBam for mono release is now available...

http://www.cambam.info/ref/ref.linux

This has been tested on Ubuntu 13 and 14 and seems to work OK.

It also brings the CamBam for linux version up to date with the 0.9.8P Windows version.

The binary now contains the latest Lathe mop and Excellon filer handler plugins.

Apologies for the delay in tracking down the problems with the newer Linux versions and thank you very much for the bug reports.

Andy




Title: Re: CamBam on Linux
Post by: smallangel on August 05, 2014, 18:01:30 pm
Thank you,
now it runs again (and without Blob and GUID messages).
(K)ubuntu 14.04 64Bit
 
See also:
...
I own a paid license and can't use it with Linux any more.
But I hope, there will be a solution.  ;D

Kindly regards,
smallangel


Title: Re: CamBam on Linux
Post by: lloydsp on August 05, 2014, 18:08:44 pm
Andy always provides, Angel.

Sometimes it takes a little time, but if anyone can, I certainly appreciate that!

LLoyd


Title: Re: CamBam on Linux
Post by: smallangel on August 05, 2014, 19:58:26 pm
I knew that I will not be disappointed


Title: Re: CamBam on Linux
Post by: vik on August 06, 2014, 03:47:51 am
Awesome stuff. Even works for me on Linux, and I'm the archetypal crap-magnet when it comes to software bugs :)

Vik :v)


Title: Re: CamBam on Linux
Post by: macbob on August 09, 2014, 03:48:24 am
Working on Ubuntu 14.04.  Many thanks indeed!

Now what shall I do with that crappy Windows 8 laptop I bought?  Sigh!

Bob


Title: Re: CamBam on Linux
Post by: lloydsp on August 10, 2014, 15:21:20 pm
Just on a lark, I think I'm going to try CamBam on a Raspberry Pi.  It would be a nice, compact 'pocket' solution for in the field (if it's not too slow).

However, the only version of mono I can find for the Raspbian OS is 4.x  CamBam seems to be looking for mono 2.x files.

Are there any tricks to making CB work under mono 4, or must I find/adapt a version 2 mono to the RPi?

Lloyd


Title: Re: CamBam on Linux
Post by: AdeV on August 10, 2014, 17:03:20 pm
Working on Ubuntu 14.04.  Many thanks indeed!

Now what shall I do with that crappy Windows 8 laptop I bought?  Sigh!


Bob - go to Linux Mint homepage & download an ISO image. Then google making a "live CD" on your USB pen drive (it's a piece of cake on Linux, a bit harder on Windows); the result is a USB stick that you can boot your shiny Windows laptop into Linux Mint - and, unlike the CDROM version, it actually performs reasonably well. You even get access to the Windows drive, so you can save files & stuff...


Title: Re: CamBam on Linux
Post by: macbob on August 10, 2014, 18:20:50 pm
Thanks for the suggestion.  Your approach has the benefit that I would still have a Windows machine for those rare occasions when I need to run something on Windows, although CamBam was the only holdout I cared about.  I have been using UNIX for just under 40 years and feel much more comfortable with it than with the modern Windows interface.

On the other hand, I have been drooling over the Grasshopper tool for Rhino.  Rhino would be a serious investment for me, and it only runs on Windows.  Sigh!

I will look into Linux Mint.

Many thanks!

Bob


Title: Re: CamBam on Linux
Post by: cobra18t on September 27, 2014, 21:00:10 pm
I created a .cb file in 0.9.8N on Windows 7. When I try to open it in 0.9.8P in Ubuntu 14.04 I get an error that simply says "./libcambam64.so"

Any ideas how I can get the file opened up on Linux?


Title: Re: CamBam on Linux
Post by: vik on September 27, 2014, 23:58:36 pm
Try a 'cd' into the installed directory on a terminal, and running ./CamBam.exe there. While you're at it, check that the file exists in the directory with ls -l

See if that works or sheds any further light.

Vik :v)


Title: Re: CamBam on Linux
Post by: lloydsp on September 28, 2014, 01:31:47 am
When I try to open it in 0.9.8P in Ubuntu 14.04 I get an error that simply says "./libcambam64.so"
---------------------
That's not an error, that's a file path.  What "error" do you get.

Lloyd


Title: Re: CamBam on Linux
Post by: cobra18t on September 28, 2014, 16:20:55 pm
@vik: Thanks for the suggestion. It turns out that the file permissions for ./libcambam64 needed to be set to "Allow executing file as program"

@lloydsp: Yes, that is what was annoying about the error message; it was just an error dialog box with a filepath. Nothing else.

Thanks all, it is working now!


-Thomas


Title: Re: CamBam on Linux
Post by: cobra18t on October 06, 2014, 04:36:46 am
I spoke too soon about it "all working."

I am crashing CamBam with the following sequence:

1. Open Cambam in Terminal with
Code:
mono ~/CamBam0.9.8/CamBam.exe
2. Open existing .cb file
3. Click on existing spline
4. Edit spline control points
5. Only integers are displayed even though points have many digits past the decimal. Doubleclick on a point to edit it and additional digits appear.
6. click off the point being edited.
7. Doubleclick another point to edit it. CamBam crashes with the following error:
Code:
System.ObjectDisposedException: The object was used after being disposed.
  at System.Windows.Forms.Control.CreateHandle () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.TextBoxBase.CreateHandle () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.CreateControl () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.SetVisibleCore (Boolean value) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.set_Visible (Boolean value) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:set_Visible (bool)
  at System.Windows.Forms.DataGridView.BeginEdit (Boolean selectAll) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.DataGridView.SetCurrentCellAddressCore (Int32 columnIndex, Int32 rowIndex, Boolean setAnchorCellAddress, Boolean validateCurrentCell, Boolean throughMouseClick) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.DataGridView.OnMouseDown (System.Windows.Forms.MouseEventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.WmLButtonDown (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.DataGridView.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0


Title: Re: CamBam on Linux
Post by: dh42 on November 17, 2014, 20:07:41 pm
Hello,

After a lot of difficulties  ::), I've now Cambam that works on linux (Ubuntu 14.04) ..

(A guy on a french forum has done a script that install all mono libs, cambam files and an icon for lauch CB  full automatically, nice !!)

I also tried to install some plugins ... and understand why they works or not on the linux version ...

If I try my plugins "Invert selection" or "Flatten", it works, but "Num Move" or "Grid Manager" crashes CB.

An example of the console return values when I try to use NumMove (no error when loading the plugin, only when it is used)

Code:
Missing method GetSetting in assembly /home/david/CamBam0.9.8/plugins/NumMove.dll, type Microsoft.VisualBasic.Interaction
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
File name: 'Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
  at System.Windows.Forms.Form.OnLoad (System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs e) [0x00000] in <filename unknown>:0


Is there other things that are needed, in addition to the 4 libmonoxxxx..cil libraries given in the web doc to handle the .dll files compiled with VB .net ?

I've also a crash when I try to edit cells in the points collections (polylines, points list)

I can edit one cell, then if I try to edit a second, Cambam close.(but before it ask if I want to save my unsaved file)

++
David


Title: Re: CamBam on Linux
Post by: brickosouch on November 19, 2014, 18:36:46 pm
Hi, I like cambam and dislike windows.

I tried cambam on linux but it is not ready for it yet (slow, lots of crash and weird behaviours), am I wrong?

Does the recent news of .net going to open source will change this?
Does going from mono to native microsoft .net on Linux will make cambam work like a charm on Linux without too much work for the cambam development team?

cheers.


Title: Re: CamBam on Linux
Post by: brickosouch on November 19, 2014, 21:55:44 pm
for information, i tried cambam on linux with CamBam0.9.8P-mono-beta2-64bit and ubuntu 12.04 64bits.


Title: Re: CamBam on Linux
Post by: swarfing on November 22, 2014, 19:05:56 pm
.net is already available on linux, it is just limited because of MS needing to be different.


Title: Re: CamBam on Linux
Post by: Elrod on December 27, 2014, 22:34:03 pm
I'm a brand new user of CamBam and I have it working under Linux which is my preferred OS.  I was watching the video on Styles and following along in the software.  I get to the point of changing the holes from being milled to being drilled and when I attempt to change "Tool Profile" to "Drill" it simply changes back to "Unspecified".  It seems to work properly under my Windows installation.  Am I doing something wrong?

Elrod


Title: Re: CamBam on Linux
Post by: Elrod on January 04, 2015, 03:56:10 am
Just to update.  The problem I described above was with Ubuntu 12.04 32-bit.  I just installed Ubuntu 14.04 64-bit on the same machine and now the pull-down menu acts normally.

Elrod


Title: Re: CamBam on Linux
Post by: clucky on February 15, 2015, 20:39:55 pm
Hi, I'm an old CamBam user and the Linux version 0.9.8p since I acquired a license because the progress is huge, I can finally use CamBam Linux. Thank you and congratulations for this work.
I do have a bug on polylines, I can not edit the point of collection if CamBam stop immediately

i use cambam 0.9.8p and ubuntu 14.10


Title: Re: CamBam on Linux
Post by: SteveT on March 14, 2015, 16:19:29 pm
Hi I am running CamBam on Ubuntu 14.10 64bit and all is working fine, the only dislike I have is having to start CamBam via the termial, I have never tried Bash scripts which I think is the solution; would anyone have a script I could use to start CamBam from the desktop?   

Steve


Title: Re: CamBam on Linux
Post by: llamatrails on March 14, 2015, 16:54:07 pm
Here is what I use from the command line in a file called start-cambam with 755 permissions:

#!/bin/bash

# mono files are in ~/.config

mono ~/CamBam0.9.8/CamBam.exe &


Title: Re: CamBam on Linux
Post by: hnnrs on June 13, 2015, 07:40:41 am
Hi,

I've just started with CamBam and tried the linux version. The latest version worked fine on my 64-bit ubuntu 14.04 desktop but when I tried the 32-bit version on debian wheezy (older machine for a lathe) on starting it wants mono 2.0. Have I done anything wrong as I followed and carried out the same install instructions on both machines? I am keen to get it working as I need to purchase a license to get the lathe functionality.

Many thanks.

SOLVED: not sure what happened but works now!


Title: Re: CamBam on Linux
Post by: siri on June 14, 2015, 02:11:15 am
I recently installed Cambam on Linux Mint 17.1 Rebecca, got it working but the program would stop if i try to create text, and found the answer here : http://www.cambam.co.uk/forum/index.php?topic=4291.msg32443#msg32443.

Quote
Lastly you need to be in the right directory when starting CB or the text will not work.

#!/bin/sh

cd ~/CamBam0.9.8
mono CamBam.exe

With thanks to "newlinuxuser"

To make it simple for noobs, install everything then create a text file without extension, with the following code in it:

#!/bin/sh

cd ~/CamBam0.9.8
mono CamBam.exe


call it "cambam", right click on it and "allow as executable", and put it in the /bin directory at the root (right click on the "bin" folder, and "open as administrator").
then right click on your desktop, "create a new launcher", write "cambam" in all the fields and click on the icon to put the cambam icon.

Now you can run it from the desktop and/or start menu  ;)



Title: Re: CamBam on Linux
Post by: vik on July 13, 2015, 06:00:01 am
I've got it running nicely under Ubuntu Utopic though one little thing eludes me: How does one copy an object, layer or MOP from one running instance of CamBam to another?

Once cannot drag between instances of CamBam, there is no option to import into the currently edited file, and copy/pase does not work between instances of CamBam running under Linux's mono.

Just so that's absolutely clear: You cannot Copy/Paste between two running CamBams under Linux.

As far as I can tell, this means I cannot get information from one file into another existing file.

This turns out to be quite a problem when you're trying to import, say, a DXF logo into an existing part. Nor can I swipe MOPs from one file into another.

The copy buffer does not survive a "New" or "Open" either, so I can't open one file, copy bits of it, open another file, and paste the bits into that. Frustrating.

Vik :v)


Title: Re: CamBam on Linux
Post by: kea248 on July 13, 2015, 10:09:55 am
 :P :P :P :P :P :P


ร่วมเล่นสนุกๆไปกับพวกเรา ได้ที่นี่ คาสิโนออนไลน์ (https://www.royal-1688.net)


Title: Re: CamBam on Linux
Post by: dh42 on July 13, 2015, 12:08:18 pm
Hello,

Not yet tested on Linux, but maybe you can try the filemerge plugin ?

http://www.cambam.co.uk/forum/index.php?topic=4842.0

++
David


Title: Re: CamBam on Linux
Post by: dh42 on July 13, 2015, 13:11:12 pm
Re

I just test the plugin on Linux version and it works

a little video with the library method

http://screencast.com/t/yNKLmHJHIs

Hope that help

++
David


Title: Re: CamBam on Linux
Post by: vik on July 13, 2015, 21:42:45 pm
Yup, that works here too! Thanks very much :)

Vik :v)


Title: Re: CamBam on Linux - Strange behaviour with polylines
Post by: onekk on September 03, 2015, 11:28:00 am
Hi, I'm considering in buying Cambam but As I'm a Linux user, i have tested it on my installation Linux Mint 17.2 and have had problem with polylines, it crash the program or continue to emit an error message when i select try to modify the point (Collection) on the polyline to set a "bulge".

I have managed to run cambam from a terminal and had a long error output in the terminal.

Anyone is interested in this error report or it is a known bug.

Is Cambam for Linux officially supported, It seems the only affordable CAM program for Linux.

TIA and regards

Carlo D.
onekk


Title: Re: CamBam on Linux
Post by: dh42 on September 03, 2015, 13:35:16 pm
Hello,

Quote
Anyone is interested in this error report or it is a known bug.

Thanks for the report ;)

Yes it's a know bug on the linux version.

http://www.cambam.co.uk/forum/index.php?topic=4447.0

++
David


Title: Re: CamBam on Linux
Post by: onekk on September 03, 2015, 13:47:40 pm
I've resolved (hope) installing the latest mono from the mono site on Linux Mint Rafaela,
my mono version is:

Code:
Mono JIT compiler version 4.0.3 (Stable 4.0.3.20/d6946b4 Tue Aug  4 09:43:57 UTC 2015)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
        TLS:           __thread
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  amd64
        Disabled:      none
        Misc:          softdebug
        LLVM:          supported, not enabled.
        GC:            sgen

Installed following the instructions at:

http://www.mono-project.com/docs/getting-started/install/linux/#usage


Title: Re: CamBam on Linux
Post by: dh42 on September 03, 2015, 14:02:53 pm
Hello,

Quote
Is Cambam on Linux officially supported ?

It's is done by the same person than Windows version (Andy Payne - 10Bull), then I think that we can say that it is officially supported ;)

Quote
I've noted some inconsistency in the italian translation, like when you set the "Velocity Mode" it will be helpul to have the Gcode near the description, to avoid error.

You can edit the translation yourself (and share the translation file if you want) with this plugin.

http://www.cambam.info/ref/plugin.translations

Thanks for the fix with mono  ;D

++
David


Title: Re: CamBam on Linux
Post by: onekk on September 24, 2015, 17:34:37 pm
I'm translating the 0.9.8P manual using the Linux Version,  I have to "translate" also some images present in the online Documentation, anyone know if the file used to obtain the  "Toolpath view filter" image is available it is called SimpleBlock on the titlebar?

TIA


Title: Re: CamBam on Linux
Post by: dh42 on September 24, 2015, 18:07:07 pm
Hello,

I don't have it, but it is very easy to redo ; it's just 2 pockets ;)

++
David


Title: Re: CamBam on Linux
Post by: Dragonfly on July 10, 2017, 12:24:00 pm
Is the Toolkit (involute gear and timing belt pulley generation) included in the Linux version? I don't see it in my installation.