Ticket #460 (new WIP - file(s) attached)
Opened 5 years ago
Last modified 6 months ago
[add game] OpenCity - bep file needs work
| Reported by: | michaelvoliveira | Owned by: | michaelvoliveira |
|---|---|---|---|
| Priority: | normal | Milestone: | Unscheduled |
| Component: | games-simulation/opencity | Version: | 1.0 |
| Severity: | normal | Keywords: | open city opengl |
| Cc: |
Attachments
Change History
Changed 5 years ago by michaelvoliveira
- attachment opencity-0.0.6.3stable.bep added
Changed 5 years ago by michaelvoliveira
- attachment opencity-0.0.6.3stable.patch added
Patch to use the local stdint.h
comment:1 Changed 5 years ago by michaelvoliveira
For gcc2 is need get rid of c99 compiler option from configure.am and add #if GCC_VERSION >= 3 for <ostream> includes.
comment:2 Changed 5 years ago by michaelvoliveira
- Component changed from default to games-simulation/opencity
- Owner set to michaelvoliveira
comment:3 Changed 5 years ago by scottmc
for games and apps you should get in the habit of using finddir B_APPS_DIRECTORY instead of /boot/apps
That way if/when the B_APPS_DIRECTORY changes the bep file will still work right.
comment:4 Changed 5 years ago by michaelvoliveira
comment:5 Changed 5 years ago by augiedoggie
You should probably leave the #ifdef in the file. It looks like the only problem was that it was doing an #include "stdint.h" instead of #include <stdint.h>
comment:6 Changed 5 years ago by mbaluta
Built and installed, but when i try to run only small black window shows up and nothing else happens. Here is what i've got in console:
/boot/apps/opencity/bin> opencity Welcome to opencity-0.0.6 Copyright (C) by Duong Khang NGUYEN. All rights reserved. web : http://www.opencity.info email: neoneurone @ gmail com This program is released under the terms of GNU General Public License (See the COPYING file for more details) Starting OpenCity standalone/client application... <INFO> Failed to initialized BinReloc routines to search for the datadir. The error was: 4 <INFO> Failed to initialized BinReloc routines to search for the confdir. The error was: 4 <INFO> Detected data directory : /boot/apps/opencity/share/opencity/ <INFO> Detected config directory : /boot/apps/opencity/etc/opencity/ <INFO> Detected save directory : /boot/home/.opencity/ <INFO> Reading XML config file: "/boot/apps/opencity/etc/opencity/config/opencity.xml" <INFO> Loading default OpenGL driver... BRect(l:0.0, t:0.0, r:1279.0, b:799.0)
comment:7 Changed 5 years ago by scottmc
Here's the latest build of libsdl-1.2-hg which will probably work for this:
http://ports-space.haiku-files.org//media-libs/libsdl-1.2-hg-x86-gcc2-2010-12-23.zip
comment:8 Changed 5 years ago by scottmc
- Summary changed from [add game] OpenCity - files attached needs review to [add game] OpenCity - bep file needs work
comment:9 Changed 5 years ago by mbaluta
I can't open file, you have provided. I've downloaded older version, but i couldn't compile opencity. I will check tomorrow on latest nightly of Haiku. Maybe there is something wrong with my Haiku.
comment:10 Changed 6 months ago by scottmc
- Type changed from task to WIP - file(s) attached


Initial .bep file. It's working only with gcc4 atm