Чардафон Тилилейски
 

Това е моят форум. Тук можете да създавате теми и да участвате в тяхното обсъждане.

Добави в избрани за мен Изпращане на имейл
Интересни сайтове
Абонамент
Посетители
Календар
Топ коментатори
Последни коментари
Други сайтове
Коментирани записи
Обратно към началоЧардафон Тилилейски / Форум / General / HELP WITH DEVC++ AMIGO

HELP WITH DEVC++ AMIGO

Създаване на темаСъздаване на тема | Към списка

ДобавеноТекст

aldenh1 Изпращане на съобщение
juan dela cruz
HELP WITH DEVC++ AMIGO
2103 дни назад 24.08.2006 04:39:50 Цитат('212192','45760','6','180')">Съобщи за спам

FERSBERY,
I HOPE YOU STILL HAVE TIME FOR THE SITE. I HAVE A PROBLEM BUILDING THE EXE FROM SOURCE CODE OF FRUIT AND TOGA DUE TO POOR KNOWLEDGE IN PROGRAMMING. COULD YOU GIVE ME A "LAMERS" STEP BY STEP GUIDE USING DEVC++. IS THE MONSTERDEVC.EXE YOUR VERSION OF THE MONSTER005 SOURCE CODE. I STILL HAVE IT IN MY FILES BEFORE IT WAS REMOVED FROM THE AUTHOR'S SITE. THANKS IN ADVANCE. JUAN.



Коментари: 12 Разглеждани: 593416

ferzbery Изпращане на съобщение
Чардафон Тилилейски
2102 дни назад 24.08.2006 17:36:07 Цитат('212192','212192','6','181')">Съобщи за спам

Hello, Juan,

Thanks for coming by, amigo. Yes, I compiled Toga from its sources with DevC++ compiler. I used the default settings without changing anything in the code or in the compiler. The steps are:
1. Create a new project (I named my project Toga.dev) of the type "Win 32 console"
2. Add all files in the source (except Makefile) to the project (*.cpp and *.h files)
3. Go to Execute and then Compile & Run

It looks simple but there are many pitfalls. Most important is that the compiler is set with its default settings - especially directories of libraries and include files. It seems that I was not completely successful after all. The Toga.exe worked, it played chess under winboard, but it was not as strong as the original (20% weaker in the test done by chessmonster). Also it didn't display its thinking in the analysis. The file was much smaller than the original (even smaller if you set optimisations and strip code in the settings of the compiler and linker). It looks as if not all code in the sources have been compiled.

I compiled monster.exe in exactly the same way as above. The file was almost half of the original and in my tests it was stronger than the original. However, it still didn't display analysis and I think it is not fully compiled too, due to the Toga code in it.

I see that you made the same request for help to chessmonster. Hope he knows more than me on the issue because he is more experienced in programming.



aldenh1 Изпращане на съобщение
juan dela cruz
2102 дни назад 25.08.2006 08:30:36 Цитат('212192','45760','6','182')">Съобщи за спам

THANKS FOR THE INFO. IT SEEMS DEV C++ WAS A BEST CHOICE FOR BEGINNERS, AND AS WELL AS THE FRUIT AND TOGA SOURCE CODES. YOU'RE RIGHT, THE ENGINE DOES NOT DISPLAY RUNNING ANALYSIS (ONLY THE NODES/SEC AND PLY DEPTH). BTW, YOU ARE THE ONLY ONE WHO GAVE ME A SPECIFIC/DETAILED AND CLEAR GUIDE WHICH HELPED ME A LOT. AND IT'S A GOOD THING I'VE SAVED ALL YOUR PAST CONVERSATIONS WITH CHESSMONSTER RELATED TO THIS TOPIC. IT'S A BIG FACTOR. SOMEONE ADVICED ME TO USE THE NEW CODEPROJECT C++IDE ON THIS LINK :http://www.codeblocks.org. GUESS I'LL GIVE IT A TRY.

LASTLY, FO YOU HAVE EXPERIENCE COMPILING THE CODES OF GLAURUNG AND CRAFTY? I'M STILL WORKING ON IT AT THIS TIME. ANYWAY, THANKS FOR MAKING MY TASK SUCCESSFUL. JUAN


ferzbery Изпращане на съобщение
Чардафон Тилилейски
2098 дни назад 28.08.2006 16:43:34 Цитат('212192','212192','6','187')">Съобщи за спам

Thanks, amigo,

I am glad we could exchange info. I don't have experience in glaurung and crafty. Tried to compile winboard and polyglot from the author's sources in DevC++ but no success - too many errors after compiling which I couldn't correct.

I look forward to news about your further attempts.


aldenh1 Изпращане на съобщение
juan dela cruz
2098 дни назад 29.08.2006 07:24:41 Цитат('212192','45760','6','188')">Съобщи за спам

Not all released source codes are complete, compatible with DevC++ or your available compiler. Some scripts have to be edited or added to make things work. The bottom line is to study how each language works and how to manipulate them like normal programmers do. I'm lucky that the Fruit and Toga codes are error free and compatible with the GCC compiler. But right now, I'm into hard reading and collection of available codes for testing. Try these links:
http://digilander.libero.it/mizarchessengine/paper...
http://www.ee.surrey.ac.uk/Teaching/
And lastly, it's better to try firsthand info from the engine authors and their compiling programmers as well. Jim Ablett is a nice choice (from
http://homepages.tesco.net/henry.ablett/jims.html)... His active compiling of Typhoon and Knightcap is quite interesting. Thanks for the compliments amigo. Juan


ferzbery Изпращане на съобщение
Чардафон Тилилейски
2097 дни назад 29.08.2006 17:21:48 Цитат('212192','212192','6','189')">Съобщи за спам

Thanks for the info, amigo. I'll sure try the links you suggest. I installed the Codeblock compiler from the link you gave and tried to compile Toga, Winboard_x and Polyglot in it. Toga compiled again with no errors but the code was larger (256 k) and it still did not give analysis. Also the speed (nodes per second) was much slower than the original. The other 2 programs again couldn't compile because of errors. Next, I'll try the Borland 5.5 compiler since many of the programs are written to compile in it so it is something like a standard (together with the Microsoft compilers).
Of course, it is much better to change the source code, and not the compiler, but for people like me, who don't have time to study deeply computer languages, it is worth to try shortcuts. Still, I'll try to learn some further, at least to know which header files to change.


aldenh1 Изпращане на съобщение
juan dela cruz
2096 дни назад 31.08.2006 05:13:53 Цитат('212192','45760','6','190')">Съобщи за спам

Yes indeed amigo. You said it right. I also face the same problems with engines having no analysis too. Chessmonster mentoned to you using the makefile for optimization based on this thread:

chessmonster
chess monster 16 days ago Quote
--------------------------------------------------------------------------------

I don t think you compiled it from the makefile :D

I compiled toga to 120 k too if i don t use the makefile

but it s not optimised :D Just test it against toga 121 and look at the Kn/s .

I think your kn/s should be slower than the bryan Offman or Thomas Version

An easy way to optimised it , you could compiled it from the makefile with window command prompt or like this in window XP , run , CMD , C:\cd go to your files where the Toga sources are

and then type the following command

cl *.cpp
cl -o toga.exe *.obj

and it will compiled with optimization ...

your compilation depend of your compiler C++ and your computer too.

more you are a better compiler and more your cpu is big more your .exe release will be fast .

end
----------------------------------------------------------------

I couldn't make it work on my Windows2000 but I guess I have to study first the commands for CYGWIN, DEV C++ and CODEBLOCKS, as well as the easy shortcuts fit for us. Its a trial and error thing but I know we'll hit it right in the end. Thanks again for the time. Juan.

BTW, if you're interested, DEEP PHARAON 3.5 had just been released at http://www.fzibi.com/pharaon/ . Have a nice day amigo.



ferzbery Изпращане на съобщение
Чардафон Тилилейски
2095 дни назад 31.08.2006 17:07:55 Цитат('212192','212192','6','191')">Съобщи за спам

