V2.50: Still {$I...} search path problems

Beta Testing discussion on mikroPascal PRO for PIC.
Post Reply
Author
Message
Dany
Posts: 3854
Joined: 18 Jun 2008 11:43
Location: Nieuwpoort, Belgium
Contact:

V2.50: Still {$I...} search path problems

#1 Post by Dany » 29 Jul 2009 20:32

Apparently the IDE does not find include files in the project directory if not the full path is specified. In the latter case the compiler searches the mP PRO installation directory for the include file in stead of the project directory.

e.g.:

Code: Select all

{$I "C:\PIC Projects PRO compiler\Prototyping\MMC Card Fat16\IncludeFile.txt"} // <---  this is ok

//{$I "IncludeFile.txt"} // <--- here ths file is not found (is located in "C:\PIC Projects PRO compiler\Prototyping\MMC Card Fat16" (= the project directory, which is present in the search paths)
The file to include was also added to the project manager.

So, would it be possible to let the compiler look first in the project directory (or simply follow the search path) in case no path for the included file is specified?

Thanks in advance! :D
Last edited by Dany on 02 Aug 2009 12:01, edited 5 times in total.
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)

Dany
Posts: 3854
Joined: 18 Jun 2008 11:43
Location: Nieuwpoort, Belgium
Contact:

#2 Post by Dany » 02 Aug 2009 11:51

Updated. :oops:
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)

User avatar
mileta.miletic
mikroElektronika team
Posts: 493
Joined: 05 Jun 2009 14:46
Location: Belgrade, Serbia
Contact:

#3 Post by mileta.miletic » 05 Aug 2009 17:15

Hi Dany,
Thanks for updating :)
Regards,
Mileta

User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

#4 Post by zristic » 07 Oct 2009 15:40

Fixed now, the updated version follows soon.
Thanks.

Dany
Posts: 3854
Joined: 18 Jun 2008 11:43
Location: Nieuwpoort, Belgium
Contact:

#5 Post by Dany » 07 Oct 2009 16:03

Thanks! :D
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)

Dany
Posts: 3854
Joined: 18 Jun 2008 11:43
Location: Nieuwpoort, Belgium
Contact:

#6 Post by Dany » 17 Oct 2009 21:22

Confirmed solved in mP v3.20. Thanks! :D :D
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)

Post Reply

Return to “mikroPascal PRO for PIC Beta Testing”