User forums > Using Code::Blocks

Using FLTK and Creating FLTK project

<< < (2/2)

stahta01:
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

tcsmith:
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

stahta01:
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.

ebachalo:
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

Navigation

[0] Message Index

[*] Previous page

Go to full version