← Back to team overview

kicad-developers team mailing list archive

Re: Several Problems with kicad on osx

 

> 
> You should use cmake to build Kicad as written in COMPILING.txt, not makefile.macosx.
> You can find cmake at http://www.cmake.org/cmake/resources/software.html
>
Ok I made the switch but the compile time errors are very similar. Still two errors. 


lute1:release briandurocher$ make
-- Check for installed OpenGL -- found
-- Check for installed Boost -- found
-- Check for installed wxWidgets -- found
-- Using <build_version.h> for version string.
-- Check for installed zlib -- found
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/briandurocher/downloads/kicad-2009-02-16/build/release
[ 0%] Building CXX object 3d-viewer/CMakeFiles/3d-viewer.dir/3d_aux.cpp.o
In file included from /usr/local/include/boost-1_38/boost/ptr_container/detail/reversible_ptr_container.hpp:22,
from /usr/local/include/boost-1_38/boost/ptr_container/ptr_sequence_adapter.hpp:20,
from /usr/local/include/boost-1_38/boost/ptr_container/ptr_vector.hpp:20,
from /Users/briandurocher/downloads/kicad-2009-02-16/include/board_item_struct.h:9In file included from /usr/local/include/boost-1_38/boost/ptr_container/detail/reversible_ptr_container.hpp:22,
from /usr/local/include/boost-1_38/boost/ptr_container/ptr_sequence_adapter.hpp:20,
from /usr/local/include/boost-1_38/boost/ptr_container/ptr_vector.hpp:20,
from /Users/briandurocher/downloads/kicad-2009-02-16/include/board_item_struct.h:9,
from /Users/briandurocher/downloads/kicad-2009-02-16/include/pcbstruct.h:10,
from /Users/briandurocher/downloads/kicad-2009-02-16/3d-viewer/3d_viewer.h:29,
from /Users/briandurocher/downloads/kicad-2009-02-16/3d-viewer/3d_aux.cpp:23:
/usr/local/include/boost-1_38/boost/ptr_container/detail/static_move_ptr.hpp:154:50: error: macro "check" passed 2 arguments, but takes just 1
,
from /Users/briandurocher/downloads/kicad-2009-02-16/include/pcbstruct.h:10,
from /Users/briandurocher/downloads/kicad-2009-02-16/3d-viewer/3d_viewer.h:29,
from /Users/briandurocher/downloads/kicad-2009-02-16/3d-viewer/3d_aux.cpp:23:
/usr/local/include/boost-1_38/boost/ptr_container/detail/static_move_ptr.hpp:154:50: error: macro "check" passed 2 arguments, but takes just 1
In file included from /usr/local/include/boost-1_38/boost/ptr_container/detail/reversible_ptr_container.hpp:22,
from /usr/local/include/boost-1_38/boost/ptr_container/ptr_sequence_adapter.hpp:20,
from /usr/local/include/boost-1_38/boost/ptr_container/ptr_vector.hpp:20,
from /Users/briandurocher/downloads/kicad-2009-02-16/include/board_item_struct.h:9,
from /Users/briandurocher/downloads/kicad-2009-02-16/include/pcbstruct.h:10,
from /Users/briandurocher/downloads/kicad-2009-02-16/3d-viewer/3d_viewer.h:29,
from /Users/briandurocher/downloads/kicad-2009-02-16/3d-viewer/3d_aux.cpp:23:
/usr/local/include/boost-1_38/boost/ptr_container/detail/static_move_ptr.hpp:154:50: error: macro "check" passed 2 arguments, but takes just 1
In file included from /usr/local/include/boost-1_38/boost/ptr_container/detail/reversible_ptr_container.hpp:22,
from /usr/local/include/boost-1_38/boost/ptr_container/ptr_sequence_adapter.hpp:20,
from /usr/local/include/boost-1_38/boost/ptr_container/ptr_vector.hpp:20,
from /Users/briandurocher/downloads/kicad-2009-02-16/include/board_item_struct.h:9,
from /Users/briandurocher/downloads/kicad-2009-02-16/include/pcbstruct.h:10,
from /Users/briandurocher/downloads/kicad-2009-02-16/3d-viewer/3d_viewer.h:29,
from /Users/briandurocher/downloads/kicad-2009-02-16/3d-viewer/3d_aux.cpp:23:
/usr/local/include/boost-1_38/boost/ptr_container/detail/static_move_ptr.hpp:154:50: error: macro "check" passed 2 arguments, but takes just 1
/usr/include/wx-2.8/wx/mac/carbon/glcanvas.h:49: warning: `AGLDrawable' is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/usr/include/wx-2.8/wx/mac/carbon/glcanvas.h:53: warning: `AGLDrawable' is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/usr/include/wx-2.8/wx/mac/carbon/glcanvas.h:49: warning: `AGLDrawable' is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/usr/include/wx-2.8/wx/mac/carbon/glcanvas.h:53: warning: `AGLDrawable' is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/usr/include/wx-2.8/wx/mac/carbon/glcanvas.h:49: warning: `AGLDrawable' is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/usr/include/wx-2.8/wx/mac/carbon/glcanvas.h:53: warning: `AGLDrawable' is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/usr/include/wx-2.8/wx/mac/carbon/glcanvas.h:49: warning: `AGLDrawable' is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/usr/include/wx-2.8/wx/mac/carbon/glcanvas.h:53: warning: `AGLDrawable' is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/usr/local/include/boost-1_38/boost/ptr_container/detail/static_move_ptr.hpp:154: error: invalid member function declaration
/usr/local/include/boost-1_38/boost/ptr_container/detail/static_move_ptr.hpp:154: error: invalid member function declaration
/usr/local/include/boost-1_38/boost/ptr_container/detail/static_move_ptr.hpp:154: error: invalid member function declaration
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:68: error: expected unqualified-id before `)' token
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:68: error: abstract declarator `char (&)[2]' used as declaration
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:71: error: expected unqualified-id before `;' token
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:79: error: expected unqualified-id before `)' token
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:90: error: expected unqualified-id before `)' token
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:68: error: expected unqualified-id before `)' token
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:68: error: abstract declarator `char (&)[2]' used as declaration
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:71: error: expected unqualified-id before `;' token
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:79: error: expected unqualified-id before `)' token
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:90: error: expected unqualified-id before `)' token
/usr/local/include/boost-1_38/boost/ptr_container/detail/static_move_ptr.hpp:154: error: invalid member function declaration
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:68: error: expected unqualified-id before `)' token
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:68: error: abstract declarator `char (&)[2]' used as declaration
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:71: error: expected unqualified-id before `;' token
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:79: error: expected unqualified-id before `)' token
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:90: error: expected unqualified-id before `)' token
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:68: error: expected unqualified-id before `)' token
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:68: error: abstract declarator `char (&)[2]' used as declaration
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:71: error: expected unqualified-id before `;' token
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:79: error: expected unqualified-id before `)' token
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:90: error: expected unqualified-id before `)' token
lipo: can't figure out the architecture type of: /var/folders/1o/1oQRw+VKECyaQLBPlyJl0++++TI/-Tmp-//ccBcsrgR.out
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
lute1:release briandurocher$ make install
[ 0%] Building CXX object 3d-viewer/CMakeFiles/3d-viewer.dir/3d_aux.cpp.o
In file included from /usr/local/include/boost-1_38/boost/ptr_container/detail/reversible_ptr_container.hpp:22,
from /usr/local/include/boost-1_38/boost/ptr_container/ptr_sequence_adapter.hpp:20,
from /usr/local/include/boost-1_38/boost/ptr_container/ptr_vector.hpp:20,
from /Users/briandurocher/downloads/kicad-2009-02-16/include/board_item_struct.h:9,
from /Users/briandurocher/downloads/kicad-2009-02-16/include/pcbstruct.h:10,
from /Users/briandurocher/downloads/kicad-2009-02-16/3d-viewer/3d_viewer.h:29,
from /Users/briandurocher/downloads/kicad-2009-02-16/3d-viewer/3d_aux.cpp:23:
/usr/local/include/boost-1_38/boost/ptr_container/detail/static_move_ptr.hpp:154:50: error: macro "check" passed 2 arguments, but takes just 1
In file included from /usr/local/include/boost-1_38/boost/ptr_container/detail/reversible_ptr_container.hpp:22,
from /usr/local/include/boost-1_38/boost/ptr_container/ptr_sequence_adapter.hpp:20,
from /usr/local/include/boost-1_38/boost/ptr_container/ptr_vector.hpp:20,
from /Users/briandurocher/downloads/kicad-2009-02-16/include/board_item_struct.h:9,
from /Users/briandurocher/downloads/kicad-2009-02-16/include/pcbstruct.h:10,
from /Users/briandurocher/downloads/kicad-2009-02-16/3d-viewer/3d_viewer.h:29,
from /Users/briandurocher/downloads/kicad-2009-02-16/3d-viewer/3d_aux.cpp:23:
/usr/local/include/boost-1_38/boost/ptr_container/detail/static_move_ptr.hpp:154:50: error: macro "check" passed 2 arguments, but takes just 1
In file included from /usr/local/include/boost-1_38/boost/ptr_container/detail/reversible_ptr_container.hpp:22,
from /usr/local/include/boost-1_38/boost/ptr_container/ptr_sequence_adapter.hpp:20,
from /usr/local/include/boost-1_38/boost/ptr_container/ptr_vector.hpp:20,
from /Users/briandurocher/downloads/kicad-2009-02-16/include/board_item_struct.h:9,
from /Users/briandurocher/downloads/kicad-2009-02-16/include/pcbstruct.h:10,
from /Users/briandurocher/downloads/kicad-2009-02-16/3d-viewer/3d_viewer.h:29,
from /Users/briandurocher/downloads/kicad-2009-02-16/3d-viewer/3d_aux.cpp:23:
/usr/local/include/boost-1_38/boost/ptr_container/detail/static_move_ptr.hpp:154:50: error: macro "check" passed 2 arguments, but takes just 1
In file included from /usr/local/include/boost-1_38/boost/ptr_container/detail/reversible_ptr_container.hpp:22,
from /usr/local/include/boost-1_38/boost/ptr_container/ptr_sequence_adapter.hpp:20,
from /usr/local/include/boost-1_38/boost/ptr_container/ptr_vector.hpp:20,
from /Users/briandurocher/downloads/kicad-2009-02-16/include/board_item_struct.h:9,
from /Users/briandurocher/downloads/kicad-2009-02-16/include/pcbstruct.h:10,
from /Users/briandurocher/downloads/kicad-2009-02-16/3d-viewer/3d_viewer.h:29,
from /Users/briandurocher/downloads/kicad-2009-02-16/3d-viewer/3d_aux.cpp:23:
/usr/local/include/boost-1_38/boost/ptr_container/detail/static_move_ptr.hpp:154:50: error: macro "check" passed 2 arguments, but takes just 1
/usr/include/wx-2.8/wx/mac/carbon/glcanvas.h:49: warning: `AGLDrawable' is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/usr/include/wx-2.8/wx/mac/carbon/glcanvas.h:53: warning: `AGLDrawable' is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/usr/include/wx-2.8/wx/mac/carbon/glcanvas.h:49: warning: `AGLDrawable' is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/usr/include/wx-2.8/wx/mac/carbon/glcanvas.h:53: warning: `AGLDrawable' is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/usr/include/wx-2.8/wx/mac/carbon/glcanvas.h:49: warning: `AGLDrawable' is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/usr/include/wx-2.8/wx/mac/carbon/glcanvas.h:53: warning: `AGLDrawable' is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/usr/include/wx-2.8/wx/mac/carbon/glcanvas.h:49: warning: `AGLDrawable' is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/usr/include/wx-2.8/wx/mac/carbon/glcanvas.h:53: warning: `AGLDrawable' is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/usr/local/include/boost-1_38/boost/ptr_container/detail/static_move_ptr.hpp:154: error: invalid member function declaration
/usr/local/include/boost-1_38/boost/ptr_container/detail/static_move_ptr.hpp:154: error: invalid member function declaration
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:68: error: expected unqualified-id before `)' token
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:68: error: abstract declarator `char (&)[2]' used as declaration
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:71: error: expected unqualified-id before `;' token
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:79: error: expected unqualified-id before `)' token
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:90: error: expected unqualified-id before `)' token
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:68: error: expected unqualified-id before `)' token
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:68: error: abstract declarator `char (&)[2]' used as declaration
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:71: error: expected unqualified-id before `;' token
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:79: error: expected unqualified-id before `)' token
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:90: error: expected unqualified-id before `)' token
/usr/local/include/boost-1_38/boost/ptr_container/detail/static_move_ptr.hpp:154: error: invalid member function declaration
/usr/local/include/boost-1_38/boost/ptr_container/detail/static_move_ptr.hpp:154: error: invalid member function declaration
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:68: error: expected unqualified-id before `)' token
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:68: error: abstract declarator `char (&)[2]' used as declaration
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:71: error: expected unqualified-id before `;' token
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:79: error: expected unqualified-id before `)' token
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:90: error: expected unqualified-id before `)' token
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:68: error: expected unqualified-id before `)' token
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:68: error: abstract declarator `char (&)[2]' used as declaration
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:71: error: expected unqualified-id before `;' token
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:79: error: expected unqualified-id before `)' token
/usr/local/include/boost-1_38/boost/detail/is_incrementable.hpp:90: error: expected unqualified-id before `)' token
lipo: can't figure out the architecture type of: /var/folders/1o/1oQRw+VKECyaQLBPlyJl0++++TI/-Tmp-//ccBhMWJK.out
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








Follow ups

References