Netpanzer

i'm having trouble compiling with the package provided
# Contributor: Angelo Theodorou <[email protected]>
# Contributor: Darwin Bautista <[email protected]>
pkgname=netpanzer
pkgver=0.8.2
pkgrel=1
pkgdesc="An Online Multiplayer Tactical Warfare Game"
arch=('i686')
url="http://netpanzer.berlios.de/"
license="GPL"
depends=('gcc' 'physfs' 'sdl_mixer')
makedepends=('jam')
source=(http://download.berlios.de/netpanzer/${pkgname}-${pkgver}.tar.bz2)
md5sums=('3f446403ac7e72ed0ff9e093517c83d3')
build() {
cd ${startdir}/src/${pkgname}-${pkgver}/
./configure --prefix=/usr --disable-debug --without-wx-config
jam || return 1
jam -sprefix=${startdir}/pkg/usr install
it erros:
...failed C++ ./build/i686-pc-linux-gnu/opt/src/NetPanzer/Views/MainMenu/Multi/MapSelectionView.o ...
...skipped libnetpanzerviews.a for lack of libnetpanzerviews.a(MapSelectionView.o)...
...skipped netpanzer for lack of libnetpanzerutil.a...
...failed updating 4 target(s)...
...skipped 5 target(s)...
==> ERROR: Build Failed.
i tried to build from svn
pkgname=netpanzer-svn
pkgver=082008
pkgrel=1
pkgdesc="An Online Multiplayer Tactical Warfare Game"
arch=('i686')
url="http://netpanzer.berlios.de/"
license="GPL"
depends=('gcc' 'physfs' 'sdl_mixer')
makedepends=('jam' 'subversion')
build() {
svn co svn://svn.berlios.de/netpanzer/trunk/netpanzer
cd ${startdir}/src/netpanzer
./autogen.sh
./configure --prefix=/usr --disable-debug --without-wx-config
jam || return 1
jam -sprefix=${startdir}/pkg/usr install
it errors:
C++ ./build/i686-pc-linux-gnu/opt/src/NetPanzer/System/SDLSound.o
In file included from src/NetPanzer/Interfaces/GameConfig.hpp:29,
from src/NetPanzer/System/SDLSound.cpp:33:
src/NetPanzer/Interfaces/ConfigVariable.hpp:56: warning: type qualifiers ignored on function return type
C++ ./build/i686-pc-linux-gnu/opt/src/NetPanzer/System/SDLEvents.o
In file included from src/NetPanzer/Interfaces/GameConfig.hpp:29,
from src/NetPanzer/System/SDLEvents.cpp:26:
src/NetPanzer/Interfaces/ConfigVariable.hpp:56: warning: type qualifiers ignored on function return type
...skipped netpanzer for lack of libnetpanzerutil.a...
...failed updating 1 target(s)...
...skipped 4 target(s)...
...updated 310 target(s)...
==> ERROR: Build Failed.
Aborting...
has anyone compiled netpanzer in a while with any luck?

Ok I found a workaround for this one. Apparently it is a GCC version incompatibility both for the svn version and the standard release (currently 0.8.2). It can be solved by adding one line to one source code file for the svn version and 5-6 source code files for the 0.8.2 release. Check this thread out:
http://www.netpanzer.org/forum/index.php?topic=256.0
the part that you actually need is this:
You might be using netpanzer 0.8.2 source in newer gcc, if that is the case you would need to modify some files in order to compile:
- If error is with 'sort': add "#include <algorithm>" on top of that file
- If error is with 'auto_ptr': add "#include <memory>" on top of that file
Check out the errors from your console, access the file in which each error occured and add one line to the top of the file according to the quoted "rules"!
NOTE: If you're using a PKGBUILD don't forget to add the -e option to makepkg to skip uncompressing the source from the tar package or else the changes you will have made will be overwritten.

Similar Messages

  • Error installing netpanzer with packer.....

    hi... i am struggling getting netpanzer to install... i originally tried to install using packer, however some of my aur packages were out of date, so it complained about an error which i fixed by updating my aur packages..... now my output is as follows;
    [root@HPmachine /]# packer -S netpanzer
    Aur Targets (1): netpanzer
    Proceed with installation? [Y/n] y
    Edit netpanzer PKGBUILD with $EDITOR? [Y/n] n
    ==> Making package: netpanzer 0.8.4-1 (Fri Jun 1 00:03:05 BST 2012)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    ==> Extracting Sources...
    ==> Removing existing pkg/ directory...
    ==> Starting build()...
    svn: E155000: Destination directory exists; please remove the directory or use --force to overwrite
    svn: E155000: 'netpanzer-0.8.4' already exists
    ==> ERROR: A failure occurred in build().
    Aborting...
    The build failed.
    [root@HPmachine /]#
    Last edited by ninjaprawn (2012-05-31 23:16:47)

    Gcool wrote:Don't use packer myself, but judging from the output it simply seems to be complaining that the "netpanzer-0.8.4" directory already exists in packer's temporary directory. Simply try removing the directory and then try again.
    thanks for the advice.... did that, but now i get.......
    Exported revision 1370.
    scons: Reading SConscript files ...
    scons: warning: The Options class is deprecated; use the Variables class instead.
    File "/tmp/packerbuild-0/netpanzer/netpanzer/src/netpanzer-0.8.4/SConstruct", line 60, in <module>
    scons: warning: BuildDir() and the build_dir keyword have been deprecated;
    use VariantDir() and the variant_dir keyword instead.
    File "/tmp/packerbuild-0/netpanzer/netpanzer/src/netpanzer-0.8.4/SConstruct", line 153, in <module>
    scons: warning: BuildDir() and the build_dir keyword have been deprecated;
    use VariantDir() and the variant_dir keyword instead.
    File "/tmp/packerbuild-0/netpanzer/netpanzer/src/netpanzer-0.8.4/SConstruct", line 154, in <module>
    scons: warning: BuildDir() and the build_dir keyword have been deprecated;
    use VariantDir() and the variant_dir keyword instead.
    File "/tmp/packerbuild-0/netpanzer/netpanzer/src/netpanzer-0.8.4/SConstruct", line 155, in <module>
    NPVERSION = 0.8.4
    SVERSION = Unversioned directory
    Building version 0.8.4 in linux2
    scons: done reading SConscript files.
    scons: Building targets ...
    g++ -o build/release/src/NetPanzer/Bot/Bot.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Bot/Bot.cpp
    g++ -o build/release/src/NetPanzer/Bot/BotTaskList.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Bot/BotTaskList.cpp
    g++ -o build/release/src/NetPanzer/Bot/BotPlayer.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Bot/BotPlayer.cpp
    g++ -o build/release/src/NetPanzer/Classes/PlayerState.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Classes/PlayerState.cpp
    g++ -o build/release/src/NetPanzer/Classes/PlacementMatrix.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Classes/PlacementMatrix.cpp
    g++ -o build/release/src/NetPanzer/Classes/ViewCamera.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Classes/ViewCamera.cpp
    g++ -o build/release/src/NetPanzer/Classes/SelectionList.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Classes/SelectionList.cpp
    g++ -o build/release/src/NetPanzer/Classes/OpcodeDebugger.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Classes/OpcodeDebugger.cpp
    g++ -o build/release/src/NetPanzer/Classes/MapFile.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Classes/MapFile.cpp
    g++ -o build/release/src/NetPanzer/Classes/WorldInputCmdProcessor.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Classes/WorldInputCmdProcessor.cpp
    g++ -o build/release/src/NetPanzer/Classes/ScreenSurface.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Classes/ScreenSurface.cpp
    g++ -o build/release/src/NetPanzer/Classes/WorldMap.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Classes/WorldMap.cpp
    g++ -o build/release/src/NetPanzer/Classes/SelectionBoxSprite.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Classes/SelectionBoxSprite.cpp
    g++ -o build/release/src/NetPanzer/Classes/SpawnList.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Classes/SpawnList.cpp
    g++ -o build/release/src/NetPanzer/Classes/PlayerUnitConfig.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Classes/PlayerUnitConfig.cpp
    g++ -o build/release/src/NetPanzer/Classes/TipOfDay.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Classes/TipOfDay.cpp
    g++ -o build/release/src/NetPanzer/Classes/TileSet.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Classes/TileSet.cpp
    g++ -o build/release/src/NetPanzer/Classes/Sprite.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Classes/Sprite.cpp
    g++ -o build/release/src/NetPanzer/Classes/SpriteSorter.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Classes/SpriteSorter.cpp
    g++ -o build/release/src/NetPanzer/Classes/AI/PathingState.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Classes/AI/PathingState.cpp
    g++ -o build/release/src/NetPanzer/Classes/AI/Astar.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Classes/AI/Astar.cpp
    g++ -o build/release/src/NetPanzer/Classes/AI/PathList.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Classes/AI/PathList.cpp
    g++ -o build/release/src/NetPanzer/Classes/Network/NetMessageEncoder.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Classes/Network/NetMessageEncoder.cpp
    g++ -o build/release/src/NetPanzer/Classes/Network/NetworkClient.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Classes/Network/NetworkClient.cpp
    g++ -o build/release/src/NetPanzer/Classes/Network/NetPacketDebugger.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Classes/Network/NetPacketDebugger.cpp
    g++ -o build/release/src/NetPanzer/Classes/Network/ServerMessageRouter.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Classes/Network/ServerMessageRouter.cpp
    g++ -o build/release/src/NetPanzer/Classes/Network/NetworkInterface.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Classes/Network/NetworkInterface.cpp
    g++ -o build/release/src/NetPanzer/Classes/Network/NetPacketQueues.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Classes/Network/NetPacketQueues.cpp
    g++ -o build/release/src/NetPanzer/Classes/Network/ServerConnectDaemon.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Classes/Network/ServerConnectDaemon.cpp
    g++ -o build/release/src/NetPanzer/Classes/Network/NetworkState.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Classes/Network/NetworkState.cpp
    g++ -o build/release/src/NetPanzer/Classes/Network/ClientMessageRouter.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Classes/Network/ClientMessageRouter.cpp
    g++ -o build/release/src/NetPanzer/Classes/Network/NetMessageDecoder.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Classes/Network/NetMessageDecoder.cpp
    g++ -o build/release/src/NetPanzer/Classes/Network/NetworkServer.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Classes/Network/NetworkServer.cpp
    g++ -o build/release/src/NetPanzer/Classes/Network/ClientConnectDaemon.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Classes/Network/ClientConnectDaemon.cpp
    g++ -o build/release/src/NetPanzer/Classes/Network/ConnectNetMessage.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Classes/Network/ConnectNetMessage.cpp
    g++ -o build/release/src/NetPanzer/Core/NetworkGlobals.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Core/NetworkGlobals.cpp
    g++ -o build/release/src/NetPanzer/Core/main.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Core/main.cpp
    g++ -o build/release/src/NetPanzer/Interfaces/PathScheduler.o -c -O2 -s -Wall -DPACKAGE_VERSION=\"0.8.4\" -DNP_DATADIR=\"/usr/share/netpanzer\" -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc/Lib -Isrc/NetPanzer -Isrc/Lib/physfs -Isrc/Lib/lua -I/usr/include/SDL -Isrc/Lib/physfs/zlib123 src/NetPanzer/Interfaces/PathScheduler.cpp
    In file included from src/NetPanzer/Interfaces/PathScheduler.hpp:24:0,
    from src/NetPanzer/Interfaces/PathScheduler.cpp:23:
    src/Lib/ArrayUtil/QueueTemplate.hpp: In instantiation of ‘bool QueueTemplate<TYPE>::enqueue(const TYPE&) [with TYPE = PathRequest]’:
    src/NetPanzer/Interfaces/PathScheduler.cpp:445:51: required from here
    src/Lib/ArrayUtil/QueueTemplate.hpp:45:9: error: ‘add’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
    src/Lib/ArrayUtil/QueueTemplate.hpp:45:9: note: declarations in dependent base ‘ArrayTemplate<PathRequest>’ are not found by unqualified lookup
    src/Lib/ArrayUtil/QueueTemplate.hpp:45:9: note: use ‘this->add’ instead
    scons: *** [build/release/src/NetPanzer/Interfaces/PathScheduler.o] Error 1
    scons: building terminated because of errors.
    ==> ERROR: A failure occurred in build().
    Aborting...
    The build failed.
    Last edited by ninjaprawn (2012-06-01 15:43:55)

Maybe you are looking for

  • Can't uninstall appleaplicationsupport 1.3.2

    Because of a boot-up error message related to Mobile Me I am trying to re-install Itunes, but it fails because it cannot find either Apple Application Support or Apple Mobile Device Support to un-install.  Ultimately the re-install fails.

  • How to create groups in AD using AD group process definition

    Hello, I want to create group in AD when i create group in OIM & i had achieved this using JNDI & was able to create groups in AD successfully,now i want to create groups in AD using AD Group process definition which contains create AD Group task. Ca

  • View of Tables

    Hi Friends, When I open VBRK table through SE16, I can see all the headings by techenical names (Ex: MANDT) only. But I want to see those headings with the description (Ex: CLIENT) of the tables. In the same way for other tables also. Can anyone help

  • MR8M Reversal Problem ?

    Hi All Experts, When I am going to reverse one invoice from MR8M the following error occurs :- Error Message :- Allowed posting periods: 04 2009 / 12 2008 for company code 1000 and date 31.05.2009. Message no. M8535 Diagnosis The posting date entered

  • VB connection with Oracle 8i

    Hi Im trying to connect VB with Oracle 8i on a Windows 98 platform standalone. I have the following queries that I tried hard to solve. 1. I'm cant understand what connection string do I have to put for the Oracle database 2. How do I create a new da