← Back to team overview

kicad-developers team mailing list archive

Re: CMake on Linux

 

--- In kicad-devel@xxxxxxxxxxxxxxx, "Mateusz Skowroński" <skowri@...>
wrote:
>
> Hi,
> 
> 2008/2/24, Frank Bennett <bennett78@...>:
> >
> > --- In kicad-devel@xxxxxxxxxxxxxxx, "Mateusz Skowroński" <skowri@>
> > wrote:
> > >
> > > You should add "--enable-debug --enable-debug_gdb" to the configure
> > > line since You are making a _debug build_.
> > Ok.
> >
> > /s/opt/svn/wxWidgets-2.8.7# ./configure --enable-monolithic \
> > --enable-unicode=no --enable-shared=no --with-opengl \
> > --with-libpng=builtin --with-libjpeg=builtin \
> > --with-libtiff=builtin --with-zlib=builtin --with-regex=builtin \
> > --enable-debug --enable-debug_gdb --prefix=/usr/local/wx
> >
> > make;make install
> >
> > > prefix=/usr/local/wx should not be necessary. CMake uses
wx-config to
> > > find out where wx is installed.
> > Working with svn up
> > Updated to revision 799
> >
> > wx-config is in my PATH:
> >
> > /s/opt/svn/kicad/trunk/kicad/Build/Debug# wx-config --libs
> > -L/usr/local/wx/lib -pthread /usr/local/wx/lib/libwx_gtk2-2.8.a
> > -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
> > -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor
> > -lXcomposite -lXdamage -lpango-1.0 -lX11 -lXfixes -lgobject-2.0
> > -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lglib-2.0 -lXinerama -lSM
> > -lwxregex-2.8 -lwxtiff-2.8 -lwxjpeg-2.8 -lwxpng-2.8 -lwxzlib-2.8
> > -ldl -lm
> >
> 
> 
> What is the output of wx-config --debug=yes --libs ???
> 
same:
/s/opt/svn/kicad/trunk/kicad/Build/Debug# wx-config --debug=yes --libs
-L/usr/local/lib -pthread /usr/local/lib/libwx_gtk2d-2.8.a -pthread
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
-lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor
-lXcomposite -lXdamage -lpango-1.0 -lX11 -lXfixes -lgobject-2.0
-lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lglib-2.0 -lXinerama -lSM
-lwxregexd-2.8 -lwxtiffd-2.8 -lwxjpegd-2.8 -lwxpngd-2.8 -lwxzlibd-2.8
-ldl -lm 

> 
> > but I still get:
> > /s/opt/svn/kicad/trunk/kicad/Build/Debug# cmake
> > -DCMAKE_BUILD_TYPE=Debug -DwxWidgets_USE_DEBUG=ON ../../
> > -- Check for installed OpenGL -- found
> > -- Check for installed Boost -- found
> > -- Could NOT find wxWidgets
> > -- Check for installed wxWidgets -- not found
> > CMake Error: wxWidgets was not found - it is required to build KiCad
> > -- Configuring done
> >
> 
> Mateusz
>







Follow ups

References