iasp / textroom

Automatically exported from code.google.com/p/textroom
Other
0 stars 0 forks source link

Installation of 0.5.1 and 0.5.2 #25

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
On Linux, Ubuntu 8.10:

1. Installation of version 0.5 was no problem. I used qmake-qt4, then make,
then ran make install as root.
2. On trying to install versions 0.5.1 and 0.5.2, qmake-qt4 works fine (as
far as I can tell), but then installation produces the following error at
the make command and goes no further:
----------------------------
/usr/bin/uic-qt4 ui/optionsdialog.ui -o build/ui_optionsdialog.h
Warning: name label is already used
Warning: name layoutWidget is already used
/usr/bin/uic-qt4 ui/textroom.ui -o build/ui_textroom.h
/usr/bin/uic-qt4 ui/helpdialog.ui -o build/ui_helpdialog.h
/usr/bin/uic-qt4 ui/font.ui -o build/ui_font.h
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I.
-I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore
-I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I.
-Isrc -I/usr/include/SDL -Ibuild -Ibuild -o build/helpdialog.o
src/helpdialog.cpp
In file included from src/helpdialog.cpp:34:
src/textroom.h:36:21: error: SDL/SDL.h: No such file or directory
src/textroom.h:38:27: error: SDL/SDL_mixer.h: No such file or directory
In file included from src/helpdialog.cpp:34:
src/textroom.h:91: error: ‘Mix_Chunk’ has not been declared
src/textroom.h:148: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with
no type
src/textroom.h:148: error: expected ‘;’ before ‘*’ token
src/textroom.h:149: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with
no type
src/textroom.h:149: error: expected ‘;’ before ‘*’ token
make: *** [build/helpdialog.o] Error 1
----------------------------------------

Not sure what's wrong or what changed from version 0.5 to 0.5.1 and 0.5.2.
Is it because I need to uninstall the previous version from my machine...I
don't think that would cause such an error...

Thanks for a great app!

Original issue reported on code.google.com by thotzdat...@gmail.com on 22 Dec 2008 at 5:42

GoogleCodeExporter commented 8 years ago
I think the problem is missing sdl-mixer. Did you uninstall sdl-mixer? You need 
the
dev libraries of sdl-mixer and sdl. 

Original comment by gordebak on 22 Dec 2008 at 10:15

GoogleCodeExporter commented 8 years ago
That was the problem. I needed to install libsdl-mixer1.2-dev and it worked! 
However,
although the save dialog in Textroom now offers a .txt option, when I save as 
.txt,
and then open that file in another text editor, I have still html markup in the 
file
and not just the text I typed in.

Original comment by thotzdat...@gmail.com on 23 Dec 2008 at 7:59

GoogleCodeExporter commented 8 years ago
Hmm, I will take a look, thank you.

Original comment by gordebak on 26 Dec 2008 at 12:35

GoogleCodeExporter commented 8 years ago
Fixed in 0.5.3. I somehow undid the changes I made. So redid them.

Thank you for your help.

Original comment by gordebak on 26 Dec 2008 at 1:01

GoogleCodeExporter commented 8 years ago

Original comment by gordebak on 26 Dec 2008 at 1:02

GoogleCodeExporter commented 8 years ago
Thanks! I installed version 0.5.3 and when saving to text format, with extension
.txt, TextRoom saves a clean plain-text file with no HTML markup! And still 
with the
cool typewriter sounds..yes!...Thanks for the hard work! Great app!

Original comment by thotzdat...@gmail.com on 26 Dec 2008 at 7:46