asdfjkl / jfxchess

JFXChess - Chess Program
https://asdfjkl.github.io/jfxchess
GNU General Public License v2.0
101 stars 22 forks source link

Problem building and running under windows #3

Closed jwes44 closed 8 years ago

jwes44 commented 9 years ago

I was trying to build jerry under windows and had some problems.

  1. I could find no documentation of the process. I guessed to rename setup.py_win to setup.py.
  2. When I run build_win.bat, I get the error: C:\jerry-v.102>python setup.py py2exe --includes sip running py2exe error: Resource filename 'win_icon.ico' does not exist
  3. When running build_win.bat a second time, the mkdir and xcopy commands give errors. You could remove the mkdir commands and add /I /D to the xcopy options and it will run without errors or prompts.
  4. If I try to run jerry without compiling it, I get an error: C:\jerry-v.102>python jerry.py Traceback (most recent call last): File "jerry.py", line 4, in from gui.MovesEdit import MovesEdit File "C:\jerry-v.102\gui\MovesEdit.py", line 40 SyntaxError: Non-ASCII character '\xe2' in file C:\jerry-v.102\gui\MovesEdit.py on line 40, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details Saving MovesEdit.py as utf-8 with BOM fixes that.
jwes44 commented 9 years ago

Now that sourceforge is back up, I installed QtPy4. Now when I type python jerry,py, I get -- Traceback (most recent call last): File "jerry.py", line 4, in from gui.MovesEdit import MovesEdit File "C:\Users\jwesley\jerry-v.102\gui\MovesEdit.py", line 4, in from dialogs.DialogWithListView import DialogWithListView ImportError: No module named dialogs.DialogWithListView

asdfjkl commented 9 years ago

Jerry is written in Python 3. Hence "building" is not really compilation, but just distribution for other systems. Hence if you want to try out the latest development version, there is really no need to build and execute the setup script. Just try by directly invoking python.

Try the following:

hth. if there are errors, let me know. Note that I am currently changing a lot (pgn handling) and the development versions are very unstable.

asdfjkl commented 8 years ago

due to the release of 2.0 I am closing this.