CAM module status

Here's the place for discussion related to CAM/CNC and the development of the Path module.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
quick61
Veteran
Posts: 3803
Joined: Sat Aug 24, 2013 2:49 am
Location: u.S.A.

Re: Help compiling the CAM module

Post by quick61 »

prrvchr wrote:It take about 2 hours for having the error message at 85%...
Perhaps I have a too old laptop (compaq nx7000 / 512Mo RAM / Lubuntu 12.04) or not enough memory...
I need to make test on a newer computer...
Is that someone compiles an equivalent computer?

cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 9
model name : Intel(R) Pentium(R) M processor 1400MHz
stepping : 5
microcode : 0x5
cpu MHz : 1400.000
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : pae fpu vme de pse tsc msr mce cx8 sep mtrr pge mca cmov clflush dts acpi mmx fxsr sse sse2 tm pbe bts est tm2
bogomips : 2791.05
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 32 bits virtual
power management:
Without seeing the error message it's impossible to say. However, your long compile times are due to the fact you are only building on a slow, 32 bit, single core, mobile CPU. And here I thought I was behind the times with a core2 duo. :shock:

Mark
This post made with 0.0% Micro$oft products - GOT LINUX?
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Help compiling the CAM module

Post by NormandC »

Compiling FreeCAD from scratch used to take at least 45 minutes with one core on my 2007 AMD Athlon 64 x2 6000+ 3GHz desktop.

On such an old and low-powered laptop, I'm not surprised it'd take more than 2 hours. I would say it may be beneficial to upgrade your memory to 1GB, on the other hand I have no idea how much it would cost or if finding the right memory type would be easy.
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Help compiling the CAM module

Post by jmaustpc »

I have some old laptops with similar CPUs but more memory (1 GB)...it took something like 2 hours to compile, it was very slow, I gave up on them about a year ago or so, they will also have a really old GPU which at least in my case caused some issues with FreeCAD.

From memory my old 2.8GHz Pentium 4 desktop compiled a lot faster than those laptops.
prrvchr
Posts: 144
Joined: Sun Oct 05, 2014 7:38 pm
Location: France

Re: Help compiling the CAM module

Post by prrvchr »

Good morning to everyone,

Tonight, I remade some tests but I still have the same error:
When I do:
pierre@compaq-nx7000:~/GitHub/FreeCAD_sf_master$ cmake -DFREECAD_BUILD_DEBIAN=ON -DFREECAD_BUILD_CAM=ON
pierre@compaq-nx7000:~/GitHub/FreeCAD_sf_master$ make
Give me the error:
[ 86%] Building CXX object src/Mod/Cam2/App/CMakeFiles/Cam.dir/AppCamPy.cpp.o
[ 86%] Building CXX object src/Mod/Cam2/App/CMakeFiles/Cam.dir/LinuxCNC.cpp.o
c++: erreur interne du compilateur: Processus arrêté (program cc1plus)
Veuillez soumettre un rapport complet d'anomalies,
avec le source pré-traité si nécessaire.
Consultez <file:///usr/share/doc/gcc-4.6/README.Bugs> pour plus de détail.
make[2]: *** [src/Mod/Cam2/App/CMakeFiles/Cam.dir/LinuxCNC.cpp.o] Erreur 4
make[1]: *** [src/Mod/Cam2/App/CMakeFiles/Cam.dir/all] Erreur 2
make: *** [all] Erreur 2
If I look, I can't find the file LinuxCNC.cpp.o
pierre@compaq-nx7000:~/GitHub/FreeCAD_sf_master$ ls -la src/Mod/Cam2/App/CMakeFiles/Cam.dir
total 7360
drwxrwxr-x 6 pierre pierre 4096 nov. 4 22:24 .
drwxrwxr-x 5 pierre pierre 4096 nov. 4 20:58 ..
-rw-rw-r-- 1 pierre pierre 241692 nov. 4 22:24 AppCam.cpp.o
-rw-rw-r-- 1 pierre pierre 588708 nov. 4 22:24 AppCamPy.cpp.o
-rw-rw-r-- 1 pierre pierre 100597 nov. 4 20:58 build.make
-rw-rw-r-- 1 pierre pierre 2103 nov. 4 20:58 cmake_clean.cmake
-rw-rw-r-- 1 pierre pierre 255481 nov. 4 22:22 CXX.includecache
-rw-rw-r-- 1 pierre pierre 8003 nov. 4 20:58 DependInfo.cmake
-rw-rw-r-- 1 pierre pierre 1960333 nov. 4 22:22 depend.internal
-rw-rw-r-- 1 pierre pierre 4326762 nov. 4 22:22 depend.make
drwxrwxr-x 2 pierre pierre 4096 nov. 4 20:58 Features
-rw-rw-r-- 1 pierre pierre 1040 nov. 4 20:58 flags.make
drwxrwxr-x 2 pierre pierre 4096 nov. 4 20:58 Graphics
-rw-rw-r-- 1 pierre pierre 2472 nov. 4 20:58 link.txt
drwxrwxr-x 2 pierre pierre 4096 nov. 4 20:58 Plugins
-rw-rw-r-- 1 pierre pierre 876 nov. 4 20:58 progress.make
drwxrwxr-x 2 pierre pierre 4096 nov. 4 22:24 TPG
and
find ./ -iname LinuxCNC.cpp.o
give me nothing...

