[MacPorts] #18768: wop (worms of prey) Building problem
MacPorts
noreply at macports.org
Wed Apr 15 14:00:16 PDT 2009
#18768: wop (worms of prey) Building problem
-------------------------------------------+--------------------------------
Reporter: sgutierrez@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Keywords: | Port: wop
-------------------------------------------+--------------------------------
Comment(by gombok@…):
recently build wop on ubuntu (apt-get install build-essential
libsdl1.2-dev libsdl-image1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev
libsdl-mixer1.2-dev) and had two issues (besides tons of g++ 4.3.2
compiler warnings):
1. there is a missing #include <algorithm> in scusibot.cpp
2. Undefined symbols:
"SpriteSet<Sprite>::SpriteSet()", referenced from:
Map::createFromTheme(Theme&, World&) in map.o
ld: symbol(s) not found
Quick and dirty workaround was to include the sources into map.cpp:
#include "spriteset.cpp"
#include "spritesequence.cpp"
(just after #include "objectpaths.hpp")
Hope that helps.
--
Ticket URL: <http://trac.macports.org/ticket/18768#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list