panzergame / dxfplotter

Fast and easy to use DXF to GCode converter for laser CNC
MIT License
59 stars 12 forks source link

Error building from source on Linux Mint 21.1 #7

Closed nhansendev closed 11 months ago

nhansendev commented 1 year ago

Following the instructions for building dxfplotter from the main github page:

  1. Cloned the repo
  2. git submodule init
  3. git submodule update
  4. cmake -B build

Okay so far, but when I try cmake --build build -j $(nproc): It complains about missing config/config.h. Strangely, a search finds:

[  0%] Automatic MOC for target view-simulation-internal
[  0%] Automatic MOC for target fmt
[  0%] Automatic MOC for target libdxfrw
[  0%] Automatic MOC for target geometry
[  0%] Automatic MOC for target importer-dxf
[  1%] Automatic MOC for target gtest
[  2%] Automatic MOC for target yaml-cpp
[  3%] Automatic MOC for target geometry-filter
[  3%] Generating config.h
[  3%] Automatic MOC for target resource
[  4%] Automatic MOC for target importer-dxfplot
[  6%] Generating ui_simulation.h
[  7%] Generating ui_group.h
[  7%] Generating ui_list.h
[  7%] Generating ui_settings.h
[  7%] Built target uic-simulation
[  7%] Built target uic-dialogs-settings
[  7%] Built target view-simulation-internal_autogen
[  7%] Built target geometry_autogen
[  7%] Built target importer-dxf_autogen
[  7%] Built target resource_autogen
[  7%] Built target geometry-filter_autogen
[  7%] Built target gtest_autogen
[  7%] Built target fmt_autogen
[  7%] Built target libdxfrw_autogen
[  7%] Built target yaml-cpp_autogen
[  7%] Generating ui_transform.h
[  7%] Built target importer-dxfplot_autogen
[  8%] Generating ui_mirror.h
[  8%] Generating ui_setorigin.h
[  9%] Generating qrc_resource.cpp
[  9%] Building CXX object src/view/simulation/internal/CMakeFiles/view-simulation-internal.dir/view-simulation-internal_autogen/mocs_compilation.cpp.o
[  9%] Building CXX object src/geometry/CMakeFiles/geometry.dir/geometry_autogen/mocs_compilation.cpp.o
[  9%] Building CXX object src/geometry/CMakeFiles/geometry.dir/arc.cpp.o
[ 11%] Building CXX object src/geometry/CMakeFiles/geometry.dir/bezier.cpp.o
[ 11%] Building CXX object src/importer/dxf/CMakeFiles/importer-dxf.dir/importer-dxf_autogen/mocs_compilation.cpp.o
[ 12%] Building CXX object src/geometry/CMakeFiles/geometry.dir/biarc.cpp.o
[ 12%] Building CXX object _deps/googletest-build/googletest/CMakeFiles/gtest.dir/gtest_autogen/mocs_compilation.cpp.o
[ 13%] Building CXX object _deps/googletest-build/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
[ 14%] Building CXX object src/importer/dxf/CMakeFiles/importer-dxf.dir/entityimporter.cpp.o
[ 14%] Building CXX object src/geometry/CMakeFiles/geometry.dir/bulge.cpp.o
[ 14%] Building CXX object src/geometry/CMakeFiles/geometry.dir/circle.cpp.o
[ 14%] Building CXX object src/importer/dxf/CMakeFiles/importer-dxf.dir/importer.cpp.o
[ 14%] Building CXX object src/view/simulation/internal/CMakeFiles/view-simulation-internal.dir/scene.cpp.o
[ 14%] Building CXX object src/geometry/filter/CMakeFiles/geometry-filter.dir/assembler.cpp.o
[ 14%] Building CXX object src/geometry/CMakeFiles/geometry.dir/cubicspline.cpp.o
[ 16%] Building CXX object src/geometry/CMakeFiles/geometry.dir/line.cpp.o
[ 16%] Building CXX object src/geometry/filter/CMakeFiles/geometry-filter.dir/geometry-filter_autogen/mocs_compilation.cpp.o
[ 16%] Building CXX object src/importer/dxf/CMakeFiles/importer-dxf.dir/interface.cpp.o
[ 16%] Building CXX object thirdparty/fmt/CMakeFiles/fmt.dir/fmt_autogen/mocs_compilation.cpp.o
[ 18%] Building CXX object src/geometry/filter/CMakeFiles/geometry-filter.dir/cleaner.cpp.o
[ 18%] Building CXX object src/view/simulation/internal/CMakeFiles/view-simulation-internal.dir/toolpath.cpp.o
[ 19%] Building CXX object src/importer/dxf/CMakeFiles/importer-dxf.dir/layer.cpp.o
[ 19%] Building CXX object src/geometry/CMakeFiles/geometry.dir/pocketer.cpp.o
[ 19%] Building CXX object src/view/simulation/internal/CMakeFiles/view-simulation-internal.dir/tool.cpp.o
[ 20%] Building CXX object src/importer/dxfplot/CMakeFiles/importer-dxfplot.dir/importer-dxfplot_autogen/mocs_compilation.cpp.o
[ 20%] Building CXX object thirdparty/libdxfrw/CMakeFiles/libdxfrw.dir/libdxfrw_autogen/mocs_compilation.cpp.o
[ 20%] Building CXX object src/importer/dxfplot/CMakeFiles/importer-dxfplot.dir/importer.cpp.o
[ 20%] Building CXX object src/view/simulation/internal/CMakeFiles/view-simulation-internal.dir/viewport.cpp.o
[ 20%] Building CXX object thirdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/yaml-cpp_autogen/mocs_compilation.cpp.o
[ 20%] Built target uic-dialogs
[ 20%] Building CXX object thirdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/contrib/graphbuilder.cpp.o
[ 20%] Building CXX object resource/CMakeFiles/resource.dir/resource_autogen/mocs_compilation.cpp.o
In file included from /home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxfplot/importer.cpp:1:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxfplot/importer.h:3:10: fatal error: config/config.h: No such file or directory
    3 | #include <config/config.h>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [src/importer/dxfplot/CMakeFiles/importer-dxfplot.dir/build.make:90: src/importer/dxfplot/CMakeFiles/importer-dxfplot.dir/importer.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[1]: *** [CMakeFiles/Makefile2:3179: src/importer/dxfplot/CMakeFiles/importer-dxfplot.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
