Developer forums (C::B DEVELOPMENT STRICTLY!) > Contributions to C::B
FLTK in codeblocks for mac - error message
(1/1)
MagJ_:
Hello guys
I want to learn FLTK. I know Code::Blocks a little and I knew that it works usualy fine with FLTK. Neverthelesse, I am getting this error message poping up, although I use gcc as default compiler:
--- Quote ----------------- Build: Debug in fltk_test (compiler: GNU GCC Compiler)---------------
g++ -o bin/Debug/fltk_test obj/Debug/main.o
Undefined symbols for architecture x86_64:
"fl_define_FL_SHADOW_LABEL()", referenced from:
_main in main.o
"Fl::run()", referenced from:
_main in main.o
"Fl_Box::Fl_Box(int, int, int, int, char const*)", referenced from:
_main in main.o
"Fl_Group::end()", referenced from:
_main in main.o
"Fl_Window::show(int, char**)", referenced from:
_main in main.o
"Fl_Window::Fl_Window(int, int, char const*)", referenced from:
_main in main.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Process terminated with status 1 (0 minute(s), 0 second(s))
0 error(s), 0 warning(s) (0 minute(s), 0 second(s))
--- End quote ---
Any ideas, what I can do to solve this?
Thanks in advance! :)
stahta01:
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F
And, please be sure to read the rules and general FAQ "What Code::Blocks is not" at least once.
http://forums.codeblocks.org/index.php/topic,9996.0.html
http://wiki.codeblocks.org/index.php/FAQ-General#Q:_What_Code::Blocks_is_not.3F
Tim S.
sodev:
You compile your application in 64 bit and try to link a (most probably) 32 bit library, that doesn't work.
Navigation
[0] Message Index
Go to full version