← Back to team overview

kicad-developers team mailing list archive

Re: Installing using a script

 

Le 24/10/2013 17:23, Dick Hollenbeck a écrit :
> On 10/24/2013 08:10 AM, Ruslan wrote:
>>  Hello, I trying to instal KiCad on Debian 7 using your script which is
>> here http://bazaar.launchpad.net/~kicad-testing-
>> committers/kicad/testing/view/head:/scripts/kicad-install.sh.
>>
>> When it finishes compiling(before installing) it gives an errors:
>>
>> [ 52%] Building CXX object common/CMakeFiles/pcbcommon.dir/fpid.cpp.o
>> [ 52%] Building CXX object
>> common/CMakeFiles/pcbcommon.dir/fp_lib_table.cpp.o
>> Linking CXX static library libpcbcommon.a
>> [ 52%] Built target pcbcommon
>> Scanning dependencies of target 3d-viewer
>> [ 52%] Building CXX object 3d-viewer/CMakeFiles/3d-
>> viewer.dir/dialogs/dialog_3D_view_option_base.cpp.o
>> [ 52%] Building CXX object 3d-viewer/CMakeFiles/3d-
>> viewer.dir/dialogs/dialog_3D_view_option.cpp.o
>> In file included from /home/r/kicad_sources/kicad.bzr/3d-
>> viewer/dialogs/dialog_3D_view_option.cpp:3:0:
>> /home/r/kicad_sources/kicad.bzr/3d-viewer/./3d_viewer.h:36:2: error:
>> #error Please set wxUSE_GLCANVAS to 1 in setup.h.
>> make[2]: *** [3d-viewer/CMakeFiles/3d-
>> viewer.dir/dialogs/dialog_3D_view_option.cpp.o] Ошибка 1
>> make[1]: *** [3d-viewer/CMakeFiles/3d-viewer.dir/all] Ошибка 2
>> make: *** [all] Ошибка 2
>>  kicad compiled.
>> step 7) installing KiCad program files...
>> [sudo] password for r:
>>
>>  "Ошибка" means error.
>> Any ideas?
>>
> 
> 
> no.
> 
> Did you build your own wxWidgets?  If so, then:
> 
>    #error Please set wxUSE_GLCANVAS to 1 in setup.h.
> 
> If not, then someone else may be able to help, this error message seems to offer
> insufficient help to me.


Looks like wxWidgets is not built with openGL support.
Do not forget this option in command line to build wxWidgets:
 --with-opengl
because Kicad uses opengl to show a 3D view of the boards.

-- 
Jean-Pierre CHARRAS


References