Compilation fails with glm 0.9.9.3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
High
|
Seth Hillbrand |
Bug Description
When trying to compile the kicad git from source, it fails. This seems to be due to the incremental update of glm 0.9.9.3 on archlinux.
When downgrading glm to 0.9.9.2, kicad git compiles without error.
The following errors and warnings occur when trying to compile using Archlinux, glm 0.9.9.3 are:
===
-- KiCad install dir: </usr>
-- Check for installed GLEW -- found
-- Found GLM: /usr/include (found suitable version "0.9.9.3", minimum required is "0.9.5.1")
-- Boost version: 1.68.0
-- Check for installed Python Interpreter -- found
-- Python module install path: lib/python2.
-- S3DSG version: 2.0.0
-- Boost version: 1.68.0
-- Found the following Boost libraries:
-- unit_test_framework
-- Boost version: 1.68.0
-- Found the following Boost libraries:
-- unit_test_framework
-- Boost version: 1.68.0
-- Found the following Boost libraries:
-- unit_test_framework
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/src/
===
[ 30%] Built target version_header
[ 30%] Built target legacy_wx
[ 30%] Built target pcb_plot_
[ 30%] Built target page_layout_
[ 30%] Built target legacy_gal
[ 32%] Built target gal
[ 32%] Built target lib_table_
[ 32%] Built target netlist_
[ 43%] Built target common
[ 44%] Built target pcb_lexer_
[ 44%] Building CXX object common/
In file included from /usr/include/
/usr/include/
GLM_FUNC_DECL GLM_CONSTEXPR T const& operator[
/usr/include/
GLM_FUNC_DECL GLM_CONSTEXPR T& operator[
<snip>
4.18.16-
Changed in kicad: | |
status: | Fix Committed → Fix Released |
This is a known issue
See https:/ /lists. launchpad. net/kicad- developers/ msg38290. html
So a quick fix is to downgrade glm.