timschmidt / repsnapper

RepSnapper RepRap control software
http://reprap.org/wiki/RepSnapper_Manual:Introduction
154 stars 52 forks source link

cannot find the library 'libclipper.la' #128

Open lorenzop opened 4 years ago

lorenzop commented 4 years ago

I'm trying to compile on fedora 31. I've installed a few missing dependencies, but I'm now getting this error. from what I can see, it should use the library found at libraries/clipper/

  GEN      src/gitversion.h
make  all-recursive
make[1]: Entering directory '/zcode/3d-printer/repsnapper'
Making all in po
make[2]: Entering directory '/zcode/3d-printer/repsnapper/po'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/zcode/3d-printer/repsnapper/po'
make[2]: Entering directory '/zcode/3d-printer/repsnapper'
  GEN      src/gitversion.h
  CXXLD    repsnapper
libtool:   error: cannot find the library 'libclipper.la' or unhandled argument 'libclipper.la'
make[2]: *** [Makefile:1359: repsnapper] Error 1
make[2]: Leaving directory '/zcode/3d-printer/repsnapper'
make[1]: *** [Makefile:2502: all-recursive] Error 1
make[1]: Leaving directory '/zcode/3d-printer/repsnapper'
make: *** [Makefile:939: all] Error 2
briancarlbahr commented 4 years ago

the source dir is doubled. change libraries/clipper/clipper to just libraries/clipper. also update in the Makefile.am