I've tried to compile it and stumbled over the problem that I only have includes/libraries with Unicode-support. I guess for this program Ansi-support would be required. (when I see calls to fgets etc)
So I'm hoping for a statically linked version. :)
Sargon
UCI and Linux
Moderators: hgm, Rebel, chrisw
-
- Posts: 287
- Joined: Sat Mar 11, 2006 3:19 am
- Location: Atlanta, GA
Re: UCI and Linux
Ok some bad news. It seems you can't just "compile" wxWidgets code that easy and expect it to perform the same on different platforms:Sargon wrote:I've tried to compile it and stumbled over the problem that I only have includes/libraries with Unicode-support. I guess for this program Ansi-support would be required. (when I see calls to fgets etc)
So I'm hoping for a statically linked version.
Sargon
(Here the problem was with not being able to launch ./Buzz in the working directory of the Buzz folder for some reason??)
Seems like it'll take some actual code modifications for it to work well on both platforms, so I can't get it done this weekend. I guess I'll put up a Linux version with the next release.
Re: UCI and Linux
Did you use a Unicode version or an Ansi version? I see you're using Ubuntu too. :o) I couldn't find an Ansi version of wxWidgets quickly. I didn't try downloading the sources and compiling them though. But if you tried it with an Ansi version already, I won't try the same. Anyway, thanks for trying! Looking forward to the next version. :)
Sargon
Sargon
-
- Posts: 287
- Joined: Sat Mar 11, 2006 3:19 am
- Location: Atlanta, GA
Re: UCI and Linux
I think it should compile with both. All you have to do is put -DwxUSE_UNICODE=0 in your compiler flags. But yes, I did compile PSWBTM with an ANSI wxWidgets I built.Sargon wrote:Did you use a Unicode version or an Ansi version? I see you're using Ubuntu too. ) I couldn't find an Ansi version of wxWidgets quickly. I didn't try downloading the sources and compiling them though. But if you tried it with an Ansi version already, I won't try the same. Anyway, thanks for trying! Looking forward to the next version.
Sargon
-
- Posts: 858
- Joined: Wed Mar 08, 2006 9:24 pm
- Location: Germany
- Full name: Daniel Mehrmann
Re: UCI and Linux
btw: Please use the latest CVS xboard version from the xboard hompage, http://savannah.gnu.org/projects/xboard/ , it includes some improvments since 4.2.7Pradu wrote:I think it should compile with both. All you have to do is put -DwxUSE_UNICODE=0 in your compiler flags. But yes, I did compile PSWBTM with an ANSI wxWidgets I built.Sargon wrote:Did you use a Unicode version or an Ansi version? I see you're using Ubuntu too. ) I couldn't find an Ansi version of wxWidgets quickly. I didn't try downloading the sources and compiling them though. But if you tried it with an Ansi version already, I won't try the same. Anyway, thanks for trying! Looking forward to the next version.
Sargon
Best,
Daniel