View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0027693||FPC||FCL||public||2015-03-19 15:16||2015-09-14 13:31|
|Reporter||freeman35||Assigned To||Marco van de Voort|
|Status||closed||Resolution||no change required|
|Summary||0027693: sockets.pp(20,5) Error: include file not found "osdefs.inc"|
In lazarus TLTCPComponent compileted and installed without error. when try code complied I get this error and project not compile.
|Tags||No tags attached.|
|Fixed in Revision|
||That's a configuration problem in your lazarus. Please ask for help on the fora or mailing lists.|
This is not a lazarus issue. The osdefs.inc files are in the RTL directory.
the sockets are in the rtl-extra directory.
When compiling rtl-extra, the compiler should not look for files in the rtl directory. Either the files are duplicated, or some other option must be found
(Personally, I think these files should not exist to begin with)
||The error he gets means that he's including the FPC source directories in his search path while building a Lazarus component. This means his configuration is wrong, as only the FPC ppu's should be in the search path. Building programs/units with the FPC unit sources in the search path has always caused problems, and probably always will (unless perhaps if we would make every possible source file name unique in the entire source tree, but I don't see the use of that).|
When I first checked, find didn't report any osdefs.inc.
Following your remark, I tried again, and indeed, these files have been duplicated. I must have made a typo in my first attempt.
Not my favourite solution, but indeed the problem is a user problem.
||(it's the same as in Delphi, the compiler searchpath should only find ppu/dcu's, and the browse path (for debugging, codetools, etc) should have the sources)|
|2015-03-19 15:16||freeman35||New Issue|
|2015-03-19 16:54||Jonas Maebe||Note Added: 0082110|
|2015-03-19 16:54||Jonas Maebe||Status||new => resolved|
|2015-03-19 16:54||Jonas Maebe||Resolution||open => no change required|
|2015-03-19 16:54||Jonas Maebe||Assigned To||=> Jonas Maebe|
|2015-03-21 10:28||Michael Van Canneyt||Assigned To||Jonas Maebe => Marco van de Voort|
|2015-03-21 10:28||Michael Van Canneyt||Status||resolved => assigned|
|2015-03-21 10:30||Michael Van Canneyt||Note Added: 0082155|
|2015-03-21 10:30||Michael Van Canneyt||Status||assigned => new|
|2015-03-21 11:05||Jonas Maebe||Note Added: 0082157|
|2015-03-21 11:21||Michael Van Canneyt||Note Added: 0082160|
|2015-03-21 11:21||Michael Van Canneyt||Status||new => resolved|
|2015-03-22 11:28||Marco van de Voort||Note Added: 0082182|
|2015-09-14 13:31||freeman35||Status||resolved => closed|