Dev Version under Windows

6 replies [Last post]
ufftata
User offline. Last seen 14 years 9 weeks ago. Offline
Joined: 2009-12-02
Posts: 11

Ok i'm trying to compile the dev version for windows under windows (xp 386) so i can try it with my friends. But i'm having a little trouble:

i linked the deps for cmake, and come to 20% progress when freepascal failes, but i have no idea how to fix this

Quote:
Linking C shared library ..\..\bin\lua.dll
Creating library file: ..\..\bin\liblua.dll.a
[ 20%] Built target lua
[ 20%] Generating ../bin/hwengine.exe
Fatal: Can't find unit system used by hwengine
Fatal: Compilation aborted
Error: C:\FPC\2.4.0\bin\i386-win32\ppc386.exe returned an error exitcode (normal if you did not specify a source file to be compiled)
mingw32-make[2]: *** [bin/hwengine.exe] Error 1
mingw32-make[1]: *** [hedgewars/CMakeFiles/hwengine.dir/all] Error 2
mingw32-make: *** [all] Error 2

mingw-gcc 4.4.0
freepascal: 2.4
cmake: 2.8
qt: 4.6.3

would be nice if somebody could help me
any ideas?

Smaxx
Smaxx's picture
User offline. Last seen 13 years 32 weeks ago. Offline
Joined: 2009-04-29
Posts: 391

somehow incomplete/broken installation of FPC? It isn't able to find some of its own files.

Mitu
User offline. Last seen 12 years 2 weeks ago. Offline
Joined: 2010-08-06
Posts: 11

Frog is cool Big Grin
How about something like homing pigeon in Worms? Bee is something different and it would be nice to have a weapon which finds it's way around rocks etc.

ufftata
User offline. Last seen 14 years 9 weeks ago. Offline
Joined: 2009-12-02
Posts: 11

ok, i reset the path variables in windows. but now i get a slightly different error:

Quote:
Free Pascal Compiler version 2.4.0 [2009/12/18] for i386
Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Win32 for i386
Compiling I:\Dokumente und Einstellungen\Administrator\Eigene Dateien\Projects\hedgewars\hwengine.pas
Compiling SDLh.pas
Compiling uMisc.pas
Compiling uConsts.pas
Compiling uFloat.pas
Compiling uMisc.pas
Compiling uConsts.pas
Compiling uLocale.pas
Compiling uMisc.pas
Compiling uConsts.pas
config.inc(20,24) Fatal: String exceeds line
Fatal: Compilation aborted
Error: C:\FPC\bin\i386-win32\ppc386.exe returned an error exitcode (normal if you did not specify a source file to be co
mpiled)
mingw32-make[2]: *** [bin/hwengine.exe] Error 1
mingw32-make[1]: *** [hedgewars/CMakeFiles/hwengine.dir/all] Error 2
mingw32-make: *** [all] Error 2

Smaxx
Smaxx's picture
User offline. Last seen 13 years 32 weeks ago. Offline
Joined: 2009-04-29
Posts: 391

open "hedgewars\config.inc" and post line 20 - seems to be some error created by CMake.

ufftata
User offline. Last seen 14 years 9 weeks ago. Offline
Joined: 2009-12-02
Posts: 11

didn't need to, i tried on my work machine and it worked, pretty dirty solution but i got it. had to hardlink all the dll's. but it's playable.

also got the server compiled under linux, but you should add Network.Bytestring package for Haskell in the install-file as a server dependency Wink Smiley

btw, great work. new features are awesome

rockachu2
rockachu2's picture
User offline. Last seen 13 years 3 weeks ago. Offline
Joined: 2010-07-08
Posts: 85

ufftata allegedly wrote:

didn't need to, i tried on my work machine and it worked, pretty dirty solution but i got it. had to hardlink all the dll's. but it's playable.

also got the server compiled under linux, but you should add Network.Bytestring package for Haskell in the install-file as a server dependency Wink Smiley

btw, great work. new features are awesome


Can you upload the files as a .zip?
I can't compile AT ALL.

My favorite sport: nerd sniping.

User login

Copyright © 2004-2024 Hedgewars Project. All rights reserved. [ contact ]