Recent

Author Topic: Get error "can't open include file xyz.inc"  (Read 4116 times)

MISV

  • Hero Member
  • *****
  • Posts: 792
Get error "can't open include file xyz.inc"
« on: August 26, 2014, 01:19:40 am »
The include file (here called xyz.inc - it contains my own compiler/platform defines I use for cross-platform/tool) that causes issues is actually located in a shared souirce directory.

(I already created a lazarus package for that entire directory also encompassing that include file which compiles fine and is installed.)

Here is what I have tried:
  • Added my shared-sourece package as a requirement in project inspector
  • In "Project options" | "Library files" added path to shared source directory
  • In "Project options" | "Oher unit files" to shared source directory

All solutions seem to fail? What am I doing wrong?

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Re: Get error "can't open include file xyz.inc"
« Reply #1 on: August 26, 2014, 02:27:07 am »
Try Project Options -> (node) Compiler Options -> (node) Paths -> (edit) Include Files (-Fi)
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

MISV

  • Hero Member
  • *****
  • Posts: 792
Re: Get error "can't open include file xyz.inc"
« Reply #2 on: August 26, 2014, 04:37:43 pm »
It works! Thanks! :)


 

TinyPortal © 2005-2018