Cannot compile 1.0.2

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Cannot compile 1.0.2

BobVonKnobloch
LibreCAD 1.0.2 from the zipfile does not compile (OpenSuse 11.3)

ate/moc -Iintermediate/ui -o intermediate/obj/rs_math.o src/lib/math/rs_math.cpp
src/lib/math/rs_math.cpp:27:22: fatal error: muParser.h: No such file or directory
compilation terminated.
make: *** [intermediate/obj/rs_math.o] Error 1
make: *** Waiting for unfinished jobs....

How to correct this ?

1.0.1 compiled OK on this system but has some bugs - crashes without warning & default 'save' dialogue wants to save as a font file - all work lost if not noticed :-)
Reply | Threaded
Open this post in threaded view
|

Re: Cannot compile 1.0.2

dxli
starting 1.0.2, LC depends on the package muParser (and the development files for building).

Please report to our bug tracker, if it still crashes with 1.0.2
Reply | Threaded
Open this post in threaded view
|

Re: Cannot compile 1.0.2

BobVonKnobloch
OK, it compiles now, thanks.
I didn't see any 'missing package' messages so didn't expect the problem.

This version still has the 'save' dialogue defaulting to 'LFF Font', which makes it dangerous.
What is the difference between DXF 2000 & DXF R12 (apart from 200 being Autocad and R12 being Inkscape). Is there any advantage to one or the other?

Bob
Reply | Threaded
Open this post in threaded view
|

Re: Cannot compile 1.0.2

dxli
Hi Bob,

I will fix this dialog issue, unless Rallaz gets this done ahead of me.

thanks reporting!

dxli

BobVonKnobloch wrote
OK, it compiles now, thanks.
I didn't see any 'missing package' messages so didn't expect the problem.

This version still has the 'save' dialogue defaulting to 'LFF Font', which makes it dangerous.
What is the difference between DXF 2000 & DXF R12 (apart from 200 being Autocad and R12 being Inkscape). Is there any advantage to one or the other?

Bob
Reply | Threaded
Open this post in threaded view
|

Re: Cannot compile 1.0.2

Rallaz
Hello Bob & Dxli,
I think it's a bug from KDE, or at least KDE+openSUSE ( I use 11.4)

LibreCAD uses a QFileDialog in "native dialog mode", using KDE+OS
the line #73 in qg_filedialog.cpp:
fileDlg->selectFilter(defFilter);
do not work and the "selected filter" are the first added in the dialog
the solution is to exchange lines #63 & #64.

Another issue with KDE+OS is dxfR12 and dxf2000.
The call to fileDlg->selectedFilter() always return the first filter added
 that match the pattern *.dxf
So I have written (in master branch) a method that can use "native" or qt fileDialog
You can activate it uncommenting the line
#define USEQTDIALOG 1
and the file dialog works as expected (in OS+KDE)

Dxli: I send a patch to 1.0.0 branch switching these lines.

Cheers,
Rallaz
Reply | Threaded
Open this post in threaded view
|

Re: Cannot compile 1.0.2

BobVonKnobloch
Works fine on OpenSUSE 11.3 KDE4.
Great, thanks.

Bob