← Back to team overview

kicad-developers team mailing list archive

Re: OS X build


Flags working for pico mod or rather obj.linkflags added properly to Sconscript cvpcb/
pcbnew. So errors now look like:

$ scons --debug=time
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -o build/3d-viewer/3d_aux.o -c -O2 -DNDEBUG -DNO_DEBUG -fno-common -arch 
ppc -I/usr/local/lib/wx/include/mac-ansi-release-2.6 -I/usr/local/include/wx-2.6 -
-Wall -O2 -DNDEBUG -DNO_DEBUG -fno-common -arch ppc -DHAVE_CONFIG_H -I. -
Ibuild/3d-viewer -Ibuild -Iinclude -Ipcbnew build/3d-viewer/3d_aux.cpp
build/3d-viewer/3d_aux.cpp:14:2: error: #error Please set wxUSE_GLCANVAS to1 in 
In file included from build/3d-viewer/3d_aux.cpp:22:
build/3d-viewer/3d_viewer.h:5:2: error: #error Please set wxUSE_GLCANVAS to1 in 
build/3d-viewer/3d_viewer.h:68: error: expected class-name before '{' token
build/3d-viewer/3d_viewer.h:68: warning: 'class Pcb3D_GLCanvas' has virtualfunctions 
but non-virtual destructor
scons: *** [build/3d-viewer/3d_aux.o] Error 1
scons: building terminated because of errors.
Total build time: 9.934963 seconds
Total SConscript file execution time: 1.517840 seconds
Total SCons execution time: 8.417123 seconds
Total command execution time: 0.000000 seconds
Logan-Hedins-Computer:/usr/local/bin/bokeoa-scons loganhedin

--- In kicad-devel@xxxxxxxxxxxxxxx, "Logan Hedin" <logan@...> wrote:
> I was setting an environmental modification as PATH
> but this is the echo output was..
> /opt/local/bin:/opt/local/sbin:/sw/bin:/sw/sbin:/bin:/usr/bin:/usr/sbin
> obviously /usr/local/bin needs to be added to profile
> do you know a quick way to do this from the terminal?
> Thanks again Bryan.
> -Logan
> --- In kicad-devel@xxxxxxxxxxxxxxx, Bryan Stillwell <bryan@> wrote:
> >
> > On Fri, Mar 03, 2006 at 12:32:56AM -0000, Logan Hedin wrote:
> > >I am having some issues with my machine. although every thing is
> > >/usr/local/bin the subversion is in place, scons have been updated to
> > >0.96.91, wx-Config is installed at / usr/local/bin and bash paths
> > >point to /usr/local/bin.... running # scons generates cannot find
> > >wx-config?? I'm at a loss. and suggestions?
> > 
> > Sounds like it can't find /usr/local/bin in your PATH. Can you post the
> > output of running `echo $PATH` before running `scons`?
> > 
> > Bryan
> >

Follow ups