[ 22%] Building CXX object src/geometry/filter/CMakeFiles/geometry-filter.dir/removeexactduplicate.cpp.o
[ 22%] Building CXX object thirdparty/libdxfrw/CMakeFiles/libdxfrw.dir/drw_classes.cpp.o
[ 22%] Building CXX object resource/CMakeFiles/resource.dir/qrc_resource.cpp.o
[ 22%] Building CXX object thirdparty/fmt/CMakeFiles/fmt.dir/src/format.cc.o
[ 22%] Building CXX object src/geometry/filter/CMakeFiles/geometry-filter.dir/sorter.cpp.o
[ 22%] Building CXX object src/geometry/CMakeFiles/geometry.dir/polyline.cpp.o
[ 24%] Building CXX object thirdparty/libdxfrw/CMakeFiles/libdxfrw.dir/drw_entities.cpp.o
[ 24%] Building CXX object thirdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/contrib/graphbuilderadapter.cpp.o
[ 24%] Generating ui_info.h
[ 24%] Generating ui_mainwindow.h
[ 25%] Building CXX object thirdparty/fmt/CMakeFiles/fmt.dir/src/os.cc.o
[ 27%] Generating ui_path.h
[ 27%] Building CXX object thirdparty/libdxfrw/CMakeFiles/libdxfrw.dir/drw_header.cpp.o
[ 27%] Generating ui_profile.h
[ 27%] Generating ui_task.h
[ 27%] Built target uic
[ 27%] Linking CXX static library libresource.a
[ 27%] Built target generate-config
[ 27%] Building CXX object thirdparty/libdxfrw/CMakeFiles/libdxfrw.dir/libdwgr.cpp.o
[ 28%] Building CXX object thirdparty/libdxfrw/CMakeFiles/libdxfrw.dir/drw_objects.cpp.o
[ 28%] Built target resource
[ 28%] Building CXX object thirdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/binary.cpp.o
[ 28%] Building CXX object thirdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/convert.cpp.o
[ 29%] Building CXX object thirdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/depthguard.cpp.o
[ 29%] Building CXX object thirdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/directives.cpp.o
[ 29%] Building CXX object thirdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/emit.cpp.o
[ 29%] Building CXX object thirdparty/libdxfrw/CMakeFiles/libdxfrw.dir/libdxfrw.cpp.o
[ 30%] Building CXX object src/geometry/CMakeFiles/geometry.dir/quadraticspline.cpp.o
/home/nate/Downloads/dxfplotter-master/dxfplotter/thirdparty/libdxfrw/drw_entities.cpp: In member function ‘bool DRW_Vertex::parseDwg(DRW::Version, dwgBuffer*, duint32, double)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/thirdparty/libdxfrw/drw_entities.cpp:1690:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
 1690 |         if (version > DRW::AC1021) //2010+
      |         ^~
