0

Have installed trial version of Delphi 2010, and hoped to get a look at DeHL.

There must be something that I have missed out on, though, cause I can't find out how to include any of the units without getting a 'file not found'-error at compile time...

What I have done, is to include the path to the pas-files in the projects 'Include file search path'. I also tried to build with packages, but it couldn't find the DeHL-package. I also tried to include the bin-path where all of DeHLs dcu-files are, but no result.

Any ideas?

Vegar
  • 12,828
  • 16
  • 85
  • 151

1 Answers1

0

Maybe you have not included source file paths to the library path list. To do so:

  • Go to Tools>Options>Environment Options>Delphi Options>Library-Win32
  • Add DeHL's src (and all sub folders) to the library path list

also

  • Included paths to Compiler Options>Search Paths of the project works as well.
idursun
  • 6,261
  • 1
  • 37
  • 51
  • As told in the question, I have included the paths in the projects search path. Shouldn't that be enough? I will try to include it in the global library path too, just in case, but generally, I want all search paths to remain in the project for easier porting to other development boxes. – Vegar Oct 09 '09 at 08:19
  • 1
    I think 'Include File Search Path option' applies to resource compiler. You should have included it to 'Compiler options> Search Paths' of the project. That works too. – idursun Oct 09 '09 at 08:40
  • Wow. I guess you're right. I included the paths in the resource compilers search path. Now, where is the 'accept comment as answer'-button? – Vegar Oct 12 '09 at 15:29