Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: tcsmith on September 15, 2010, 05:00:48 am
-
From C::B main page I click "Create a New Project", when the wizard comes up I click FLTK Project then go. I type in a Project name, click next and the next wizard page reads "Please select FLTK location". I use the browse button and navigate to the location that I have FLTK downloaded. When I click next I get an error message that reads
With fltk-1.1.10 I get, "The path you entered seems valid, but the wizard can't locate the include directory. The wizard cannot continue."
With fltk-1.1.8 I get, "The path you entered seems valid, but the wizard can't locate the following FLTK's include file: Fl.h in it."
Neither version of FLTK that I downloaded had an "include" folder so I tried what one post suggested and created one and copied the contents of the "FL" folder into it, didn't work. None of the other posts seemed to help me much. I didn't find much on FLTKs website or by google searching.
Does anyone know of a website/forum/etc. that has clear instructions for getting FLTK working with C::B ?
Thanks
-
I had had the same problem with FLTK and C:B.
I have chosen New project as a "Empty project" and then supplemented include and library paths manually.
It is my escape method of this error. Good luck!
-
What Compiler name and version?
Did either of you Compiler FLTK for your Compiler?
If not, how did use get the Library?
Tim S.
-
I downloaded the CodeBlocks about 6 weeks ago so whatever compiler and version that would be. (I'm at work so don't have access to the program)
I downloaded fltk from www.fltk.org about a month ago and got both fltk-1.1.8 and -1.1.10.
I have not tried "Compiler FLTK for my Compile", I'm not sure what exactly your talking about with that.
Thanks for any help you can provide Tim.
Tpieciak,
as a back up I'll try your method. Thanks.
-
These are NOT trick questions!!
If you do not know the answer then that is likely why it does not work for you.
Note: Code::Blocks IS NOT an Compiler!!!!!
What Compiler are you using?
What version of the Compiler are you Using?
How did you Compile the source code of the FLTK Library? Or, where did you get an precompiled/binary library/DLL?
Edit: If you got precompiled/binary library/DLL, what is the full filename?
Tim S.
-
Partial Answer to set up
Define the Global Variable FL to:
Base: The folder that holds the FL subfolder
Include: The folder that holds the FL subfolder
Lib: Unknown since the source I got does not include the Binary DLLs
A sub-forum that support the FTLK Library
http://www.gidforums.com/f-48.html
Remember to Tell them what Compiler you are using.
And, turn on "Full Compiler Logging".
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F
Tim S
-
Tim S,
I'm using GNU GCC compiler that came with Code Blocks 10.05 download.
I downloaded the FLTK files straight from fltk.org and have not been able to compile them / build them / integrate them with Code Blocks IDE. I have tried setting the as described below. Thanks for your help, I'll keep plugging away.
Thad
-
I tried the makefile.mingw that came with the source and it failed in the jpeg section for me; it looks to be about 2 years older than the source code. You will likely need to use CMake to build the library.
Tim S.
-
Old topic but in case someone else sees this error.
I am are using msys2 in environment UCRT64.
Ensure you have installed mingw-w64-ucrt-x86_64-gcc and mingw-w64-ucrt-x86_64-autotools i.e.
$ pacman -S mingw-w64-ucrt-x86_64-gcc mingw-w64-ucrt-x86_64-autotools
I downloaded lastest FLTK
Uncompress using: tar -xvzf fltk-1.3.#...
Then in the uncompressed directory run "make" and then on success "make install"
It will install the include files in msys64/ucrt64/include/
In Code::Blocks select the directory above the include directory, i.e. msys64/ucrt64/
- Eric