Gary Wardell 0 Posted July 17, 2020 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
Gary Wardell 0 Posted July 17, 2020 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
Lars Fosdal 1792 Posted July 20, 2020 ...ponders if he should guess what kind of error, but decides not to... Share this post Link to post
Gary Wardell 0 Posted July 20, 2020 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
Dave Nottage 557 Posted July 20, 2020 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
Gary Wardell 0 Posted July 20, 2020 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
Lars Fosdal 1792 Posted July 20, 2020 Details are important. Without accurate details, you might as well be posting "something is wrong". 1 Share this post Link to post
Gary Wardell 0 Posted July 20, 2020 (edited) 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 July 20, 2020 by Gary Wardell Share this post Link to post
Lars Fosdal 1792 Posted July 20, 2020 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
Gary Wardell 0 Posted July 20, 2020 Hi, Ok, I'll post that. Again, that is the default. Just a couple minutes. Gary Share this post Link to post
Lars Fosdal 1792 Posted July 20, 2020 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
Gary Wardell 0 Posted July 20, 2020 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
Lars Fosdal 1792 Posted July 20, 2020 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
Gary Wardell 0 Posted July 20, 2020 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