Skip to content

How2BuildTest

Raphael Kim edited this page Mar 9, 2023 · 4 revisions

Requirements

You need to clone or download my fltk-custom and fl_imgtk from here.

Recommend put every projects in same directory level to build it withour error.

ex:

(project root path)/fltk-custom
(project root path)/fl_imgtk
(prohect root path)/libsrcnn

Here is some simple sequence to complete build test program.

Sequence to first time of all

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-custom $ ./configure
(somewhere your project root)/fltk-custom $ make -j ( numbers of your cpu core x 2 )
(somewhere your project root)/fltk-custom $ sudo make install

It should be better install fltk to your system ( nothing to harm for your platform if you didn't ever used FLTK. )

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
Clone this wiki locally