Thanks again for the info, amigo. I haven't tried to compile from command line, at least not Toga and other multisource program, because I know they require makefiles. In the IDE environments, such as DevC++ and Codeblocks makefiles are made authomatically using the options provided for the project. For instance, DevC++ always makes a file called Makefile.win which is a text file with all the optimisations given by the user. There is an option also to use external makefile instead, but for me this option didn't work with the makefile provided in Toga. I had tried to incorporate the optimisations given in the Toga makefile into DevC++ Makefile.win. Most of those are in the form of compiler and linker options. Those that are not there can be incorporated separately as a text in a list (or optionally right into the text of Makefile.win). There are two lists - for the compiler and for the linker. Those optimisations didn't change much, only decreased the size of Toga.exe to 90 kb. Still no analysis, and the speed is only about 60% of the original Toga.exe.
Thanks for the pharaon link. I'll make use of this prog.


aldenh1 Изпращане на съобщение
juan dela cruz
2093 дни назад 03.09.2006 06:31:08 Цитат('212192','45760','6','192')">Съобщи за спам

I also did that with the same results. But using the Microsoft Visual Basic C++ 6.0 compiler without the makefile, I got a 385 kb TOGA executable with analysis. The downside is, it's searching only about half of the original compiled by Bryan Hoffman. In the first place, I couldn't remember how I got this compiler (dated 1999) and its optimization configuration hasn't even improved the speed yet.
The following links may be of interest to you too.
http://www.tantalon.com/pete/cppopt/main.htm
http://www.ddj.com/184405641
I've learned that most multi-threaded applications (like chess engine programs) are best optimized using the Intel C++ compiler (for Linux) because it supports this feature. Microsoft Visual C++ 7.1, CodeWarrior and GCC follows the previous based on rank respectively.
BTW, always check Franks Zibi's site (pharaon) because he's working on it. He leaves his released version as is ( as pharaon.zip) but edits the beta version (pharaon_beta.zip). Check the file date to see if it was changed. The last released version is at par with Rybka 1.1 on my tests.
Thanks for the ideas amigo!


aldenh1 Изпращане на съобщение
juan dela cruz
2093 дни назад 03.09.2006 06:46:52 Цитат('212192','45760','6','193')">Съобщи за спам

I found a rapidshare download for the intel C++ compiler for windows. I can't download it yet due to limited internet hours. Here's the link amigo: http://rapidshare.de/files/31443430/Intel.C.Plus.P...
I hope this helps. Juan


Anonymous
1453 дни назад 03.06.2008 18:35:20 Цитат('212192','88','6','479')">Съобщи за спам

Hey want have money for FREE read more!!!!!

1.If you dont have account on e-gold if dont have register
here http://www.e-gold.com. go to "create account" press"AGREE"
and fill registration blank. Remember you bank account NAME and
Password and don't forget you bank account ID

2.Go to http://www.e-gold.com/acct/login.html, and login in.
in top of the window press SPEND. In window PAY write first
bank ID from the list (above), in "amount" window write 1,
"choose unit window select "US Dollars". NOW please do this
to all ID's form the list.It's leagal!!!!!!

1. 5097582
2. 5099272
3. 5100028
4. 5102249
5. 5430869
6. 5430826

Now delete from the list Nr.1 bank account ID
now turp up all bank accounts ID and in empty
space Nr.6 write your e-gold ID. List have to
be like this.

1. 5099272
2. 5100028
3. 5102249
4. 5430869
5. 5430826
6. Your ID


3,Do anything, but keeping main idea, distribution
this article minimum 200 in forums.
More information about this article, more been your
icome. This business thrive for partners gravity and
honesty. And then yuo get first list line you have more dollars.

This cost just 6$ and way hours. Than more carry
this article than more $ you get. !!!!!!



How to get money intro you bank account?

1.To get money intro you e-gold account you have to go:
http://money.ladshome.com/index.php/ and send money to your
e-gold account .
To what account you remit money, then they automatic remit
money. To your e-gold account.They warning, transfer doing
over 3 days. Often they doing transfer over 2 hours.
REMARK: ivest slightly money, than agent take 0,1%


Anonymous
1360 дни назад 05.09.2008 09:45:16 Цитат('212192','88','6','733')">Съобщи за спам

11


Valerysaw
920 дни назад 18.11.2009 15:26:58 Цитат('212192','88','6','877')">Съобщи за спам

Who knows where to download XRumer 5.0 Palladium? Help, please. All recommend this program to effectively advertise on the Internet, this is the best program!


Кой е на сайта?
Жалба | Поместено на MyLivePage | | Design by Next Step | © Kolobok smiles, Aiwan