how to install FLTK for VS CODE I have configured vs code for c++ and I want to use vs code for FLTK also, there is no good guideline for the process and I did not manage to install it according to FLTK help documents, I do ./configure
make
, and after make install
but I cannot run the code. I will list down what I did here:
download and unzip file on
c:/dev/flsk/
I had
mysys2
but when I tried to run the command like./configure
to configure FLTK it gave me some errors, so i downloadedMingGW
withdev toolkit
and after runMinGW shell
.run commands:
./configure
,make
,make install
that was all, now I want to compile my c++ code but it cannot access FLSK Libraries what can I doo? I want to run the code from the book ofBjarne Stroustrup
nameProgramming - Principles and Practice Using C++
chapter 12 thank you;#include "Simple_window.h" #include "Graph.h" int main() { using namespace Graph_lib; Point tl {100,100}; Simple_window win {tl,600,400,"Canvas"}; Polygon poly; poly.add(Point{300,200}); poly.add(Point{350,100}); poly.add(Point{400,200}); poly.set_color(Color::red); win.attach (poly); }