kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #01042
Re: CMake on Linux
-
To:
kicad-devel@xxxxxxxxxxxxxxx
-
From:
"Frank Bennett" <bennett78@...>
-
Date:
Sat, 23 Feb 2008 23:27:54 -0000
-
In-reply-to:
<e96e29a80802061400w64623315yd204fb96b823e3b0@...>
-
User-agent:
eGroups-EW/0.82
--- In kicad-devel@xxxxxxxxxxxxxxx, "Mateusz SkowroÅski" <skowri@...>
wrote:
>
> Hi,
>
> 2008/2/6, Frank Bennett <bennett78@...>:
>
> You should probably read the how-to-build-kicad.txt from the main
> directory. The steps are slightly changed in svn:
>
http://kicad.svn.sourceforge.net/viewvc/kicad/trunk/kicad/how-to-build-kicad.txt?view=markup
>
> $ cd <kicad-svn-root>
> $ mkdir -p Build/Debug
> $ cd Build/Debug
> $ cmake -DCMAKE_BUILD_TYPE=Debug -DwxWidgets_USE_DEBUG=ON
> -DCMAKE_VERBOSE_MAKEFILE=1 ../../
>
> should do the trick under linux.
Not....what else does cmake need or looking for?
Using:
/s/opt/svn/wxWidgets-2.8.7# ./configure --enable-monolithic
--prefix=/usr/local/wx --enable-unicode=no --enable-shared=no
--with-opengl --with-libpng=builtin --with-libjpeg=builtin
--with-libtiff=builtin --with-zlib=builtin --with-regex=builtin
make;make install puts stuff in:
/usr/local/wx/bin
/usr/local/wx/include
/s/opt/svn/kicad/trunk/kicad/Build/Debug# prefix=/usr/local/wx 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
with or without:
rm CMakeCache.txt
/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
thanks,
Frank Bennett
> >
>
> Regards,
> Mateusz
>
Follow ups
References