BrainLearn

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

User avatar
Zerbinati
Posts: 122
Joined: Mon Aug 18, 2014 7:12 pm
Location: Trento (Italy)

Re: BrainLearn

Post by Zerbinati »

@Ovyron for lcurl libraries they are now ok
for the other mistake try to hear amchess
I have never compiled the learn version
matejst
Posts: 364
Joined: Mon May 14, 2007 8:20 pm
Full name: Boban Stanojević

Re: BrainLearn

Post by matejst »

Marco,

I see you have changed your github page. What is hypnos? Just a net? An engine and a net?
amchess
Posts: 323
Joined: Tue Dec 05, 2017 2:42 pm

Re: BrainLearn

Post by amchess »

User avatar
Ovyron
Posts: 4556
Joined: Tue Jul 03, 2007 4:30 am

Re: BrainLearn

Post by Ovyron »

I guess amchess doesn't give support to people wanting to make their own compile.
amchess
Posts: 323
Joined: Tue Dec 05, 2017 2:42 pm

Re: BrainLearn

Post by amchess »

Everybody has his own build method and I don't understand them all.
So, surely, I can give my support if I have the skills.
zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

Re: BrainLearn

Post by zullil »

Ovyron wrote: Mon Jul 27, 2020 2:42 am
Zerbinati wrote: Mon Jul 27, 2020 2:13 am Lcurl libraries are missing
32
the curl folder to:
i686-w64-mingw32\include\
file libcurl.a to:
i686-w64-mingw32\lib

64
the curl folder to:
x86_w64-mingw32\include
file libcurl.a to:
x86_w64-mingw32\lib
Thanks, that got rid of the first error, but the second one still appears:

c:/mingw/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.1.0/../../../../x86_64-w64
-mingw32/bin/ld.exe: cannot find -ldl
collect2.exe: error: ld returned 1 exit status
I don't use Windows, but perhaps this helps in some way? https://stackoverflow.com/questions/124 ... o-in-mingw
User avatar
Ovyron
Posts: 4556
Joined: Tue Jul 03, 2007 4:30 am

Re: BrainLearn

Post by Ovyron »

amchess wrote: Fri Jul 31, 2020 7:22 pm Everybody has his own build method and I don't understand them all.
So, surely, I can give my support if I have the skills.
Thanks amchess. When trying to compile the BrainLearnNNUELEARN64 version for my sse4.1 machine I run:

mingw32-make nnue-learn ARCH=x86-64-sse41 COMP=mingw CXX=x86_64-w64-mingw32-g++ -j %Number_Of_Processors%

And I get this error when it tries to compile learn/multi_think.cpp:

-lcurl -lws2_32 -static -lopenblas -fopenmp
c:/mingw/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.1.0/../../../../x86_64-w64
-mingw32/bin/ld.exe: cannot find -ldl
collect2.exe: error: ld returned 1 exit status


Here's a pic of the files in that folder:

Image

I've been unable to compile it.
amchess
Posts: 323
Joined: Tue Dec 05, 2017 2:42 pm

Re: BrainLearn

Post by amchess »

Ovyron wrote: Sat Aug 01, 2020 3:25 am
amchess wrote: Fri Jul 31, 2020 7:22 pm Everybody has his own build method and I don't understand them all.
So, surely, I can give my support if I have the skills.
Thanks amchess. When trying to compile the BrainLearnNNUELEARN64 version for my sse4.1 machine I run:

mingw32-make nnue-learn ARCH=x86-64-sse41 COMP=mingw CXX=x86_64-w64-mingw32-g++ -j %Number_Of_Processors%

And I get this error when it tries to compile learn/multi_think.cpp:

-lcurl -lws2_32 -static -lopenblas -fopenmp
c:/mingw/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.1.0/../../../../x86_64-w64
-mingw32/bin/ld.exe: cannot find -ldl
collect2.exe: error: ld returned 1 exit status


Here's a pic of the files in that folder:

Image

I've been unable to compile it.
You have to compile with 730 mingw and msys 1.0.
Moreover, you have to put curl and openblas libraries and includes in the corresponding compiler folders.
User avatar
Ovyron
Posts: 4556
Joined: Tue Jul 03, 2007 4:30 am

Re: BrainLearn

Post by Ovyron »

amchess wrote: Sun Aug 02, 2020 2:37 pm You have to compile with 730 mingw and msys 1.0.
Moreover, you have to put curl and openblas libraries and includes in the corresponding compiler folders.
I downloaded 730 from here but now it can't compile bitboard.cpp:

Image

Maybe I should download 730 mingw from somewhere else?
User avatar
Zerbinati
Posts: 122
Joined: Mon Aug 18, 2014 7:12 pm
Location: Trento (Italy)

Re: BrainLearn

Post by Zerbinati »

@Ovyron I don't know which version you downloaded but this is the one you need to use:
x86_64-7.3.0-release-posix-seh-rt_v5-rev0
https://sourceforge.net/projects/mingw- ... v5-rev0.7z