Menu

#1 Unable to compile - ‘string’ was not declared in this scope

open
nobody
5
2009-02-02
2009-02-02
No

I am unable to compile. My laptop is Ubuntu 8.10, gcc 4.3.2. Not sure what to do -- any suggestions?

rob@pretty-bird:~/Desktop/linapple-src_1.1b/src$ sdl-config --version
1.2.12
rob@pretty-bird:~/Desktop/linapple-src_1.1b/src$ make
c++ -c -O3 -Wall stretch.cpp -o stretch.o `sdl-config --cflags`
In file included from Debug.h:8,
from stdafx.h:38,
from stretch.cpp:37:
Debugger_Types.h:1448: error: ‘string’ was not declared in this scope
Debugger_Types.h:1448: error: template argument 2 is invalid
Debugger_Types.h:1448: error: template argument 4 is invalid
Debugger_Types.h:1448: error: invalid type in declaration before ‘;’ token
make: *** [stretch.o] Error 1

Thanks!

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.