kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #03846
Building on Mac OSX 10.6.2 fails with wxMac-2.8.10
Hello All,
I checked latest sources out of SVN and still i can't figure out why i cantcompile on OSX. I build wxMac-2.8.10 myself.
And I run Snow Leopard 10.6.2 on a macbook 5,2.
The check macro can be fixed with a small hack that i committed in Documents/compiling/boos_mac_osx_notes.txt
This works, but then I get a scope error that the function is not defined. I know you compile and build often for OSX.
Maybe Marco Serantoni has some tips and tricks. Also I don't like the depreciated warning, is this fixed in wxMac-2.9 SVN? If we can get it compiling and working I hope the OSX users can bundle
strength to make next release also official for OSX.
Check macro error:
[ 0%] Building CXX object 3d-viewer/CMakeFiles/3d-viewer.dir/3d_aux.cpp.o
----- SNIP -----
/Users/jerry/Repositories/kicad/kicad/include/boost/ptr_container/detail/static_move_ptr.hpp:154:50: error: macro "check" passed 2 arguments, but takes just 1
----- SNIP -----
/src/wxMac-2.8.10/include/wx/mac/carbon/glcanvas.h:49: warning: `AGLDrawable' is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:48)
/src/wxMac-2.8.10/include/wx/mac/carbon/glcanvas.h:53: warning: `AGLDrawable' is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:48)
----- SNIP -----
/Users/jerry/Repositories/kicad/kicad/include/boost/ptr_container/detail/static_move_ptr.hpp:154: error: function definition does not declare parameters
----- SNIP -----
/Users/jerry/Repositories/kicad/kicad/include/boost/detail/is_incrementable.hpp:73: error: expected unqualified-id before `)' token
/Users/jerry/Repositories/kicad/kicad/include/boost/detail/is_incrementable.hpp:76: error: expected unqualified-id before `;' token
/Users/jerry/Repositories/kicad/kicad/include/boost/detail/is_incrementable.hpp:84: error: expected unqualified-id before `)' token
/Users/jerry/Repositories/kicad/kicad/include/boost/detail/is_incrementable.hpp:95: error: expected unqualified-id before `)' token
make[2]: *** [3d-viewer/CMakeFiles/3d-viewer.dir/3d_aux.cpp.o] Error 1
make[1]: *** [3d-viewer/CMakeFiles/3d-viewer.dir/all] Error 2
make: *** [all] Error 2
And finally the undefined in this scope error:
[ 0%] Building CXX object 3d-viewer/CMakeFiles/3d-viewer.dir/3d_frame.cpp.o
In file included from /src/wxMac-2.8.10/include/wx/mac/glcanvas.h:4,
from /src/wxMac-2.8.10/include/wx/glcanvas.h:60,
from /Users/jerry/Repositories/kicad/kicad/3d-viewer/3d_viewer.h:12,
from /Users/jerry/Repositories/kicad/kicad/3d-viewer/3d_frame.cpp:21:
/src/wxMac-2.8.10/include/wx/mac/carbon/glcanvas.h:49: warning: `AGLDrawable' is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:48)
/src/wxMac-2.8.10/include/wx/mac/carbon/glcanvas.h:53: warning: `AGLDrawable' is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:48)
/Users/jerry/Repositories/kicad/kicad/3d-viewer/3d_frame.cpp: In member function `void WinEDA3D_DrawFrame::GetSettings()':
/Users/jerry/Repositories/kicad/kicad/3d-viewer/3d_frame.cpp:151: error: `GetMBarHeight' was not declared in this scope
make[2]: *** [3d-viewer/CMakeFiles/3d-viewer.dir/3d_frame.cpp.o] Error 1
make[1]: *** [3d-viewer/CMakeFiles/3d-viewer.dir/all] Error 2
make: *** [all] Error 2
Kind Regards,
Jerry Jacobs
Follow ups