bugSpace Hulk - Bugs: bug #1452, Compilation error 1.0.2 on RH8

 
 

bug #1452: Compilation error 1.0.2 on RH8

Submitted by:  None
Submitted on:  Sat 19 Oct 2002 12:44:18 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 24 Oct 2002 11:40:30 AM UTC, comment #2:

The missing statements ("using namespace std" and "#include <iostream>") have been added to the correct file. A new tarball has been uploaded for the 1.0.2 release.
Everything should work correctly

Romain Vinot <rom_vinot>
Project Administrator
Sun 20 Oct 2002 06:08:11 PM UTC, comment #1:

OK, in order to get something I could play, I thought I would try 1.0 instead. When I try to compile 1.0, I get even more errors! Is the source tarball complete? I'm seeing things like:

qmain.cpp:26:26: qapplication.h: No such file or directory
qmain.cpp:27:27: qmultilinedit.h: No such file or directory
In file included from qmain.cpp:30:
qpixmapboard.h:14:25: qscrollview.h: No such file or directory
qpixmapboard.h:15:20: qframe.h: No such file or directory
qpixmapboard.h:16:21: qpixmap.h: No such file or directory
In file included from qmain.cpp:30:
qpixmapboard.h:22: parse error before `,' token
qpixmapboard.h:26: `QMouseEvent' was not declared in this scope
qpixmapboard.h:26: `e' was not declared in this scope
qpixmapboard.h:26: variable or field `mouseReleaseEvent' declared void
qpixmapboard.h:41: parse error before `private'
qpixmapboard.h:45: parse error before `,' token
qpixmapboard.h:46: parse error before `,' token

[...]
There are LOTS more errors trying to build 1.0!

Any chance of a fix for the problem with 1.0.2? I'm an old Games Workshop fanatic (worked for them when I was younger) and would love to have a go at this new game :-)

Anonymous
Sat 19 Oct 2002 12:44:18 AM UTC, original submission:

Trying to compile 1.0.2 on stock RedHat 8.0 with gcc 3.2, I get:

[...]
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3-gcc3.2/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -DDATA_DIR=\"/usr/local/share/spacehulk\" -D_REENTRANT
-O2 -fno-exceptions -fno-check-new -c qthemeengine.cpp
In file included from qthemeengine.cpp:24:
qthemeengine.h:34: parse error before `)' token
qthemeengine.h:35: `string' was not declared in this scope
qthemeengine.h:35: parse error before `)' token
qthemeengine.h:36: `string' was not declared in this scope
qthemeengine.h:36: syntax error before `*' token
qthemeengine.h:48: `string' was not declared in this scope
qthemeengine.h:48: 'set' is used as a type, but is not defined as a type.
qthemeengine.h:49: 'string' is used as a type, but is not defined as a type.
qthemeengine.cpp: In constructor `QThemeEngine::QThemeEngine()':
qthemeengine.cpp:30: `cerr' undeclared (first use this function)
qthemeengine.cpp:30: (Each undeclared identifier is reported only once for each
function it appears in.)
qthemeengine.cpp:37: `string' undeclared (first use this function)
qthemeengine.cpp:37: parse error before `=' token
qthemeengine.cpp:38: `filename' undeclared (first use this function)
qthemeengine.cpp:39: `themes' undeclared (first use this function)
qthemeengine.cpp:43: parse error before `;' token
qthemeengine.cpp:45: `def' undeclared (first use this function)
qthemeengine.cpp: At global scope:
qthemeengine.cpp:53: syntax error before `::' token
qthemeengine.cpp:54: syntax error before `*' token
qthemeengine.cpp:56: `string' was not declared in this scope
qthemeengine.cpp:56: parse error before `)' token
qthemeengine.cpp: In member function `void QThemeEngine::setTheme(...)':
qthemeengine.cpp:58: `theme' undeclared (first use this function)
qthemeengine.cpp:58: `current' undeclared (first use this function)
qthemeengine.cpp:65: `string' undeclared (first use this function)
qthemeengine.cpp:65: parse error before `=' token
qthemeengine.cpp:70: `dir' undeclared (first use this function)
make[2]: *** [qthemeengine.o] Error 1
make[2]: Leaving directory `/home/andyp/spacehulk-1.0.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/andyp/spacehulk-1.0.2'
make: *** [all-recursive-am] Error 2

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Thu 24 Oct 2002 11:40:30 AM UTCrom_vinotOpen/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1