On 05/15/2012 05:43 AM, Qichang Liang wrote:

I have just downloaded the git repository of free-cad, and have
switched to the jriegel/assembly branch.

I just wonder whether I should use cmake, or autogen.sh - ./configure
- make to build freecad?

I am running lubuntu 12.04 amd64.  I tried to build with cmake.
However in the middle, it fails with:

mal@lubunut-amd64:~/git/free-cad-build$ make
[  0%] Built target coin
[  1%] Built target soqt
[  1%] Built target Driver
[  3%] Built target SMDS
[  4%] Built target DriverDAT
[  4%] Built target DriverSTL
[  4%] Built target DriverUNV
[  4%] Built target SMESHDS
make[2]: *** No rule to make target
`/usr/lib/i386-linux-gnu/libXmu.so', needed by `lib/libSMESH.so'.
make[1]: *** [src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/all] Error 2
make: *** [all] Error 2

I am on amd64, why the system asks for i386 architecture?



If what yorik posted doesn't help, look here.

There is a mistake in the amd64 libXmu packaging for precise. The link above describes editing the make files, but I was able to get through it with just adding a symbolic link(If I remember correctly). Run the following command and compare to my output and that should prove what I am remembering. I think I added the symbolic link libXmu.so to point to libXmu.so.6.2.0.

$locate libXmu