Open Eric-hhh opened 4 years ago
During making, error looks like this:
Thanks for reporting. Unfortunately I have no computer with MacOS at my possession, so cannot check it right away without setting up some virtual environment somewhere first.
But look, you say you have Qt in /usr/local/Cellar/qt/5.15.0/lib
but error comes from Qt header file located in /usr/local/opt/qt/lib/QtGui.framework/Headers/
. So it seems the build process uses wrong Qt library.
Thanks for reporting. Unfortunately I have no computer with MacOS at my possession, so cannot check it right away without setting up some virtual environment somewhere first.
But look, you say you have Qt in
/usr/local/Cellar/qt/5.15.0/lib
but error comes from Qt header file located in/usr/local/opt/qt/lib/QtGui.framework/Headers/
. So it seems the build process uses wrong Qt library.
Thank you for your answer and I'll try it on Linux.
I'm sorry to disturb you again but a linking error appears when making. Have you ever met this type of error? Btw, it's run on Linux Centos 7, cmake version 3.9.2, make --version GNU Make 3.82.
The last error is different from the initial one and is related to muparser. By some reason linker cannot find required libmuparser files. Did you install libmuparser development files on your Linux distribution?
I cannot say if I ever met exactly this type of error, maybe yes or maybe no... I didn't touch this project for quite a few months and I just don't remember. What I do remember for sure is that it was building without errors on Debian 9, it now builds without errors on my Debian 10 (cmake 3.13.4, make 4.2.1) and as you can see from Travis-CI logs it also was built without errors on Ubuntu 14.04 (Trusty) after last pushing to this repo.
For other distributions or OSes, fixing those errors require preparation of similar environments. I cannot promise if I do this in the near future because I'm not using this tool very frequently for my needs anymore and therefore my motivation is low.
You mentioned earlier that you successfuly built full LibreCAD. I don't know if running X server dependency is a real issue for you and if not, then running dxf2pdf tool from the full LibreCAD binary can be the easiest way out.
Thank you very much for your patient explanation. I think I'm heading on the wrong direction and my main target is dwg2pdf rather than dxf2pdf. :(. In fact running X server is a big trouble on my computer and next I'll focus on finding a new tool to convert dwg to pdf.
Thank you for your reply in last issue. I have installed the complete LibreCAD successfully from source code but still can't make your LibreCAD_dxf2pdf_standalone. Here is my environment: OS: MacOS 10.14 qmake version: QMake version 3.1 Using Qt version 5.15.0 in /usr/local/Cellar/qt/5.15.0/lib make version: GNU Make 3.81 cmake version: cmake version 3.18.1 If any dependencies version ignored, plz let me know and I will add to subsequent reply.