← Back to team overview

kicad-developers team mailing list archive

Re: Compilation error

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Carl

Recently there was a discussion about bugs in 3.0.1 (topic: Segfault
when running DRC). It might be a better choice to switch to the
bleeding edge.

Regards,
Orson

On 09/03/2014 04:59 PM, Carl Poirier wrote:
> I will try that. Thanks.
> 
> 
> On Wed, Sep 3, 2014 at 9:51 AM, Wayne Stambaugh
> <stambaughw@xxxxxxxxxxx> wrote:
> 
>> 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.
>> 
>> 
>> 
>> _______________________________________________ Mailing list:
>> https://launchpad.net/~kicad-developers Post to     :
>> kicad-developers@xxxxxxxxxxxxxxxxxxx Unsubscribe :
>> https://launchpad.net/~kicad-developers More help   :
>> https://help.launchpad.net/ListHelp
>> 
> 
> 
> 
> _______________________________________________ Mailing list:
> https://launchpad.net/~kicad-developers Post to     :
> kicad-developers@xxxxxxxxxxxxxxxxxxx Unsubscribe :
> https://launchpad.net/~kicad-developers More help   :
> https://help.launchpad.net/ListHelp
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJUBy1YAAoJEBRwGu1hpbJ1FtgIALwonC/hXIyBmWFvXi+eaC2P
7fKYo5SgzTisXOYnFTM4bzsl2QHhv9OvhM1zNaQQtyv7sQLl5dellzQKBfBQSTAQ
ztQU/F7AYuAbnOdYL4r5JuhVTMhtLceMtG9imLwRxvlkqK/J5SlH4jPLWujF324C
4BTJ+A5QZJKkkuEK18+kLMHh42d8/Q/piy0jIrWUwit/xCASnWk6Qbd5+RLtNswn
Hxyf7lwf7ETzyGPXNmZSP3TRV6T6KYy/Zfsuvhs1n2gmc+esDD4nasabew1wmPlj
bB4JGB31Rzz1wB/KkCiJYGcTVW2amY13t7W32KclX6PR6rU+I+F3iXoU9b2hjJY=
=BzPh
-----END PGP SIGNATURE-----


Follow ups

References