Thread 'Compilation problem on OSX'

Message boards : BOINC Manager : Compilation problem on OSX
Message board moderation

To post messages, you must log in.

AuthorMessage
Travis Desell

Send message
Joined: 6 Mar 07
Posts: 3
Message 8581 - Posted: 6 Mar 2007, 20:37:07 UTC

i'm getting the following error compiling on OSX. configure works fine but i get this when running make.

if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../api -I../db -I../client -I../tools -I../sched -I/usr/local/mysql/include -Os -arch i386 -fno-common -D_THREAD_SAFE -I/usr/local/lib/wx/include/mac-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXMAC__ -I../wizards -I/usr/local/include -I../lib -I../api -I../db -I../client -I../tools -I../sched -I/usr/local/mysql/include -Os -arch i386 -fno-common -D_THREAD_SAFE -I/usr/local/lib/wx/include/mac-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXMAC__ -I../wizards -g -O2 -I/usr/include -I/usr/include/openssl -D_THREAD_SAFE -MT boinc_gui-wxPieCtrl.o -MD -MP -MF ".deps/boinc_gui-wxPieCtrl.Tpo" -c -o boinc_gui-wxPieCtrl.o `test -f 'common/wxPieCtrl.cpp' || echo './'`common/wxPieCtrl.cpp; \
then mv -f ".deps/boinc_gui-wxPieCtrl.Tpo" ".deps/boinc_gui-wxPieCtrl.Po"; else rm -f ".deps/boinc_gui-wxPieCtrl.Tpo"; exit 1; fi
common/wxPieCtrl.cpp: In member function 'void wxPieCtrlLegend::OnPaint(wxPaintEvent&)':
common/wxPieCtrl.cpp:137: error: 'max' was not declared in this scope
common/wxPieCtrl.cpp: In member function 'void wxPieCtrl::Draw(wxPaintDC&)':
common/wxPieCtrl.cpp:388: error: 'min' was not declared in this scope


i'm using wxMac 2.8.0 and curl 7.16.1

any reason this would happen?
ID: 8581 · Report as offensive

Message boards : BOINC Manager : Compilation problem on OSX

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.