![]() |
![]() |
#67 |
Jun 2012
74108 Posts |
![]()
Why not just download a Windows executable? Many to choose from.
You will likely also need the ggnfs sievers on your computer if you plan on having Yafu perform NFS factoring. Yafu calls these executables from a location you specify. And GMP-ECM if you want Yafu to run ECM, again from a location on your local machine which you specify. |
![]() |
![]() |
![]() |
#68 | |
"Ben"
Feb 2007
22·3·311 Posts |
![]() Quote:
This tells the build to omit -ldl, among other things. |
|
![]() |
![]() |
![]() |
#69 | |
Nov 2022
1116 Posts |
![]() Quote:
$ make -f Makefile.mingw x86_64 NFS=1 USE_SSE41=1 make: *** No rule to make target 'x86_64'. Stop. include/factor.h:32:10: fatal error: zlib.h: No such file or directory |
|
![]() |
![]() |
![]() |
#70 |
Nov 2022
218 Posts |
![]()
I forgot to say that I've build yafu (great piece of software!!!) in wsl-. And it works but is lame and slow compared to windows prebuild version. So my desire is to build it in windows either with msys2 or visual studio
Ciao, silvio |
![]() |
![]() |
![]() |
#71 |
"Oliver"
Sep 2017
Porta Westfalica, DE
1,321 Posts |
![]()
Haven't you tried the pre-built executables from his GitHub site?
|
![]() |
![]() |
![]() |
#72 |
Nov 2022
218 Posts |
![]() |
![]() |
![]() |
![]() |
#73 |
"Ben"
Feb 2007
22·3·311 Posts |
![]()
This is strange to hear. For me, wsl is far superior to the pre-built windows version, which was made with visual studio. SIQS, ECM, and NFS should all run faster in wsl. Building with mingw is probably still possible but I stopped using it for the pre-built windows executables because there were too many little usability and build issues (pipes/redirects work slightly differently; mingw/msys2 was giving me fits) and the number of things I had to debug and test grew too large.
Last fiddled with by bsquared on 2022-11-16 at 14:32 |
![]() |
![]() |
![]() |
#74 | |
Nov 2022
1710 Posts |
![]() Quote:
Infinite thanks |
|
![]() |
![]() |
![]() |
#75 | |
"Ben"
Feb 2007
22×3×311 Posts |
![]() Quote:
2.) Obtain mpir 3.0, ecm (latest stable release), msieve, ytools, and ysieve source dependencies 3.) Build MPIR 3.0, ECM, msieve, ytools, and ysieve, in that order, with the best options for your processor 4.) Build yafu, editing the compiler general options to include the best instruction sets for your processor and editing the linker general options to point to the various libraries you previously compiled. Some of this is done for you already if you've arranged and named your directories correctly (all next to each other) |
|
![]() |
![]() |
![]() |
#76 | |
Nov 2022
17 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#77 | |
"James Heinrich"
May 2004
ex-Northern Ontario
3·29·47 Posts |
![]() Quote:
2) click "Download" 3) you now have a Visual Studio build of YAFU. |
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Guide to compiling YAFU | Mr. Odd | YAFU | 4 | 2017-04-24 15:40 |
Compiling YAFU under MinGW | wombatman | YAFU | 10 | 2016-01-21 19:48 |
Need help compiling YAFU from SVN. | Stargate38 | YAFU | 14 | 2016-01-20 21:46 |
compiling svn 427 for Windows 64 bit. | skan | NFSNET Discussion | 7 | 2012-04-18 10:30 |
Compiling ECM 5.0.3 for windows | BotXXX | Factoring | 25 | 2005-09-13 12:24 |