Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Wrong Propath for compilation #278

Open
rlvasconcellos opened this issue Feb 19, 2020 · 0 comments
Open

Wrong Propath for compilation #278

rlvasconcellos opened this issue Feb 19, 2020 · 0 comments

Comments

@rlvasconcellos
Copy link

rlvasconcellos commented Feb 19, 2020

Description of the Issue:
When compiling a source code (.p) from my source directory is not finding an include that is current in the same source directory. My code references the include as {include/include.i}, and it can´t be found during compilation. My source directory is "C:\temp\WorkArea\007321", and the program i´m trying to compile is "C:\temp\WorkArea\007321\program\program.p". My include is in the path "C:\temp\WorkArea\007321\include\include.i". I asume it should find de include for compilation.
Checking the propath 3P is using for compilation (found the file progress.propath) on my user\AppData directory, I could undertand why it is not finding my include: The propath is pointing to "C:\temp\WorkArea\007321\program" when it should be "C:\temp\WorkArea\007321" as it is configured in my source directory. Am I wrong?

Thanks

Steps to Reproduce the Issue:

  1. Set Source Directory as C:\Temp\WorkArea\007321
  2. Create a program C:\temp\WorkArea\007321\program\program.p
  3. Create an include C:\temp\WorkArea\007321\include\include.i
  4. Reference the include in the program as {include/include.i}
  5. Open file program.p in Notepad++
  6. Try to compile program.p

Expected Behavior:
No problem to compile the .P file and generate .R file

Actual Behavior:
Error during compilation. I was expecting the "source directory" would be the first directory in the propath for compilation, followed by the propath configured in the INI file.

Aclaration:
The images presented are just for exemplification, in reality I have configured a INI file for aditional propaths. The PROPATH in my INI file do have a directory that contains the include (my global repository of source codes), so no error is presented during compilation, but it compiles with a older version of the include, not the one I have in my "source directory".

Screenshots
screen1
screen2
screen3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant