Light Style© by Fisana

Jump to content


Photo

Game will not compile


  • Please log in to reply
10 replies to this topic

#1 nocompile

nocompile

    a.k.a trajans_advisor

  • Community Members
  • Pip
  • 73 posts

Posted 10 March 2012 - 10:13 PM

-- Looking for include files HAVE_MALLOC_H - found
CMake Error: This project requires some variables to be set,
and cmake can not find them.
Please set the following variables:
OPENEXR_ILMTHREAD_LIBRARY

-- Configuring done
ERROR: NVTT build failed

The main developer, Phillip, told me to just delete the game. He would not help me.
  • 0

#2 historic_bruno

historic_bruno

    Primus Pilus

  • WFG Programming Team
  • 2,467 posts

Posted 10 March 2012 - 11:58 PM

Please post technical questions like this in Development & Technical Discussion forum.

The following information would be helpful: OS, compiler version (gcc --version), SVN revision of the game's source code, and which steps you used to try compiling. Did you follow our build instructions?
  • 0
Ben Brian [ aka historic_bruno ]

Wildfire Games Programmer
Contact me: ben [at] wildfiregames [dot] com

#3 nocompile

nocompile

    a.k.a trajans_advisor

  • Community Members
  • Pip
  • 73 posts

Posted 11 March 2012 - 12:08 AM

Please post technical questions like this in Development & Technical Discussion forum.

The following information would be helpful: OS, compiler version (gcc --version), SVN revision of the game's source code, and which steps you used to try compiling. Did you follow our build instructions?


GCC:
gcc (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Build:
#!/bin/sh

srcHome=`pwd`

svn up

cd build/workspaces
./update-workspaces.sh
cd gcc
make config=release clean
make config=release -j3
cd $srcHome/binaries/system/
./test

  • 0

#4 historic_bruno

historic_bruno

    Primus Pilus

  • WFG Programming Team
  • 2,467 posts

Posted 11 March 2012 - 02:14 AM

Which version of Ubuntu? I've compiled on an old-ish Ubuntu and never had a problem with NVTT. We need to find out what the difference is on your system.
  • 0
Ben Brian [ aka historic_bruno ]

Wildfire Games Programmer
Contact me: ben [at] wildfiregames [dot] com

#5 nocompile

nocompile

    a.k.a trajans_advisor

  • Community Members
  • Pip
  • 73 posts

Posted 11 March 2012 - 03:04 AM

The Ubuntu version is: hardy
  • 0

#6 nocompile

nocompile

    a.k.a trajans_advisor

  • Community Members
  • Pip
  • 73 posts

Posted 11 March 2012 - 10:27 PM

Any ideas?

-- Use thread library: -lpthread
-- Looking for include files HAVE_UNISTD_H
-- Looking for include files HAVE_UNISTD_H - found
-- Looking for include files HAVE_STDARG_H
-- Looking for include files HAVE_STDARG_H - found
-- Looking for include files HAVE_SIGNAL_H
-- Looking for include files HAVE_SIGNAL_H - found
-- Looking for include files HAVE_EXECINFO_H
-- Looking for include files HAVE_EXECINFO_H - found
-- Looking for include files HAVE_MALLOC_H
-- Looking for include files HAVE_MALLOC_H - found
CMake Error: This project requires some variables to be set,
and cmake can not find them.
Please set the following variables:
OPENEXR_ILMTHREAD_LIBRARY



I svn up'd again
  • 0

#7 historic_bruno

historic_bruno

    Primus Pilus

  • WFG Programming Team
  • 2,467 posts

Posted 11 March 2012 - 11:21 PM

Hmm that's a very old version of Ubuntu (8.04 from 2008), maybe no one has tested the NVTT build with it. Can you copy the complete output of the NVTT build, you've only posted part of it.
  • 0
Ben Brian [ aka historic_bruno ]

Wildfire Games Programmer
Contact me: ben [at] wildfiregames [dot] com

#8 nocompile

nocompile

    a.k.a trajans_advisor

  • Community Members
  • Pip
  • 73 posts

Posted 13 March 2012 - 04:33 AM

It used to work, not to long ago, a month or two ago is last I tried and succeded to compile.
Spoiler

  • 0

#9 historic_bruno

historic_bruno

    Primus Pilus

  • WFG Programming Team
  • 2,467 posts

Posted 13 March 2012 - 11:40 PM

Ah this is an interesting note: "WARNING: This project requires version 2.6.0 of CMake. You are running version 2.4.7."

Why not try upgrading to CMake 2.6+?

I don't know why it would suddenly stop working. Maybe some packages were changed due to an upgrade or something else being installed.
  • 0
Ben Brian [ aka historic_bruno ]

Wildfire Games Programmer
Contact me: ben [at] wildfiregames [dot] com

#10 nocompile

nocompile

    a.k.a trajans_advisor

  • Community Members
  • Pip
  • 73 posts

Posted 14 March 2012 - 03:22 AM

I updated but it still does not work:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
OPENEXR_ILMTHREAD_LIBRARY
	linked by target "nvimage" in directory /home/home/0ad/libraries/nvtt/src/src/nvimage

-- Configuring incomplete, errors occurred!
ERROR: NVTT build failed
home@ubuntu:~/0ad/build/workspaces$ cmake --version
cmake version 2.8.7



Spoiler

  • 0

#11 historic_bruno

historic_bruno

    Primus Pilus

  • WFG Programming Team
  • 2,467 posts

Posted 14 April 2012 - 09:38 PM

r11502 disables some optional NVTT dependencies including OpenEXR, this may help you compile.
  • 0
Ben Brian [ aka historic_bruno ]

Wildfire Games Programmer
Contact me: ben [at] wildfiregames [dot] com