kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #40391
Re: Windows builds broken
On 5/1/2019 8:27 AM, John Beard wrote:
> On 01/05/2019 12:53, Jeff Young wrote:
>> Someone on the forums had to turn off the qa tests on Linux to get it
>> to build:
>>
>> https://forum.kicad.info/t/call-for-testers-eemodern/16663/8
> This bit, right?
>
> .../qa/utils/kicad2step/pcb/test_base.cpp: In member function ‘void
> PcbBase::SexprTo2DPosAndRot::test_method()’:
> /home/pedro/kicad/kicad-source-mirror/qa/utils/kicad2step/pcb/test_base.cpp:112:5:
> error: could not convert ‘{{"(at 0 0 0)", true, {0.0, 0.0}, 0.0}, {"(at
> 3.14 4.12 90.4)", true, {3.1400000000000001e+0, 4.1200000000000001e+0},
> DegToRad(9.0400000000000006e+1)}, {"(at 3.14)", false, (), ()}, {"(att
> 3.14 4.12 90.4)", false, (), ()}}’ from ‘’ to ‘const
> std::vectorPcbBase::TEST_2D_POS_ROT’
> };
>
> Hmm, sounds like a compiler issue to me. Perhaps it can't hack the
> constexpr in the vector list init? What's the compiler & version?
>
> Cheers,
>
> John
It fails during linking not compiling. I also tried clang but I get the
same error. Here is the gcc command that is failing:
cd /E/build/mingw64/kicad/product-debug/qa/libs/sexpr &&
/E/msys64/mingw64/bin/cmake.exe -E remove -f
CMakeFiles/qa_sexpr.dir/objects.a
cd /E/build/mingw64/kicad/product-debug/qa/libs/sexpr &&
/E/msys64/mingw64/bin/ar.exe cr CMakeFiles/qa_sexpr.dir/objects.a
@CMakeFiles/qa_sexpr.dir/objects1.rsp
cd /E/build/mingw64/kicad/product-debug/qa/libs/sexpr &&
/E/msys64/mingw64/bin/g++.exe -Wall -Wsuggest-override -Werror=vla
-fpermissive -g3 -ggdb3 -DDEBUG -Wno-deprecated-declarations
-Wl,--whole-archive CMakeFiles/qa_sexpr.dir/objects.a
-Wl,--no-whole-archive -o qa_sexpr.exe
-Wl,--major-image-version,0,--minor-image-version,0
../../../libs/sexpr/libsexpr.a
../../unit_test_utils/libunit_test_utils.a -LE:/msys64/mingw64/lib -pipe
-Wl,--subsystem,windows -mwindows -lwx_mswu_gl-3.0 -lwx_mswu_aui-3.0
-lwx_mswu_adv-3.0 -lwx_mswu_html-3.0 -lwx_mswu_core-3.0
-lwx_baseu_net-3.0 -lwx_baseu-3.0 -lwx_baseu_xml-3.0 -lwx_mswu_stc-3.0
-lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32
-luuid -lcomdlg32 -ladvapi32
Follow ups
References