HaveF / papercrop

Automatically exported from code.google.com/p/papercrop
GNU General Public License v2.0
0 stars 0 forks source link

Could not compile on Debian-7.0 using #45

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Run 'ubuntu_installer3.sh'. All the necessary packages are installed.
2. However, compilation fails with a message: 
CMake Error at 
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):
  Could NOT find FLTK (missing: FLTK_INCLUDE_DIR).

 /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-2.8/Modules/FindFLTK.cmake:293 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:42 (find_package)

-- Configuring incomplete, errors occurred!
make: *** No rule to make target `clean'.  Stop.
make: *** No targets specified and no makefile found.  Stop.
cp: cannot stat `paperCrop': No such file or directory

However, dpkg -l \*fltk\*| grep ^ii|awk '{print $2}' shows:
libfltk-gl1.3:amd64
libfltk1.1:amd64
libfltk1.1:i386
libfltk1.1-dev
libfltk1.3:amd64

the above packages are installed, and libfltk1.1-dev has 'include' files 
installed in '/usr/include/FL'.
I tried 'export FLTK_INCLUDE_DIR=/usr/include/FL' also, before running
the script. But that did not help.

The version of papercrop I tried to compile is downloaded from svn by the ubuntu
installation script.
The operating system I tried to compile on is Debian-7.0.

Original issue reported on code.google.com by Subhashi...@gmail.com on 3 May 2013 at 9:10

GoogleCodeExporter commented 9 years ago
Could you try adding
  set(FLTK_INCLUDE_DIR "/usr/include/FL")
just before the find_package line in the CMakeLists.txt?

Original comment by taesoob...@gmail.com on 5 May 2013 at 11:02