Message Board


Message Board > Others > Pascal troubles: part one - getting the compiler working

February 11, 2006, 20:29
Deadmaster
Where is Johnny?
458 posts
I recently started looking at Pascal, getting hold of a compiler, etc. However, the compiler I got throws this error at me when I try to compile my first simple "hello world" program:

cpp: Too many arguments
C:\Dev-Pas\bin\windres: C:\Documents and Settings\Dan\My Documents\Programming stuff (important)\Pascal crap\rsrc.rc:1: parse error


It's all French to me. What the frak is a parse error? I don't want to switch compilers; I really like Dev-Pascal. Looks user friendly and stuff, unlike freepascal. As far as I can see, it's an IDE and a compiler, so I don't think I have to link it to a compiler or anything.


I didn't do anything out of the ordinary - simply installed it, created my first project, first source, and attempted to compile the source.

Helpish?


Edit:

Hmmmmm, this is odd. The source will compile on it's own, but in a project, it doesn't want to compile. Since I can work off just a source for the time being, this is now pretty trivial - but I still don't know why it doesn't want to compile a project.

[Edited on February 11, 2006 by Deadmaster]
____________
My site still needs updating and redesigning. My last.fm page.

GO TO TEXTUAL ANARCHY II YOU FISHDOG YOU
#
February 11, 2006, 20:56
PEader
お前はもう死んでいる
1486 posts

Is this dev-pas from the makers of the ever so shit dev-cpp?
That would explain all your problems.
____________
I see 57,005 people.
#
February 11, 2006, 21:49
Deadmaster
Where is Johnny?
458 posts
I like dev-c++ :(
____________
My site still needs updating and redesigning. My last.fm page.

GO TO TEXTUAL ANARCHY II YOU FISHDOG YOU
#
February 11, 2006, 22:49
DTM
Earthling!
821 posts

*cuddles dev-cpp*
____________
:o
#
February 11, 2006, 23:21
Deadmaster
Where is Johnny?
458 posts
Even Frim wuvs Dev-Cpp. And he's a mad, scheming, cynical blue cat.
____________
My site still needs updating and redesigning. My last.fm page.

GO TO TEXTUAL ANARCHY II YOU FISHDOG YOU
#
February 11, 2006, 23:21
DTM
Earthling!
821 posts

as for that problem, it doesn't like long filenames.
So try creating a project in "c:\aa" or something...
____________
:o
#
February 11, 2006, 23:23
Deadmaster
Where is Johnny?
458 posts
I think it might be to do with the fact that theres spaces in my dir name. :/

Or, it could be that it doesn't like long filenames, like you said.

I'll try both.

Edit:

Yeah. Yeah that was it. Well, either that or the lack of spaces, as "C:\Programming_(important)\Pascal" works fine.

Thanks muchos.

[Edited on February 11, 2006 by Deadmaster]
____________
My site still needs updating and redesigning. My last.fm page.

GO TO TEXTUAL ANARCHY II YOU FISHDOG YOU
#
May 3, 2006, 12:41
yonni
None
420 posts
Thats a good compiler, one that doesnt like long filepaths or spaces :|. I mean none of us have long filepaths or spaces in them. ffs to egt to "my documents" in windows is a long file path with spaces in it! I agree with PEader, dev-c++ is crap, as so, probably, is dev-pas
____________
#
May 3, 2006, 12:54
Fiona
games are terrible
-9616558 posts

Wow, no spaces? How very DOS....
____________
laffo
#
May 3, 2006, 17:33
DTM
Earthling!
821 posts

It was the resource files long filename. Nothing wrong with spaces.
I THINK.
____________
:o
#
May 3, 2006, 20:13
Deadmaster
Where is Johnny?
458 posts
I'd rather have dev-pascal than use Freepascal and it's scary DOS environment.
____________
My site still needs updating and redesigning. My last.fm page.

GO TO TEXTUAL ANARCHY II YOU FISHDOG YOU
#
July 21, 2006, 22:07
Rhovanion
Exterminated
666 posts
How's the progress going deadmaster? I hope hearing from you soon ;)
____________
#

Message Board > Others > Pascal troubles: part one - getting the compiler working

Quick reply


You must log in or register to post.
Copyright © 2005 Booleansoup.com
Questions? Comments? Bug reports? Contact us!