Pascal

Moderators: None (Apply to moderate this forum)
Number of threads: 4095
Number of posts: 14004

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
a couple fpc 2.0.0 questions Posted by gunder on 19 May 2005 at 9:12 AM
I downloaded fpc 2.0.0 last night. It's been years since I've done pascal programming so these may be really dumb questions, if so I apologize. First off, the readme says to compile the hello.pas program in the \demo directory to make sure the compiler is working. There is no hello.pas nor is there a demo directory, there is an examples directory but it doesn't have it in there either. That's not a big deal though, I wrote my own and I was able to compile it just fine.

The big problem is that I cannot get any of the example programs to compile. It can't find any of the libraries (opengl, tcl, free vision). The compiler set up a config file when I installed but it still doesn't see them. I've tryed putting the directories in the IDE that comes with it but it didn't help. I tryed deleting and reinstalling it but it still didn't work.

Can anyone tell me what I'm doing wrong? I couldn't find anything in the documentation about it.

-gunder
Report
Re: a couple fpc 2.0.0 questions Posted by dmantione on 20 May 2005 at 3:38 AM
: I downloaded fpc 2.0.0 last night. It's been years since I've done pascal programming so these may be really dumb questions, if so I apologize. First off, the readme says to compile the hello.pas program in the \demo directory to make sure the compiler is working. There is no hello.pas nor is there a demo directory, there is an examples directory but it doesn't have it in there either. That's not a big deal though, I wrote my own and I was able to compile it just fine.
:
: The big problem is that I cannot get any of the example programs to compile. It can't find any of the libraries (opengl, tcl, free vision). The compiler set up a config file when I installed but it still doesn't see them. I've tryed putting the directories in the IDE that comes with it but it didn't help. I tryed deleting and reinstalling it but it still didn't work.
:
: Can anyone tell me what I'm doing wrong? I couldn't find anything in the documentation about it.

OpenGL, Tcl and Free Vision are packages. You need to install them of course and add them to the unit path of the compiler. What platform are you using?

On Win32 the Free Vision units are installed in FPC\2.0.0\units\i386-win32\fv , so you need to add that directory with -Fu to teh command line or config file.

Danil Mantione
Report
Re: a couple fpc 2.0.0 questions Posted by DrMarten on 24 May 2005 at 7:30 PM
: : I downloaded fpc 2.0.0 last night. It's been years since I've done pascal programming so these may be really dumb questions, if so I apologize. First off, the readme says to compile the hello.pas program in the \demo directory to make sure the compiler is working. There is no hello.pas nor is there a demo directory, there is an examples directory but it doesn't have it in there either. That's not a big deal though, I wrote my own and I was able to compile it just fine.
: :
: : The big problem is that I cannot get any of the example programs to compile. It can't find any of the libraries (opengl, tcl, free vision). The compiler set up a config file when I installed but it still doesn't see them. I've tryed putting the directories in the IDE that comes with it but it didn't help. I tryed deleting and reinstalling it but it still didn't work.
: :
: : Can anyone tell me what I'm doing wrong? I couldn't find anything in the documentation about it.
:
: OpenGL, Tcl and Free Vision are packages. You need to install them of course and add them to the unit path of the compiler. What platform are you using?
:
: On Win32 the Free Vision units are installed in FPC\2.0.0\units\i386-win32\fv , so you need to add that directory with -Fu to the command line or config file.
:
: Danil Mantione
:




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.