Jump to content
Gary Wardell

Help, I'm trying to move an application to Rio.

Recommended Posts

Hi,

 

I am moving an application to Rio from an earlier version of Delphi.

 

It used to build, but now it won't.

 

This is an Android build.

 

--------------------------------

Uses

  System.StartUpCopy, - [DCC Fatal Error] ChirpSR.dpr(4): Could not compile used unit 'System.StartUpCopy.pas'
  FMX.MobilePreview, - Cannot resolve unit name.
  FMX.Forms, - Cannot resolve unit name.
  FMX.Types, - Cannot resolve unit name.
  System.SysUtils, - Cannot resolve unit name.

--------------------------------

 

How do I resolve these issues?

 

Unfortunately I haven't used Delphi for a couple years, so I'm kind of rusty.

I also need to get a new build out rather soon.

 

Gary

 

Share this post


Link to post

I found the problem.  I had made a modification to the system file and put it in the App directory so the one being used was from the old version of Delphi.

 

I moved the file and not it compiles past that, and gets another error.

Share this post


Link to post
7 minutes ago, Lars Fosdal said:

...ponders if he should guess what kind of error, but decides not to...

Hi,

 

The error is listed above.

 

Like I said I got ride of the old system file and this error went away.

 

Now the issue is in my other question regarding very simple test program that won't compile.

 

Please take a look at that

 

Thank You.

 

Gary

Share this post


Link to post
22 minutes ago, Gary Wardell said:

Now the issue is in my other question regarding very simple test program that won't compile.

Does "other question" refer to your first post in this thread, or something else? If it's "something else", you don't appear to have provided any details as to what the errors are.

Share this post


Link to post

Hi,

 

The other question is the one I posted seven hours ago with the subject "Missing Files".

 

I copied and pasted the errors from the compile output log.

 

Basically, two flies with an FMX prefix are missing.

 

Gary

 

Share this post


Link to post

Details are important. Without accurate details, you might as well be posting "something is wrong".

  • Like 1

Share this post


Link to post

Hi,

 

What details do you want, besides the output log file.

 

Do you want a screen shot of the form?

 

As I said in the post I didn't add any code so whatever is there is the default code.

 

Btw, we are talking about the "files missing" post now, not this one.

 

Gary

Edited by Gary Wardell

Share this post


Link to post

The actual compiler output after your changes in the second post would be informative.

If they are just "cannot resolve" errors, you need to check your .dproj file for invalid paths

Share this post


Link to post

Are you able to compile a fresh new FMX project?

If you compare the project file between the old project and the new one, are there any discrepancies that stand out?

Share this post


Link to post

Good grief. There is a lot of stuff in that file. 1076 lines.

 

This is a new project.

 

I was trying to compile it before adding some things to test Fire base alerts.

 

I just posted it over there.

I don't see any obvious file paths.

 

Share this post


Link to post
Quote

I am moving an application to Rio from an earlier version of Delphi.

It used to build, but now it won't.

 

Quote

This is a new project.

 

7 minutes ago, Gary Wardell said:

I just posted it over there.

"over there"? Huh? What?

I give up.

Share this post


Link to post

Please don't give up.

It's in the post with the subject "files missing"

 

 

If you can help me I'll really appreciate it.

 

We probably should be exchanging comments in the other thread.

 

Ok, if anyone else reads this, this problem is resolved.

 

And Lars, the other error that showed up was about a media player so it wasn't related to Delphi so I didn't post it here.

 

Also I didn't see how to delete this thread, so I didn't.

 

Please, go over to my other question with the subject "Missing Files".

 

Gary

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×