← Back to team overview

kicad-developers team mailing list archive

Re: The KiCad GAL new release

 

On 07/08/2013 02:35 PM, Maciej Sumiński wrote:
> Ladies and Gentlemen,
> 
> Today you can see another release of the KiCad GAL, that can be
> considered as a release candidate 1. It may still contain some bugs and
> is still missing some minor features, but the main purpose of the
> release is to make some tests and receive a feedback. I will be grateful
> for every opinion that I receive.
> The way of compilation changed a little, but now it is more like an
> usual KiCad build (I removed the KICAD_GAL switch from CMake):
> bzr branch lp:~cern-kicad/kicad/kicad-gal
> mkdir build
> cd build
> cmake -DKICAD_TESTING_VERSION=ON -DCMAKE_BUILD_TYPE=RELEASE ..
> make
>
Hi, I tried to build it, but I'm getting a bunch of errors.

First, the "!WIN32" evaluated to 0, so the include dirs for cairo
evaluated to
"$ENV{GTK_ROOT_DIR}/include/cairo" which is just /include cairo, an
inexistent directory.

This resulted in the following error:

[...]/gal/cairo/cairo_gal.h:46:19: fatal error: cairo.h: No such file or
directory
 #include <cairo.h>
                   ^

I changed the "!WIN32" to "1" (1), but then CMake picked up my wxGTK 2.8
installation, not the correct 2.9.4 one (I have both installed in
parallel). As you can imagine, this results in a ***load of errors. I
haven't figured out how to fix this one.


Come on guys, making CMake work is not hard. This isn't autohell. Let's
get this working out-of the box.

(1) "NOT WIN32" produces the expected results.

Alex



Follow ups

References