Skip to main content

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password
Register
  • Home
  • Browse
    • 2D Art
    • 3D Art
    • Concept Art
    • Textures
    • Music
    • Sound Effects
    • Documents
    • Featured Tutorials
  • Submit Art
  • Collect
    • My Collections
    • Art Collections
  • Forums
  • FAQ
  • Leaderboards
    • All Time
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
    • Weekly
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
  • ❤ Donate
FLARE [ARCHIVED]

FLARE from git in Debian: compiled ok but don't work [FIXED]

oldbot
Saturday, November 5, 2011 - 03:38

I just tried Flare and I liked it. So I pulled git repo and started to examine sources. But when I compiled it and ran that binary, it just didn't work. Empty window, silence in stdout/stderr, and can't recieve any signals:

$ ps aux | grep '[f]lare'
t         9444  101  0.4  29444  7136 pts/1    RLl  12:24   0:54 ./flare
$ killall flare; ps aux | grep '[f]lare'
t         9444  101  0.4  29444  7136 pts/1    RLl  12:24   0:54 ./flare
$ killall -9 flare; ps aux | grep '[f]lare'
$

I didn't change the sources, just compiled current git version. Here is SDL versions in my system (from 'testing/unstable' branches):

$ aptitude search ^libsdl~i -F '%p %V'
libsdl-image1.2                                                                                 1.2.10-2.1
libsdl-image1.2-dev                                                                             1.2.10-2.1
libsdl-mixer1.2                                                                                 1.2.8-6.4
libsdl-mixer1.2-dev                                                                             1.2.8-6.4
libsdl-net1.2                                                                                   1.2.7-2  
libsdl-sound1.2                                                                                 1.0.3-3+b1
libsdl-ttf2.0-0                                                                                 2.0.9-1.1
libsdl-ttf2.0-dev                                                                               2.0.9-1.1
libsdl1.2-dev                                                                                   1.2.14-6.4
libsdl1.2debian                                                                                 1.2.14-6.4

I tried with SDL from 'stable', with same result. Official package form Debian unstable works well in both cases.

  • Log in or register to post comments
CruzR
joined 14 years 4 months ago
Saturday, November 5, 2011 - 07:00
CruzR's picture

How exactly did you build? With cmake or directly with g++?

  • Log in or register to post comments
oldbot
joined 13 years 8 months ago
Saturday, November 5, 2011 - 09:39

Oh, sorry, forgot to mention it. With cmake.

  • Log in or register to post comments
oldbot
joined 13 years 8 months ago
Saturday, November 5, 2011 - 09:44

Now tried to build with g++. Same result.

  • Log in or register to post comments
Clint Bellanger
joined 15 years 9 months ago
Saturday, November 5, 2011 - 12:20
Clint Bellanger's picture

Though it should be showing some kind of error, it's possible that the app just can't find any of the data files. Check your environment variables? Here's where Flare looks for data files:

https://github.com/clintbellanger/flare/wiki/Directories

Is the Flare data in one of those places? Specifically the "PATH_DATA" section.

(update)

If you used "make install", see if the data is in /usr/local/flare.

If it is, see if a "mods" folder is there.

It's possible that my WIP code is breaking something. I just pushed an update to the cmake file that could be the whole issue.

  • Log in or register to post comments
oldbot
joined 13 years 8 months ago
Saturday, November 5, 2011 - 13:48

With your last push I got the message "Error during ModManager::loadModList() -- couldn't open mods/mods.txt". Then I examine sources starting from this message and found the problem. I forgot to uninstall Debian package with the game, so PATH_DATA pointed to /usr/share/games/flare, where the mods subdirectory is absent. When I removed the package, game started successfully. Thank you for help.

  • Log in or register to post comments
Clint Bellanger
joined 15 years 9 months ago
Saturday, November 5, 2011 - 13:57
Clint Bellanger's picture

Awesome, sorry for the mess!

  • Log in or register to post comments
oldbot
joined 13 years 8 months ago
Saturday, November 5, 2011 - 16:04

Maybe the best solution here is to search for data depending on path to binary file. Real path can be determined from full command line and PATH environment variable.

  • Log in or register to post comments