[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Openexr-user] Cannot compile exrdisplay on Mac OS X
From: |
Paul Boots |
Subject: |
Re: [Openexr-user] Cannot compile exrdisplay on Mac OS X |
Date: |
Mon, 27 Jan 2003 23:54:48 +0100 |
Hi Drew,
I've been hacking a bit with the exrdisplay code
My system is OSX 10.2.3
At the moment I find two problems with the code
1. powf and logf are not defined on the OSX
hack solution: include 'fp.h' instead of 'math.h'
and change all powf/logf to pow/log calls
(I'm not quite sure if that screws up computations, but it compiles ;))
2. FLTK libraries
Somehow the GL includes/libraries don't seem to be a problem with me,
its the fltk libs that give me errors (illegal references)
I'v placed links to the fltk libs in /usr/lib (there installed in
/usr/local/lib)
(btw: osx doesn't like /usr/local <grumble>)
After doing a 'configure --disable-fltktest' and a 'make' in exrdisplay:
make: Entering directory `/Users/bootsch/src/OpenEXR-1.0.4/exrdisplay'
/bin/sh ../libtool --mode=link g++ -O2 -funroll-loops -pipe -g -O2 -o
exrdisplay main.o ImageView.o -L/usr/X11R6/lib -L/usr/lib -lfltk_gl -lfltk
-lXext -lX11 -lGL -lm -L../Iex -L../Half -L../Imath -L../IlmImf -lIlmImf
-lImath -lHalf -lIex -lz
g++ -O2 -funroll-loops -pipe -g -O2 -o .libs/exrdisplay main.o ImageView.o
-L/usr/X11R6/lib -L/usr/lib -lfltk_gl -lfltk -lXext -lX11 -lGL -lm
-L/Users/bootsch/src/OpenEXR-1.0.4/Iex -L/Users/bootsch/src/OpenEXR-1.0.4/Half
-L/Users/bootsch/src/OpenEXR-1.0.4/Imath
-L/Users/bootsch/src/OpenEXR-1.0.4/IlmImf
-L/Users/bootsch/src/OpenEXR-1.0.4/IlmImf/.libs -lIlmImf
-L/Users/bootsch/src/OpenEXR-1.0.4/Imath/.libs -lImath
-L/Users/bootsch/src/OpenEXR-1.0.4/Half/.libs -lHalf
-L/Users/bootsch/src/OpenEXR-1.0.4/Iex/.libs -lIex -lz
ld: /usr/lib/libfltk_gl.a(Fl_Gl_Window.o) illegal reference to symbol:
_ClipRect defined in indirectly referenced dynamic library
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
ld: /usr/lib/libfltk.a(Fl_x.o) illegal reference to symbol: _AppendResMenu
defined in indirectly referenced dynamic library
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
ld: /usr/lib/libfltk.a(Fl_x.o) illegal reference to symbol:
_AEInstallEventHandler defined in indirectly referenced dynamic library
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
ld: /usr/lib/libfltk.a(Fl_x.o) illegal reference to symbol: _ExitToShell
defined in indirectly referenced dynamic library
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
ld: /usr/lib/libfltk.a(Fl_x.o) illegal reference to symbol: _FSRefMakePath
defined in indirectly referenced dynamic library
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
make: *** [exrdisplay] Error 1
make: Leaving directory `/Users/bootsch/src/OpenEXR-1.0.4/exrdisplay'
---
Haven't started to figure out what's going on here -
Hope to this working sometime soon
Best regards,
Paul Boots
--
-----------------------------------------------------------------------
Paul Boots
mailto:address@hidden
PGP Public Key:
http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0x53184F80
-----------------------------------------------------------------------