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
General Discussion

How to compile DNT (DCC Nightmare) via git

shirish
Sunday, July 1, 2012 - 03:52

Hi all,
I'm looking if somebody knows how to compile DNT.  I downloaded via git and saw this readme.

1) Source-Code Distribution

   a) LINUX, BSD, *NIX

   To "install" DNT, decompact the tar.bz2, go to the directory
"dnt",  run   ./configure ,   run   "make"   and,   optionally,
"make install".

   Example:

   farrer@anamabeka:~/$ tar -xvjf dnt.tar.bz2
   farrer@anamabeka:~/$ cd dnt
   farrer@anamabeka:~/dnt/$ ./configure
   farrer@anamabeka:~/dnt/$ make
   farrer@anamabeka:~/dnt/$ sudo make install

Now when you get the tarball you have a nice folder/directory named 'dnt' but if you do check out via git you get the following files and directories. 

~/games/dccnitghtmare$ ll -h
total 384K
-rw-r--r--  1 shirish shirish  78K 2012-07-01 08:47 aclocal.m4
drwxr-xr-x  2 shirish shirish 4.0K 2012-07-01 08:47 artwork
drwxr-xr-x  2 shirish shirish 4.0K 2012-07-01 08:47 bin
drwxr-xr-x 13 shirish shirish 4.0K 2012-07-01 08:47 blend
-rw-r--r--  1 shirish shirish  19K 2012-07-01 08:47 changelog.txt
-rw-r--r--  1 shirish shirish  44K 2012-07-01 08:47 config.guess
-rw-r--r--  1 shirish shirish  32K 2012-07-01 08:47 config.sub
-rw-r--r--  1 shirish shirish 5.9K 2012-07-01 08:47 configure.in
-rw-r--r--  1 shirish shirish  32K 2012-07-01 08:47 COPYING
drwxr-xr-x 25 shirish shirish 4.0K 2012-07-01 08:47 data
drwxr-xr-x  4 shirish shirish 4.0K 2012-07-01 08:47 doc
-rw-r--r--  1 shirish shirish  48K 2012-07-01 08:47 Doxyfile
-rw-r--r--  1 shirish shirish  48K 2012-07-01 08:47 Doxyfile.in
-rwxr-xr-x  1 shirish shirish  892 2012-07-01 08:47 install.sh
drwxr-xr-x  4 shirish shirish 4.0K 2012-07-01 08:47 macosx
-rw-r--r--  1 shirish shirish 1.8K 2012-07-01 08:47 Makefile.in
drwxr-xr-x  3 shirish shirish 4.0K 2012-07-01 08:47 music_src
drwxr-xr-x  6 shirish shirish 4.0K 2012-07-01 08:47 packages
drwxr-xr-x  2 shirish shirish 4.0K 2012-07-01 08:47 po
-rw-r--r--  1 shirish shirish 5.9K 2012-07-01 08:47 README
drwxr-xr-x 15 shirish shirish 4.0K 2012-07-01 08:47 src
drwxr-xr-x  2 shirish shirish 4.0K 2012-07-01 08:47 syntax
-rwxr-xr-x  1 shirish shirish 1.6K 2012-07-01 08:47 torelease.sh
drwxr-xr-x  4 shirish shirish 4.0K 2012-07-01 08:47 utils
drwxr-xr-x  2 shirish shirish 4.0K 2012-07-01 08:47 windows

Now can somebody help/guide/tell me if there is anyway to try and compile it (even if it fails to comply for some reason how to go about it).

The README is not much enlightening. I ask on the fora as quodop has already got a resource request thread happening and I don't wanna jump on that thread.

http://opengameart.org/forumtopic/portraits-for-weird-realism-cartoon-st...

For people interested to get the repo just do :-

git clone git://dccnitghtmare.git.sourceforge.net/gitroot/dccnitghtmare/dccnitghtmare (Be careful though because the repo is around 800 MB) so make sure you have plenty of space.

After that simply do git pull to get updates on the game/game-engine.

 

 

 

 

 

 

 

  • Log in or register to post comments
melior
joined 12 years 11 months ago
Sunday, July 1, 2012 - 07:26

There does seem to be something missing.  I'm not an autotools guru by any means, but if there is a configure.in and no configure, then I would expect there to be an autogen.sh.

  • Log in or register to post comments
farrer
joined 14 years 3 months ago
Sunday, July 1, 2012 - 07:27
farrer's picture

Hello shirish!

I'm supposing you are under a Linux distribution (or BSD). To compile the git version you need to do the following:

~/$ cd ~/games/dccnitghtmare/

~/games/dccnitghtmare$ autoconf

~/games/dccnitghtmare$ ./configure

 

Check for any configure errors and install the needed libraries, if any are missing (you'll need your distribution's dev packages for the following libraries: cal3d, sdl, sdl-image, openal, libvorbis, libogg). When the configure completes without errors, producing the Makefiles, just call:

 ~/games/dccnitghtmare$ make 

 

and run the game at the ./bin folder with

 ~/games/dccnitghtmare$ cd bin

~/games/dccnitghtmare/bin$ ./dnt

 

I'll need to update the README file, to make it more clear...

Any questions, just ask (better if you use DNT forums, as OGA isn't really the correct place to get help on DNT)...

  • Log in or register to post comments
shirish
joined 14 years 10 months ago
Sunday, July 1, 2012 - 10:03

@melior, I was thinking on the same lines because there was no autogen.sh as well.

@farrer, thanx. The missing thing was autoconf. Saw that you updated the README.

./configure happened smoothly and 'make' ran smoothly as well. I was able to run the game.

 

  • Log in or register to post comments