Open GoogleCodeExporter opened 8 years ago
The same error on Ubuntu 12.04.3 LTS
[jes:~/src/vinterm-0.5.0] $ make
checking dependencies
Vintage Terminal build options:
CXXFLAGS = -DVERSION="0.5.0" -DDATADIR="/usr/local/share/vinterm" -pedantic
-Wall -I. -I/usr/include -std=c++0x -g -O0 -DDEBUG -I/usr/include/SDL
-D_GNU_SOURCE=1 -D_REENTRANT -D_SDL -DAO -DLIBCONFIG
LDFLAGS = -L/usr/lib -lutil -g -L/usr/lib/x86_64-linux-gnu -lSDL -lao -lX11
-lconfig++
CC = g++
CC main.cc
CC options.cc
CC terminal/blink.cc
CC terminal/backtrack.cc
CC terminal/clipboard.cc
CC terminal/framebuffer.cc
terminal/framebuffer.cc: In Elementfunktion »void
Framebuffer::SetEndSelection(int, int)«:
terminal/framebuffer.cc:557:16: Fehler: »std::string« hat kein Element namens
»pop_back«
make: *** [terminal/framebuffer.o] Fehler 1
Original comment by Jes.K...@gmail.com
on 12 Dec 2013 at 2:19
ElementaryOS: latest svn checkout gives following error:
$ make
checking dependencies
Vintage Terminal build options:
CXXFLAGS = -DVERSION="1.0.0" -DDATADIR="/usr/local/share/vinterm" -pedantic
-Wall -I. -I/usr/include -std=c++0x -g -O0 -DDEBUG -I/usr/local/include/SDL2
-D_REENTRANT -D_SDL2 -I/usr/local/include -DAO -I/usr/local/include
-DLIBCONFIG
LDFLAGS = -L/usr/lib -lutil -g -L/usr/local/lib -Wl,-rpath,/usr/local/lib
-lSDL2 -lpthread -L/usr/local/lib -lao -L/usr/local/lib -lconfig++ -lX11
CC = g++
CC main.cc
CC options.cc
CC terminal/blink.cc
CC terminal/backtrack.cc
CC terminal/clipboard.cc
In file included from terminal/clipboard.cc:9:0:
/usr/local/include/SDL2/SDL_syswm.h:106:20: warning: comma at end of enumerator
list [-pedantic]
CC terminal/charmatrix.cc
terminal/charmatrix.cc: In member function ‘void
CharMatrix::SetEndSelection(int, int)’:
terminal/charmatrix.cc:565:16: error: ‘std::string’ has no member named
‘pop_back’
make: *** [terminal/charmatrix.o] Error 1
Original comment by joris.sh...@gmail.com
on 21 Jan 2014 at 1:07
Hi,
Using the latest svn checkout gave the above error.
I fixed it installing gcc 4.8 and g++ 4.8..
See
http://askubuntu.com/questions/271388/how-to-install-gcc-4-8-in-ubuntu-12-04-fro
m-the-terminal
And http://askubuntu.com/questions/248079/how-to-install-g-4-8
Compiling now works, but after starting vinterm I get a segmentation fault:
$ ./vinterm
error: invalid syntax on config file, ignoring... (syntax error)
Error opening audio device.
non-line-break in line 0
non-line-break in line 1
non-line-break in line 2
non-line-break in line 3
non-line-break in line 4
non-line-break in line 5
non-line-break in line 6
non-line-break in line 7
non-line-break in line 8
non-line-break in line 9
Segmentation fault
Original comment by joris.sh...@gmail.com
on 31 Jan 2014 at 1:20
To be complete: version 0.5.0 compiles and runs fine after installing gcc 4.8
and g++ 4.8 on elementaryOS (ubuntu 12.04.3)
Original comment by joris.sh...@gmail.com
on 31 Jan 2014 at 1:55
Alternate fix: change selection.pop_back() to
selection.erase(selection.size()-1)
For those of us who can't get an update to GCC.
Original comment by jbusch...@gmail.com
on 5 Aug 2014 at 6:17
Original issue reported on code.google.com by
lar...@gmail.com
on 12 Nov 2013 at 12:55