Anyone know where does this file, thanks.
prrvchr
Posts: 144
Joined: Sun Oct 05, 2014 7:38 pm
Location: France

Re: Help compiling the CAM module

Post by prrvchr »

Hi,

I did some further testing, and I always get a compiler error on LinuxCNC.cpp file on the CAM2 module. And this with nightly or redesign branch. Moreover it seems that it is out of date repository with only 2 commit in the last 6 months ...
Maybe I'm wasting my time trying something that does not work?

Furthermore, I can compile without problem the repository http://git.code.sf.net/p/free-cad/code on master branch but without CAM module. Maybe there is a newest repository for the CAM module?
Thank you ...
User avatar
sliptonic
Veteran
Posts: 3459
Joined: Tue Oct 25, 2011 10:46 pm
Location: Columbia, Missouri
Contact:

Re: Help compiling the CAM module

Post by sliptonic »

prrvchr wrote:Moreover it seems that it is out of date repository with only 2 commit in the last 6 months ...
Maybe I'm wasting my time trying something that does not work?
The cam workbench never got beyond the work-in - progress stage. Ideas were being explored but it was never usable. Even if you can get it to compile, I still think you're wasting your time. The new path module is a much more promising direction.

Check the thread in the developers corner.
prrvchr
Posts: 144
Joined: Sun Oct 05, 2014 7:38 pm
Location: France

Re: CAM module status

Post by prrvchr »

apparently this is here ...

https://github.com/yorikvanhavre/FreeCA ... ath-module

you can see this topic:
viewtopic.php?f=10&t=8622
Since this quickly became about compiling the CAM module branch, I split prrvchr's initial post onward from the CAM module status topic into a new separate topic.
Good but off topic, that does not save my time ... and maintains the confusion...

Edit: tks Sliptonic, I just see your post... I make a compile... I can try soon...
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: CAM module status

Post by NormandC »

2 pages of attempts to compile had no place in the original topic. It's not my problem if you don't read the forum's other topics. :roll:
prrvchr
Posts: 144
Joined: Sun Oct 05, 2014 7:38 pm
Location: France

Re: CAM module status

Post by prrvchr »

Hi Normandc,

It may be preferable for people who are interested in CAM to know where it goes.
I pay a beer to those who manage to compile the redesign branch... :lol:
User avatar
quick61
Veteran
Posts: 3803
Joined: Sat Aug 24, 2013 2:49 am
Location: u.S.A.

Re: CAM module status

Post by quick61 »

Sierra Nevada Torpedo Extra IPA please. :P

OS: Kubuntu 14.04.1 LTS
Platform: 64-bit
Version: 0.14.3990 (Git)
Branch: redesign
Hash: a34202065593684d330e481168c09f8671569604
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
SoQt version: 1.6.0a
OCC version: 6.7.1

Open image in new tab for full size.

Mark

But hey, maybe it's just me?
CAM_Redesign.png
CAM_Redesign.png (268.56 KiB) Viewed 2840 times
This post made with 0.0% Micro$oft products - GOT LINUX?
Post Reply