Recent

Author Topic: Problem using Freepascal  (Read 6108 times)

x0r

  • New member
  • *
  • Posts: 6
Problem using Freepascal
« on: February 23, 2005, 12:12:13 pm »
hmm, i have problem when using freepascal,i cann't compile any program even 3 lines of simple code!
always got this error :
Code: [Select]

Fatal: Can't find unit System
Error: Error during compilation

on freepascal community i see plenty of peeps got this problem,some peeps tell to reconfigure my path to units dir,i have try that,i opened fp.cfg and found 3 path to unit dir,
original setting:
Code: [Select]

-Fuc:\pp\units\$FPCTARGET
-Fuc\pp\units\$FPCTARGET\*
-Fuc:\pp\units\$FPCTARGET\rtl


Edited to :
Code: [Select]

-Fuc:\pp\units\i386-win32
-Fuc:\pp\units\i386-win32\*
-Fuc:\pp\units\i386-win32\rtl


guess what? still doesn't work!,i tried with next config file 'fpc.cfg"
original setting:
Code: [Select]

-Fuc:\pp/units/$FPCTARGET
-Fuc:\pp/units/$FPCTARGET/*
-Fuc:\pp/units/$FPCTARGET/rtl


Edited to :
Code: [Select]

-Fuc:\pp/units/i386-win32
-Fuc:\pp/units/i386-win32/*
-Fuc:\pp/units/i386-win32/rtl


not working again,i have reposted this problem in freepascal it seem no one answer the question,any solution for this?pls help

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Problem using Freepascal
« Reply #1 on: February 24, 2005, 10:33:48 am »
How did you install freepascal?

How do you compile your program (from the command line or from within lazarus)?

x0r

  • New member
  • *
  • Posts: 6
Problem using Freepascal
« Reply #2 on: February 24, 2005, 11:51:20 am »
1. using official installer
2. from choosing run submenu

btw iam using freepascal for win32

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Problem using Freepascal
« Reply #3 on: February 24, 2005, 12:03:35 pm »
offical fpc 1.0.10 installer, official fpc 1.9.6 installer, official lazarus installer?

x0r

  • New member
  • *
  • Posts: 6
Problem using Freepascal
« Reply #4 on: February 24, 2005, 12:35:10 pm »
Official Freepascal1.96,1.97(snapshot),all affected :(

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Problem using Freepascal
« Reply #5 on: February 24, 2005, 12:44:18 pm »
Sorry, I can't help you further. I only know how to configure the command line compiler and the lazarus ide, not the free pascal ide.

x0r

  • New member
  • *
  • Posts: 6
Problem using Freepascal
« Reply #6 on: February 24, 2005, 03:28:21 pm »
anyone can help?

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Problem using Freepascal
« Reply #7 on: February 24, 2005, 03:39:48 pm »
My recomendation:
Use lazarus or compile from the command line.

If you really want to use the free pascal IDE, write for help to the fpc-pascal mailing list, since very little people on the forums on this site use the free pascal IDE.

 

TinyPortal © 2005-2018