Urban Terror Forums: How to Compile/Produce a .exe in Ubuntu - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

How to Compile/Produce a .exe in Ubuntu Rate Topic: -----

#1 User is offline   tay Icon

  • Account: tay
  • Joined: 26-June 11
  • Posts: 2

Posted 02 July 2011 - 02:03 AM

ok

I need to compile/produce a .exe that will work in windows(32-bit).
Right now im using Ubuntu(32-bit).

I've installed minGW: + some of its addons (just in-case)
sudo apt-get install mingw32


There is a cross-make-mingw.sh(In the source files):
#!/bin/sh

export CC=i586-mingw32msvc-gcc
export WINDRES=i586-mingw32msvc-windres
export PLATFORM=mingw32
exec make $*



Heres what i have done so far to get it to at least compile.


1.
chmod +x cross-make-mingw.sh

2.
cd ~/Desktop/ioUrbanTerrorClientSource

3.
./cross-make-mingw.sh -ik


And it compiles, but its not spitting out a .exe, so i guess i might be missing a package for minGW?. :(

#2 User is offline   Nexu Icon

  •   clan leader   
  • Account: nexu
  • Main tag: |it|
  • Country:
  • Joined: 26-June 07
  • Posts: 4,264

Posted 02 July 2011 - 02:28 AM

This is support forum for Urban Terror, not mingw.

Urban Terror is released with a Windows 32-bits binary (.exe) for both 32- and 64-bits Windows platform.
An unofficial build exist for Windows 64-bits binary[link].

Support for ioUrbanTerror is given to end-user(read: players). It's assumed that "developers" trying to compile ioUrbanTerror should (well, ought) have the expertise to be able to achieve this on their own.

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Advertisement


Copyright © 1999-2019 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942