BrainLearn

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

Moderators: Harvey Williamson, bob, hgm

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
User avatar
Zerbinati
Posts: 75
Joined: Mon Aug 18, 2014 5:12 pm
Location: Trento (Italy)

Re: BrainLearn

Post by Zerbinati » Mon Jul 27, 2020 1:35 am

@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: 216
Joined: Mon May 14, 2007 6:20 pm
Full name: Boban Stanojević

Re: BrainLearn

Post by matejst » Mon Jul 27, 2020 2:06 am

Marco,

I see you have changed your github page. What is hypnos? Just a net? An engine and a net?

amchess
Posts: 148
Joined: Tue Dec 05, 2017 1:42 pm

Re: BrainLearn

Post by amchess » Fri Jul 31, 2020 4:56 pm


User avatar
Ovyron
Posts: 4399
Joined: Tue Jul 03, 2007 2:30 am

Re: BrainLearn

Post by Ovyron » Fri Jul 31, 2020 5:00 pm

I guess amchess doesn't give support to people wanting to make their own compile.

amchess
Posts: 148
Joined: Tue Dec 05, 2017 1:42 pm

Re: BrainLearn

Post by amchess » Fri Jul 31, 2020 5: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.

zullil
Posts: 6442
Joined: Mon Jan 08, 2007 11:31 pm
Location: PA USA
Full name: Louis Zulli

Re: BrainLearn

Post by zullil » Fri Jul 31, 2020 5:46 pm

Ovyron wrote:
Mon Jul 27, 2020 12:42 am
Zerbinati wrote:
Mon Jul 27, 2020 12: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: 4399
Joined: Tue Jul 03, 2007 2:30 am

Re: BrainLearn

Post by Ovyron » Sat Aug 01, 2020 1:25 am

amchess wrote:
Fri Jul 31, 2020 5: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: 148
Joined: Tue Dec 05, 2017 1:42 pm

Re: BrainLearn

Post by amchess » Sun Aug 02, 2020 12:37 pm

Ovyron wrote:
Sat Aug 01, 2020 1:25 am
amchess wrote:
Fri Jul 31, 2020 5: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: 4399
Joined: Tue Jul 03, 2007 2:30 am

Re: BrainLearn

Post by Ovyron » Tue Aug 04, 2020 5:33 am

amchess wrote:
Sun Aug 02, 2020 12: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: 75
Joined: Mon Aug 18, 2014 5:12 pm
Location: Trento (Italy)

Re: BrainLearn

Post by Zerbinati » Tue Aug 04, 2020 10:34 am

@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

Post Reply