In file included from /home/nate/Downloads/dxfplotter-master/dxfplotter/thirdparty/libdxfrw/drw_entities.cpp:17:
/home/nate/Downloads/dxfplotter-master/dxfplotter/thirdparty/libdxfrw/intern/drw_dbg.h:24:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   24 | #define DRW_DBG(a) DRW_dbg::getInstance()->print(a)
      |                    ^~~~~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/thirdparty/libdxfrw/drw_entities.cpp:1691:37: note: in expansion of macro ‘DRW_DBG’
 1691 |             DRW_DBG("Vertex ID: "); DRW_DBG(buf->getBitLong());
      |                                     ^~~~~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/thirdparty/libdxfrw/drw_objects.cpp: In member function ‘virtual bool DRW_PlotSettings::parseDwg(DRW::Version, dwgBuffer*, duint32)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/thirdparty/libdxfrw/drw_objects.cpp:1239:79: warning: unused parameter ‘bs’ [-Wunused-parameter]
 1239 | bool DRW_PlotSettings::parseDwg(DRW::Version version, dwgBuffer *buf, duint32 bs){
      |                                                                       ~~~~~~~~^~
[ 32%] Building CXX object thirdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/emitter.cpp.o
[ 32%] Building CXX object thirdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/emitfromevents.cpp.o
[ 32%] Building CXX object src/geometry/CMakeFiles/geometry.dir/rect.cpp.o
[ 32%] Building CXX object src/geometry/CMakeFiles/geometry.dir/spline.cpp.o
[ 32%] Building CXX object thirdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/emitterstate.cpp.o
[ 33%] Building CXX object thirdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/emitterutils.cpp.o
[ 33%] Building CXX object thirdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/exceptions.cpp.o
[ 34%] Building CXX object thirdparty/libdxfrw/CMakeFiles/libdxfrw.dir/intern/drw_dbg.cpp.o
[ 34%] Building CXX object thirdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/exp.cpp.o
[ 34%] Building CXX object thirdparty/libdxfrw/CMakeFiles/libdxfrw.dir/intern/drw_textcodec.cpp.o
[ 35%] Building CXX object thirdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/memory.cpp.o
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::addHeader(const DRW_Header*)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:16:45: warning: unused parameter ‘data’ [-Wunused-parameter]
   16 | void Interface::addHeader(const DRW_Header* data)
      |                           ~~~~~~~~~~~~~~~~~~^~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::addLType(const DRW_LType&)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:21:43: warning: unused parameter ‘data’ [-Wunused-parameter]
   21 | void Interface::addLType(const DRW_LType& data)
      |                          ~~~~~~~~~~~~~~~~~^~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::addDimStyle(const DRW_Dimstyle&)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:32:49: warning: unused parameter ‘data’ [-Wunused-parameter]
   32 | void Interface::addDimStyle(const DRW_Dimstyle& data)
      |                             ~~~~~~~~~~~~~~~~~~~~^~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::addVport(const DRW_Vport&)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:37:43: warning: unused parameter ‘data’ [-Wunused-parameter]
   37 | void Interface::addVport(const DRW_Vport& data)
      |                          ~~~~~~~~~~~~~~~~~^~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::addTextStyle(const DRW_Textstyle&)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:42:51: warning: unused parameter ‘data’ [-Wunused-parameter]
   42 | void Interface::addTextStyle(const DRW_Textstyle& data)
      |                              ~~~~~~~~~~~~~~~~~~~~~^~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::addAppId(const DRW_AppId&)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:47:43: warning: unused parameter ‘data’ [-Wunused-parameter]
   47 | void Interface::addAppId(const DRW_AppId& data)
      |                          ~~~~~~~~~~~~~~~~~^~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::addBlock(const DRW_Block&)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:52:43: warning: unused parameter ‘data’ [-Wunused-parameter]
   52 | void Interface::addBlock(const DRW_Block& data)
      |                          ~~~~~~~~~~~~~~~~~^~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::setBlock(int)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:58:36: warning: unused parameter ‘handle’ [-Wunused-parameter]
   58 | void Interface::setBlock(const int handle)
      |                          ~~~~~~~~~~^~~~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::addRay(const DRW_Ray&)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:81:39: warning: unused parameter ‘data’ [-Wunused-parameter]
   81 | void Interface::addRay(const DRW_Ray& data)
      |                        ~~~~~~~~~~~~~~~^~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::addXline(const DRW_Xline&)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:86:43: warning: unused parameter ‘data’ [-Wunused-parameter]
   86 | void Interface::addXline(const DRW_Xline& data)
      |                          ~~~~~~~~~~~~~~~~~^~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::addPolyline(const DRW_Polyline&)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:115:49: warning: unused parameter ‘data’ [-Wunused-parameter]
  115 | void Interface::addPolyline(const DRW_Polyline& data)
      |                             ~~~~~~~~~~~~~~~~~~~~^~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::addKnot(const DRW_Entity&)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:126:43: warning: unused parameter ‘data’ [-Wunused-parameter]
  126 | void Interface::addKnot(const DRW_Entity& data)
      |                         ~~~~~~~~~~~~~~~~~~^~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::addInsert(const DRW_Insert&)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:131:45: warning: unused parameter ‘data’ [-Wunused-parameter]
  131 | void Interface::addInsert(const DRW_Insert& data)
      |                           ~~~~~~~~~~~~~~~~~~^~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::addTrace(const DRW_Trace&)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:136:43: warning: unused parameter ‘data’ [-Wunused-parameter]
  136 | void Interface::addTrace(const DRW_Trace& data)
      |                          ~~~~~~~~~~~~~~~~~^~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::add3dFace(const DRW_3Dface&)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:141:45: warning: unused parameter ‘data’ [-Wunused-parameter]
  141 | void Interface::add3dFace(const DRW_3Dface& data)
      |                           ~~~~~~~~~~~~~~~~~~^~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::addSolid(const DRW_Solid&)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:146:43: warning: unused parameter ‘data’ [-Wunused-parameter]
  146 | void Interface::addSolid(const DRW_Solid& data)
      |                          ~~~~~~~~~~~~~~~~~^~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::addMText(const DRW_MText&)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:151:43: warning: unused parameter ‘data’ [-Wunused-parameter]
  151 | void Interface::addMText(const DRW_MText& data)
      |                          ~~~~~~~~~~~~~~~~~^~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::addText(const DRW_Text&)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:156:41: warning: unused parameter ‘data’ [-Wunused-parameter]
  156 | void Interface::addText(const DRW_Text& data)
      |                         ~~~~~~~~~~~~~~~~^~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::addDimAlign(const DRW_DimAligned*)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:161:51: warning: unused parameter ‘data’ [-Wunused-parameter]
  161 | void Interface::addDimAlign(const DRW_DimAligned *data)
      |                             ~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::addDimLinear(const DRW_DimLinear*)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:166:51: warning: unused parameter ‘data’ [-Wunused-parameter]
  166 | void Interface::addDimLinear(const DRW_DimLinear *data)
      |                              ~~~~~~~~~~~~~~~~~~~~~^~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::addDimRadial(const DRW_DimRadial*)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:171:51: warning: unused parameter ‘data’ [-Wunused-parameter]
  171 | void Interface::addDimRadial(const DRW_DimRadial *data)
      |                              ~~~~~~~~~~~~~~~~~~~~~^~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::addDimDiametric(const DRW_DimDiametric*)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:176:57: warning: unused parameter ‘data’ [-Wunused-parameter]
  176 | void Interface::addDimDiametric(const DRW_DimDiametric *data)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::addDimAngular(const DRW_DimAngular*)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:181:53: warning: unused parameter ‘data’ [-Wunused-parameter]
  181 | void Interface::addDimAngular(const DRW_DimAngular *data)
      |                               ~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::addDimAngular3P(const DRW_DimAngular3p*)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:186:57: warning: unused parameter ‘data’ [-Wunused-parameter]
  186 | void Interface::addDimAngular3P(const DRW_DimAngular3p *data)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::addDimOrdinate(const DRW_DimOrdinate*)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:191:55: warning: unused parameter ‘data’ [-Wunused-parameter]
  191 | void Interface::addDimOrdinate(const DRW_DimOrdinate *data)
      |                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::addLeader(const DRW_Leader*)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:196:45: warning: unused parameter ‘data’ [-Wunused-parameter]
  196 | void Interface::addLeader(const DRW_Leader *data)
      |                           ~~~~~~~~~~~~~~~~~~^~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::addHatch(const DRW_Hatch*)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:201:43: warning: unused parameter ‘data’ [-Wunused-parameter]
  201 | void Interface::addHatch(const DRW_Hatch *data)
      |                          ~~~~~~~~~~~~~~~~~^~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::addViewport(const DRW_Viewport&)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:206:49: warning: unused parameter ‘data’ [-Wunused-parameter]
  206 | void Interface::addViewport(const DRW_Viewport& data)
      |                             ~~~~~~~~~~~~~~~~~~~~^~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::addImage(const DRW_Image*)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:211:43: warning: unused parameter ‘data’ [-Wunused-parameter]
  211 | void Interface::addImage(const DRW_Image *data)
      |                          ~~~~~~~~~~~~~~~~~^~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::linkImage(const DRW_ImageDef*)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:216:47: warning: unused parameter ‘data’ [-Wunused-parameter]
  216 | void Interface::linkImage(const DRW_ImageDef *data)
      |                           ~~~~~~~~~~~~~~~~~~~~^~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::addComment(const char*)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:221:40: warning: unused parameter ‘comment’ [-Wunused-parameter]
  221 | void Interface::addComment(const char* comment)
      |                            ~~~~~~~~~~~~^~~~~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::addPlotSettings(const DRW_PlotSettings*)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:226:57: warning: unused parameter ‘data’ [-Wunused-parameter]
  226 | void Interface::addPlotSettings(const DRW_PlotSettings *data)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp: In member function ‘virtual void importer::dxf::Interface::writeHeader(DRW_Header&)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/src/importer/dxf/interface.cpp:231:41: warning: unused parameter ‘data’ [-Wunused-parameter]
  231 | void Interface::writeHeader(DRW_Header& data)
      |                             ~~~~~~~~~~~~^~~~
[ 35%] Building CXX object thirdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/node.cpp.o
[ 35%] Building CXX object thirdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/node_data.cpp.o
[ 35%] Building CXX object thirdparty/libdxfrw/CMakeFiles/libdxfrw.dir/intern/dwgbuffer.cpp.o
[ 37%] Building CXX object thirdparty/libdxfrw/CMakeFiles/libdxfrw.dir/intern/dwgreader15.cpp.o
[ 37%] Building CXX object thirdparty/libdxfrw/CMakeFiles/libdxfrw.dir/intern/dwgreader18.cpp.o
[ 38%] Building CXX object thirdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/nodebuilder.cpp.o
[ 38%] Building CXX object thirdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/nodeevents.cpp.o
[ 38%] Building CXX object thirdparty/libdxfrw/CMakeFiles/libdxfrw.dir/intern/dwgreader21.cpp.o
[ 38%] Linking CXX static library libfmt.a
[ 39%] Linking CXX static library libview-simulation-internal.a
[ 40%] Building CXX object thirdparty/libdxfrw/CMakeFiles/libdxfrw.dir/intern/dwgreader24.cpp.o
[ 40%] Building CXX object thirdparty/libdxfrw/CMakeFiles/libdxfrw.dir/intern/dwgreader27.cpp.o
[ 40%] Built target fmt
[ 40%] Building CXX object thirdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/null.cpp.o
[ 40%] Built target view-simulation-internal
[ 41%] Building CXX object thirdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/ostream_wrapper.cpp.o
[ 41%] Building CXX object thirdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/parse.cpp.o
[ 43%] Building CXX object thirdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/parser.cpp.o
[ 43%] Building CXX object thirdparty/libdxfrw/CMakeFiles/libdxfrw.dir/intern/dwgreader.cpp.o
/home/nate/Downloads/dxfplotter-master/dxfplotter/thirdparty/libdxfrw/libdxfrw.cpp: In member function ‘bool dxfRW::processPolyline()’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/thirdparty/libdxfrw/libdxfrw.cpp:2639:30: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2639 |                 processVertex(&pl);
      |                 ~~~~~~~~~~~~~^~~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/thirdparty/libdxfrw/libdxfrw.cpp:2643:9: note: here
 2643 |         default:
      |         ^~~~~~~
/home/nate/Downloads/dxfplotter-master/dxfplotter/thirdparty/libdxfrw/libdxfrw.cpp: In member function ‘bool dxfRW::processVertex(DRW_Polyline*)’:
/home/nate/Downloads/dxfplotter-master/dxfplotter/thirdparty/libdxfrw/libdxfrw.cpp:2665:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2665 |             } else if (nextentity == "VERTEX"){
      |                    ^~
/home/nate/Downloads/dxfplotter-master/dxfplotter/thirdparty/libdxfrw/libdxfrw.cpp:2670:9: note: here
 2670 |         default:
      |         ^~~~~~~
[ 44%] Building CXX object thirdparty/libdxfrw/CMakeFiles/libdxfrw.dir/intern/dwgutil.cpp.o
[ 44%] Building CXX object thirdparty/libdxfrw/CMakeFiles/libdxfrw.dir/intern/dxfreader.cpp.o
[ 45%] Linking CXX static library libgeometry-filter.a
[ 45%] Building CXX object thirdparty/libdxfrw/CMakeFiles/libdxfrw.dir/intern/dxfwriter.cpp.o
[ 46%] Building CXX object thirdparty/libdxfrw/CMakeFiles/libdxfrw.dir/intern/rscodec.cpp.o
[ 46%] Built target geometry-filter
[ 46%] Building CXX object thirdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/regex_yaml.cpp.o
[ 46%] Building CXX object thirdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/scanner.cpp.o
[ 48%] Building CXX object thirdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/scanscalar.cpp.o
[ 48%] Building CXX object thirdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/scantag.cpp.o
[ 48%] Building CXX object thirdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/scantoken.cpp.o
[ 48%] Linking CXX static library libimporter-dxf.a
[ 49%] Building CXX object thirdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/simplekey.cpp.o
[ 49%] Building CXX object thirdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/singledocparser.cpp.o
[ 49%] Building CXX object thirdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/stream.cpp.o
[ 50%] Building CXX object thirdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/tag.cpp.o
[ 50%] Built target importer-dxf
[ 50%] Linking CXX static library libyaml-cpp.a
[ 50%] Built target yaml-cpp
[ 50%] Linking CXX static library ../../../lib/libgtest.a
[ 51%] Linking CXX static library libgeometry.a
[ 51%] Built target gtest
[ 51%] Built target geometry
[ 51%] Linking CXX static library liblibdxfrw.a
[ 51%] Built target libdxfrw
gmake: *** [Makefile:166: all] Error 2
panzergame commented 11 months ago

Hello, thank you for the report, it was related to a missing dependency between cmake target which is visible on specific compilation order... It's now fixed in 3ed575192113179da37746cc4ad0e9dc92db7c58. Can you test again the compilation on your environment ?

panzergame commented 11 months ago

I fixed it on develop branch.

nhansendev commented 11 months ago

Can you test again the compilation on your environment ?

Done, can confirm that it works for me now. :thumbsup: