Crystal Space
Welcome, Guest. Please login or register.
December 20, 2014, 10:33:05 pm

Login with username, password and session length
Search:     Advanced search
9032 Posts in 2046 Topics by 9295 Members
Latest Member: Marioibuch
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  Support
| | |-+  Parse error in Simple1 tutorial
« previous next »
Pages: [1] Print
Author Topic: Parse error in Simple1 tutorial  (Read 1593 times)
Nevita
Guest


Email
« on: August 09, 2005, 04:40:00 am »

Hello.

I'm compiling the source code for the Simple1 tutorial from CVS.  I've linked everything properly (since it has worked before adding the below code), but the compiler throws up an error message on the line:

view.AttachNew(new csView(engine,g3d));

It says that there is a parse error before the ')' token.  According to the API docs this is the proper usage, but it doesn't want to compile.  Any hints?

Thanks,
Andrew
Logged
jorrit
Administrator
Hero Member
*****
Posts: 1706


View Profile
« Reply #1 on: August 09, 2005, 05:22:51 am »

Hello.

I'm compiling the source code for the Simple1 tutorial from CVS.  I've linked everything properly (since it has worked before adding the below code), but the compiler throws up an error message on the line:

view.AttachNew(new csView(engine,g3d));

It says that there is a parse error before the ')' token.  According to the API docs this is the proper usage, but it doesn't want to compile.  Any hints?

Thanks,
Andrew


Without seeing the rest of the code it seems like you probably forgot to include some file perhaps. Like cstool/csview.h or ivideo/graph3d.h or iengine/engine.h?

Greetings,
Logged
Nevita
Guest


Email
« Reply #2 on: August 09, 2005, 08:35:38 pm »

Yep, csview.h was the problem.

Don't mind me, I'm just dumb. Smiley

Thanks for the help.
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 4.271 seconds with 14 queries.