AS6 remembers OLD files???

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I had imported a project into AS6 from AS4.

2 of the files in the project had not been used (GLCD driver files) for a while and I had done several changes to the current version files.

So I fixed them on another computer with AS4 and then copied the files into AS6, same directory overwriting the old files.

Spend quite some time trying to recompile the project but Studio kept on insisting that the new or renamed functions did not exist even though I could see them inside the new files which were now part of the "solution" (I hate that word).

The only way to fix things was just to delete everything inside the project folder and re-import the project into the same folder, then I only had to add a single const to some data in flash.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Could the file references have been links to other files rather than the copies actually in that directory?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It sounds very much like your new source files were still older than the last objects produced. i.e. there was no need for Make to compile the files.

It is always wise to "make clean". Especially if you are fiddling around with the filesystem.

AS6 is guaranteed to give you nightmares. If you follow its default behaviour, you will end up with multiple "common" source files. Edit one of these "common" files in project A, and you have to duplicate exactly the same edits across every project that contains this "common" file.

David.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

All files for the project are in 1 directory.

The new files I added to the project/solution (after having removed the older one from the project/solution) were 1 day newer.

I "Clean"ed both the solution and the project, tried rebuild all for both, in fact I always pretty much clean and rebuild every few times.

The files are ONLY in 1 project.

In AS6 folders I have 3 test ASM projects and 2 test C projects (led flasher and the GLCD one), everything else is in the AS4 folder.

The 2 files in question were copied from the updated and working project in the AS4 folder.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly