User forums > Using Code::Blocks
Building FLTK with Code::Blocks/ mingw
stahta01:
From https://github.com/ilovezfs/fltk/blob/master/README.MSWindows.txt
--- Quote ---In order to build FLTK from the command line, you need to install the MinGW
environment from www.mingw.org. The graphical installer "mingw-get-inst" can
be downloaded here for free:
http://www.mingw.org/wiki/Getting_Started
Launch the installer and follow the instructions. In the "Select Components"
dialog, add "C++ Compiler", "MSYS Basic System", and "MinGW Developer Toolkit".
Wait for the installer to finish.
--- End quote ---
Edit: Add 1.3 directions snippet
https://github.com/fltk/fltk/blob/branch-1.3/README.MSWindows.txt
--- Quote --- 2. Get the latest MinGW toolset. It is recommended that
you also get the MSYS shell and the msysDTK developer
toolset.
--- End quote ---
Please read the directions and maybe you would learn something!
Tim S.
stahta01:
Since you do not understand how to follow a hyperlink from the rules.
--- Quote ---Finale note: Ignoring these rules may result in the topic being (silently) locked and/or even removed completely without any notice.
In case you wonder why we are so strict: I could say: "Search the forum" - as this has been discussed a lot. To make is short: By law we (the devs/moderators) are responsible for the content of our forum. This means we need to read all posts. If you want us to continue the development of C::B and have the time to answer some of the questions that are really related to C::B, apply the rules above. It's obviously a matter of time for us.
--- End quote ---
Tim S.
nji:
Sorry, but you still misunderstand me:
I'm not ignoring the rules, I don't read them.
That's a big difference.
Anyhow, thankyou for your hint concerning the topic we're discussing here.
I already read that instructions (for building FLTK), at the first place, since the beginning.
And ... as I already stated many times in this thread ...
they DO NOT WORK.
There is missing the autoconfig, configure, msys or whatever.
And these tools in turn ... yes, no joke ... need other tools ... like perl etc.
Fine-fine!
(To tell the truth I since long have the suspicion that M$ places it's "dementors"
in open source scene. Busy posters ... ;-)
To close this thread by a useful hint.
This (on a private website) does the job:
http://gintasdx.althirius-studios.com/2011/08/tutorial-codeblocks-with-fltk.html
MortenMacFly:
Some remarks before closing this topic because it got a little "out of control":
1.) FLTK is an external library that does not ship with C::B
2.) C::B only supports using the library
3.) FLTK must either be self-compiled or a pre-compiled version must be used.
4.) To use a pre-compiled version, it usually must have been compiled with the same or at least 100% compatible compiler as using for the project.
5.) There are binary releases of FLTK compatible with MinGW compiler that ships with C::B, google for FLTK DevPak
6.) If you self-compile FLTK that this is not the right forum to ask for. Please ask in the FLTK forum. We only support C::B and not each and every external library out there.
7.) If you compiled FLTK right, then the wizard in C::B will work, but you _may_ need to adjust the path's to the lib, and maybe even the lib names in the project settings. It again depends on how you compiled it and there are many ways.
8.) One thing must be clear: We cannot and therefore will not make everything convenient and easy to handle. There are hundreds of compilers and tenth of thousands of libraries out there. How should be make all of these convenient for everybody? Mission impossible!
Closing the topic now.
Navigation
[0] Message Index
[*] Previous page
Go to full version