You installed the i686 toolchain, not the x86_64 toolchain which is required for 64 bit builds as well as the appropriate x86_64 libraries. You told cmake to point to /mingw64 which is the 64 bit mingw path. Did you run the correct bat file for 64 bit builds? If you are trying to build a 64 bit version of kicad, downgrade boost from 1.59 to 1.57 and configure pacman to not upgrade mingw-w64-x86_64-boost. 64 bit pcbnew builds will crash on launch if you build it against boost 1.59.
On 11/3/2015 6:50 PM, Mário Luzeiro wrote: > Still need help on this: > > Now it failed to link in the end: > > $ make > [ 29%] Built target bitmaps > [ 29%] Built target page_layout_lexer_source_files > [ 29%] Built target boost > [ 29%] Built target lib-dependencies > [ 29%] Generating version string header > -- Using Bazaar to determine build version string. > -- Bazaar version control system version 2.6b1 found. > -- Not updating > C:/msys64/home/m_luzeiro/kicad_new3d-viewer/build/release/version.h > [ 29%] Built target version_header > [ 30%] Built target netlist_lexer_source_files > [ 37%] Built target common > [ 37%] Built target fp_lib_table_lexer_source_files > [ 37%] Generating headers containing GLSL source code > Headers are up-to-date > [ 37%] Built target shader_headers > [ 38%] Built target gal > [ 38%] Built target pcb_lexer_source_files > [ 38%] Built target pcb_plot_lexer_source_files > [ 38%] Built target specctra_lexer_source_files > [ 41%] Built target pcbcommon > [ 44%] Built target 3d-viewer > [ 45%] Built target avhttp > [ 45%] Built target github_plugin > [ 46%] Built target pcad2kicadpcb > [ 46%] Built target polygon > [ 46%] Linking CXX shared module _cvpcb.kiface > collect2.exe: error: ld returned 5 exit status > cvpcb/CMakeFiles/cvpcb_kiface.dir/build.make:791: recipe for target > 'cvpcb/_cvpcb.kiface' failed > make[2]: *** [cvpcb/_cvpcb.kiface] Error 1 > make[2]: *** Deleting file 'cvpcb/_cvpcb.kiface' > CMakeFiles/Makefile2:888: recipe for target > 'cvpcb/CMakeFiles/cvpcb_kiface.dir/all' failed > make[1]: *** [cvpcb/CMakeFiles/cvpcb_kiface.dir/all] Error 2 > Makefile:127: recipe for target 'all' failed > make: *** [all] Error 2 > > > I dont see what the error is. > Note: this is a personal branch. > > Any hints? > Thanks > Mario > > ________________________________________ > From: Kicad-developers > [kicad-developers-bounces+mrluzeiro=ua...@lists.launchpad.net] on behalf of > Mário Luzeiro [mrluze...@ua.pt] > Sent: 03 November 2015 22:50 > To: kicad-developers@lists.launchpad.net > Subject: Re: [Kicad-developers] linux gcc vs windows mingw issues > > I found the issue, this packages are missing in the instructions: > > pacman -S mingw-w64-i686-toolchain > pacman -S make > > Mario > _______________________________________________ > Mailing list: https://launchpad.net/~kicad-developers > Post to : kicad-developers@lists.launchpad.net > Unsubscribe : https://launchpad.net/~kicad-developers > More help : https://help.launchpad.net/ListHelp > _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp