teesurfa
I have two projects that share the same file and it looks like all the paths are correct for the 2nd project that I added to the solution. Any places to check as to why I get this for the 2nd project (works fine for the 1st project and the error message is in the shared file)?
getting 'cannot resolve unit name'
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: getting 'cannot resolve unit name'
Hi dunion,
Can you successfully compile both projects separately? In that case you may want to try what was suggested in the following CodeGear/Embarcadero forums threads:
https://forums.embarcadero.com/thread.j ... eadID=7702
https://forums.codegear.com/thread.jspa ... eID=151476
Hope this helps!
Can you successfully compile both projects separately? In that case you may want to try what was suggested in the following CodeGear/Embarcadero forums threads:
https://forums.embarcadero.com/thread.j ... eadID=7702
https://forums.codegear.com/thread.jspa ... eID=151476
Hope this helps!
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: getting 'cannot resolve unit name'
Interesting. i get more red underlines of a mixed up IDE than before but one project builds. For the other I get "Unit TeeSurfa was compiled with a different version of TeEngine.TChartSeries". That sounds like some sort of path problem but it looks like the paths are all OK. I did a clean and build. Is there some ordering of the teechart units in the using I should look at?
Re: getting 'cannot resolve unit name'
I removed the paths to the teechart lib, bin, and inc folder from the 'working' project. Note that $(TEELIBPATH) was 'inherited'. I put back $(TEEINCPATH) only $(TEELIBPATH) still inheritied, reproduced the error with the other project. Put back all three, but because of duplication I had to manually browse to and put back explicit paths, and I put a '\' on the end of the path to the lib folder to make it not get removed as a duplicate. After testing a few path order options with (only) the lib path before the bin and include paths the building project builds again.
I duplicated that change in the other project and it also gets past that error.
So I'm all set, but FYI maybe there are conflicting versions in the 8.04 VCL version somewhere.
I duplicated that change in the other project and it also gets past that error.
So I'm all set, but FYI maybe there are conflicting versions in the 8.04 VCL version somewhere.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: getting 'cannot resolve unit name'
Hi dunion,
I'm glad to hear you sorted this out.
I'm glad to hear you sorted this out.
This indicates that your IDE was still referencing old version packages. You'll find several topics on this forums speaking about that.For the other I get "Unit TeeSurfa was compiled with a different version of TeEngine.TChartSeries".
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |