rageworx / libsrcnn

Super-Resolution imaging with Convolutional Neural Network library for G++, Non-OpenCV model.
http://rageworx.pe.kr/search/SRCNN
GNU Lesser General Public License v3.0
16 stars 1 forks source link

make -f Makefile.test #5

Closed jingnanopt closed 6 years ago

jingnanopt commented 6 years ago

Cleaning built targets ... Compiling src/test.cpp ... src/test.cpp:34:22: fatal error: fl_imgtk.h: No such file or directory compilation terminated. Makefile.test:70: recipe for target 'obj/test/test.o' failed make: *** [obj/test/test.o] Error 1

rageworx commented 6 years ago

You need to clone or download my fltk-1.3.4-2-ts and fl_imgtk from here.

First, Configure fltk and make them all, then install to your system ( not able to M$VC ) as like this:

(somewhere your project root)/fltk-1.3.4-2-ts $ ./configure --with-abiversion=10304
(somewhere your project root)/fltk-1.3.4-2-ts $ make -j (your cpu core x 2 )
(somewhere your project root)/fltk-1.3.4-2-ts $ sudo make install

Then move to fl_imgtk. ( M$VC not supports )

(somewhere your project root)/fl_imgtk $ make -f Makefile.(your favor: gcc, llvm, macos or mingw)

Then, compile test again.

(somewhere your project root)/libsrcnn $ make -f Makefile.test