Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Dose not compil


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 8 - Last Post: Oct 23, 2017 7:51 PM Last Post By: John Treder Threads: [ Previous | Next ]
Shlomo Abuisak

Posts: 100
Registered: 9/18/10
Dose not compil  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 23, 2017 10:00 AM
Delphi berlin wile compiling
[dcc32 Fatal Error] Project1.dpr(1): F1027 Unit not found: 'System' or binary equivalents (.dcu)

bds.exe -rtest here compilation workes

I have a hinch that option>librery changed since most components directories are gone.
I have a backup of my computer but i do not know which files have changes.

1.what are the files names used for librery ,or else, names.
2 Or beter when i do bds.exe -rtest where are those option file ?

Either way i need to know which file to bring from my backup

P.S i tried install it did not help (I do not want to uninstall)
Jeff Overcash (...

Posts: 1,529
Registered: 9/23/99
Re: Dose not compil  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 23, 2017 10:18 AM   in response to: Shlomo Abuisak in response to: Shlomo Abuisak
shlomo abuisak wrote:
Delphi berlin wile compiling
[dcc32 Fatal Error] Project1.dpr(1): F1027 Unit not found: 'System' or binary equivalents (.dcu)

bds.exe -rtest here compilation workes

I have a hinch that option>librery changed since most components directories are gone.
I have a backup of my computer but i do not know which files have changes.

1.what are the files names used for librery ,or else, names.
2 Or beter when i do bds.exe -rtest where are those option file ?

Either way i need to know which file to bring from my backup

P.S i tried install it did not help (I do not want to uninstall)

Often this happens by hitting the delete invalid paths from the library setup
dialog (namely it does not recognize the $(PLATFORM) variable even though you
are setting up paths based on platform). That button has never worked and has
always broken your Delphi installation.

Easiest was is to launch Delphi with the -f foo switch. This will create a
brand new registry entry with all the default values. You can then go to the
library path, copy off the default values and then relaunch Delphi normally and
fix the bad library path.

--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
Learning is finding out what you already know. Doing is demonstrating that you
know it. Teaching is reminding others that they know it as well as you. We are
all leaners, doers, teachers. (R Bach)
Shlomo Abuisak

Posts: 100
Registered: 9/18/10
Re: Dose not compil  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 23, 2017 10:48 AM   in response to: Jeff Overcash (... in response to: Jeff Overcash (...
On 23/10/2017 20:18, Jeff Overcash (TeamB) wrote:
shlomo abuisak wrote:
Delphi berlin wile compiling
[dcc32 Fatal Error] Project1.dpr(1): F1027 Unit not found: 'System' or binary equivalents (.dcu)

bds.exe -rtest here compilation workes

I have a hinch that option>librery changed since most components directories are gone.
I have a backup of my computer but i do not know which files have changes.

1.what are the files names used for librery ,or else, names.
2 Or beter when i do bds.exe -rtest where are those option file ?

Either way i need to know which file to bring from my backup

P.S i tried install it did not help (I do not want to uninstall)

Often this happens by hitting the delete invalid paths from the library setup
dialog (namely it does not recognize the $(PLATFORM) variable even though you
are setting up paths based on platform). That button has never worked and has
always broken your Delphi installation.

Easiest was is to launch Delphi with the -f foo switch. This will create a
brand new registry entry with all the default values. You can then go to the
library path, copy off the default values and then relaunch Delphi normally and
fix the bad library path.
1. could not find explanation of -f on
http://docwiki.embarcadero.com/RADStudio/Tokyo/en/IDE_Command_Line_Switches_and_Options
2. will this keep all my components ?
3. just write bds-exe -f ?
4. copy off the default values what dose this mean?
all i have to do is put all my components directory back?
thanks
Jeff Overcash (...

Posts: 1,529
Registered: 9/23/99
Re: Dose not compil  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 23, 2017 11:18 AM   in response to: Shlomo Abuisak in response to: Shlomo Abuisak
shlomo abuisak wrote:

Look more closely in the General options there is

-r regkey

2. will this keep all my components ?

It creates a brand new registry entry will all the defaults. This registry does
not have your components, but you normal registry still does and launching
without the -r switch jsut goes back to your default registry entry.

3. just write bds-exe -f ?

yes bds.exe -r foo

foo can be any name. It is jsut a named registry entry you want to use. If
that entry does not exist it will be created with the base defaults.

4. copy off the default values what dose this mean?

Go into tools | options to the library path and copy the values. Then put those
values into your normal setup (iow launch without the -r option).

all i have to do is put all my components directory back?
thanks

Shouldn't need that, you are jsut trying to get the defaults to put back in, you
aren't going to use the foo registry entry forever just long enough to find the
defaults so you can get you normal setup working.

--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
Learning is finding out what you already know. Doing is demonstrating that you
know it. Teaching is reminding others that they know it as well as you. We are
all leaners, doers, teachers. (R Bach)

Shlomo Abuisak

Posts: 100
Registered: 9/18/10
Re: Dose not compil  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 23, 2017 11:41 AM   in response to: Jeff Overcash (... in response to: Jeff Overcash (...
On 23/10/2017 21:18, Jeff Overcash (TeamB) wrote:
shlomo abuisak wrote:

Look more closely in the General options there is

-r regkey

2. will this keep all my components ?

It creates a brand new registry entry will all the defaults. This registry does
not have your components, but you normal registry still does and launching
without the -r switch jsut goes back to your default registry entry.

3. just write bds-exe -f ?

yes bds.exe -r foo

foo can be any name. It is jsut a named registry entry you want to use. If
that entry does not exist it will be created with the base defaults.

4. copy off the default values what dose this mean?

Go into tools | options to the library path and copy the values. Then put those
values into your normal setup (iow launch without the -r option).

all i have to do is put all my components directory back?
thanks

Shouldn't need that, you are jsut trying to get the defaults to put back in, you
aren't going to use the foo registry entry forever just long enough to find the
defaults so you can get you normal setup working.


Since i am a pro 20 odd years with Delphi my problems are hard. I hop not.
1. After executing bds.exe -rtest i went to registry and exported 2
files.one with the name test the other the normal under 18.0 and
compared them. They are same except for some icons at the end.
Then i executed bds.exe -rtest AND!! bds.exe and compared tools options
environment variables SAME. then went to tools >options
Delphi>options>library and made sure they are the same.

Am i missing some thing ?
I remember Delphi 6,7 days you cannot put too many directories in library
IT WILL MAKE SOME THING SIMILAR !!! could not find system.

I am getting back to my first question.
I have backup my system. WHICH FILES can i copy from the back up.?
Register seem to be OK.
Shlomo Abuisak

Posts: 100
Registered: 9/18/10
Re: Dose not compil  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 23, 2017 11:55 AM   in response to: Jeff Overcash (... in response to: Jeff Overcash (...
On 23/10/2017 21:18, Jeff Overcash (TeamB) wrote:
shlomo abuisak wrote:

Look more closely in the General options there is

-r regkey

2. will this keep all my components ?

It creates a brand new registry entry will all the defaults. This registry does
not have your components, but you normal registry still does and launching
without the -r switch jsut goes back to your default registry entry.

3. just write bds-exe -f ?

yes bds.exe -r foo

foo can be any name. It is jsut a named registry entry you want to use. If
that entry does not exist it will be created with the base defaults.

4. copy off the default values what dose this mean?

Go into tools | options to the library path and copy the values. Then put those
values into your normal setup (iow launch without the -r option).

all i have to do is put all my components directory back?
thanks

Shouldn't need that, you are jsut trying to get the defaults to put back in, you
aren't going to use the foo registry entry forever just long enough to find the
defaults so you can get you normal setup working.


My be one more thing can help
Under library there where a many components directories.
Now there are just a few.
If i could bring back the file that hold the library links
It mite help. and i cannot delete in library any gray path i get kind of
error.
Shlomo Abuisak

Posts: 100
Registered: 9/18/10
Re: Dose not compil  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 23, 2017 11:04 AM   in response to: Jeff Overcash (... in response to: Jeff Overcash (...
On 23/10/2017 20:18, Jeff Overcash (TeamB) wrote:
shlomo abuisak wrote:
Delphi berlin wile compiling
[dcc32 Fatal Error] Project1.dpr(1): F1027 Unit not found: 'System' or binary equivalents (.dcu)

bds.exe -rtest here compilation workes

I have a hinch that option>librery changed since most components directories are gone.
I have a backup of my computer but i do not know which files have changes.

1.what are the files names used for librery ,or else, names.
2 Or beter when i do bds.exe -rtest where are those option file ?

Either way i need to know which file to bring from my backup

P.S i tried install it did not help (I do not want to uninstall)

Often this happens by hitting the delete invalid paths from the library setup
dialog (namely it does not recognize the $(PLATFORM) variable even though you
are setting up paths based on platform). That button has never worked and has
always broken your Delphi installation.

Easiest was is to launch Delphi with the -f foo switch. This will create a
brand new registry entry with all the default values. You can then go to the
library path, copy off the default values and then relaunch Delphi normally and
fix the bad library path.
I tried bds.exe -f and bds.exe -f foo neither did nothing.
It loaded normally. I am stack.
Shlomo Abuisak

Posts: 100
Registered: 9/18/10
Re: Dose not compil  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 23, 2017 3:44 PM   in response to: Jeff Overcash (... in response to: Jeff Overcash (...
On 23/10/2017 20:18, Jeff Overcash (TeamB) wrote:
shlomo abuisak wrote:
Delphi berlin wile compiling
[dcc32 Fatal Error] Project1.dpr(1): F1027 Unit not found: 'System' or binary equivalents (.dcu)

bds.exe -rtest here compilation workes

I have a hinch that option>librery changed since most components directories are gone.
I have a backup of my computer but i do not know which files have changes.

1.what are the files names used for librery ,or else, names.
2 Or beter when i do bds.exe -rtest where are those option file ?

Either way i need to know which file to bring from my backup

P.S i tried install it did not help (I do not want to uninstall)

Often this happens by hitting the delete invalid paths from the library setup
dialog (namely it does not recognize the $(PLATFORM) variable even though you
are setting up paths based on platform). That button has never worked and has
always broken your Delphi installation.

Easiest was is to launch Delphi with the -f foo switch. This will create a
brand new registry entry with all the default values. You can then go to the
library path, copy off the default values and then relaunch Delphi normally and
fix the bad library path.
I hop it will help someone for what i did.
See https://plus.google.com/+shlomoabuisak/posts/PaSK8uJwS34
John Treder

Posts: 349
Registered: 8/2/02
Re: Dose not compil  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 23, 2017 7:51 PM   in response to: Shlomo Abuisak in response to: Shlomo Abuisak
shlomo abuisak wrote:

On 23/10/2017 20:18, Jeff Overcash (TeamB) wrote:
shlomo abuisak wrote:
Delphi berlin wile compiling
[dcc32 Fatal Error] Project1.dpr(1): F1027 Unit not found: 'System' or binary equivalents (.dcu)

bds.exe -rtest here compilation workes

I have a hinch that option>librery changed since most components directories are gone.
I have a backup of my computer but i do not know which files have changes.

1.what are the files names used for librery ,or else, names.
2 Or beter when i do bds.exe -rtest where are those option file ?

Either way i need to know which file to bring from my backup

P.S i tried install it did not help (I do not want to uninstall)

Often this happens by hitting the delete invalid paths from the library setup
dialog (namely it does not recognize the $(PLATFORM) variable even though you
are setting up paths based on platform). That button has never worked and has
always broken your Delphi installation.

Easiest was is to launch Delphi with the -f foo switch. This will create a
brand new registry entry with all the default values. You can then go to the
library path, copy off the default values and then relaunch Delphi normally and
fix the bad library path.
I hop it will help someone for what i did.
See https://plus.google.com/+shlomoabuisak/posts/PaSK8uJwS34

Launch Delph with the -R foo switch (Use lower case r.) I think Jeff may have had a typo.

--
don't Tred on me
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02