|
|
On 10/02/16 17:39, Adam Mendoza wrote:
> This very simple program compiles but fails the linker stage.
> I installed FLTK with brew install fltk
I have no idea about the brew install of fltk..
but I'm assuming it's just installing the libs and include files?
I'd expect the errors you're seeing if it compiled ok, but failed
during the link stage because the linker couldn't find the FLTK lib
files where it was told to look for them.
Perhaps turn up the verbosity of the cmake commands so that
you can see the actual link commands.
Verify the linker flags point to the location of the libfltk*.a files,
e.g. "-L /some/path -lfltk", or a full path to the libfltk*.a file,
and make sure those paths are readable to the user running cmake.
It also says:
Undefined symbols for architecture x86_64:
..which could mean it's finding the fltk lib files, but perhaps the
libs are not x86_64 (e.g. 32bit instead?) Try unpacking one of the
fltk libs and checking to see if the .o files within are x86_64.
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[ Direct Link to Message ] | |
|
| |