kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #14556
Re: Compilation error
-
To:
kicad-developers@xxxxxxxxxxxxxxxxxxx
-
From:
Wayne Stambaugh <stambaughw@xxxxxxxxxxx>
-
Date:
Wed, 03 Sep 2014 09:51:51 -0400
-
In-reply-to:
<CAB7XPH=C=+-KkL1SKpAxq6YEy4bjBCg5qTuRMO7BVhXXDY6wpQ@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0
On 9/3/2014 9:49 AM, Carl Poirier wrote:
> Hi people,
>
> I am trying to compile KiCad from source on a fresh Xubuntu
> installation. I started off by compiling and installing wxWidgets
> 3.0.1.Then, for KiCad, I get this error:
>
> [ 45%] Building CXX object common/CMakeFiles/gal.dir/draw_panel_gal.cpp.o
> In file included from
> /home/thesmith/kicad/kicad/common/draw_panel_gal.cpp:38:0:
> /home/thesmith/kicad/kicad/include/gal/opengl/opengl_gal.h:62:1: error:
> expected class-name before ‘{’ token
> {
> ^
> /home/thesmith/kicad/kicad/include/gal/opengl/opengl_gal.h:256:12:
> error: ‘wxGLContext’ does not name a type
> static wxGLContext* glContext; ///< OpenGL context
> of wxWidgets
> ^
> make[2]: *** [common/CMakeFiles/gal.dir/draw_panel_gal.cpp.o] Error 1
> make[1]: *** [common/CMakeFiles/gal.dir/all] Error 2
> make: *** [all] Error 2
>
> Is anyone aware of a reason and/or solution?
>
> Carl
>
Did you build wxWidgets with the --with-opengl flag? If memory servers,
this is not enabled by default.
Follow ups
References