Recent

Author Topic: FCL-net Example won't compile.  (Read 3151 times)

jc99

  • Hero Member
  • *****
  • Posts: 553
    • My private Site
FCL-net Example won't compile.
« on: March 06, 2016, 12:40:58 am »
I was looking for a more rudimental solution for net-related programs.
So I found the FCL, especially FCL-net & FCL-web.
To learn about the components there are examples included.
But when trying testnet.pp (from fpc\trunk\packages\fcl-net\examples) it won't compile on win64.

netdb.pp(173,4) Fatal: Kann BaseUnix nicht finden verwendet von netdb. // en: Cannot find ... used by ...


at: <trunk>\packages\fcl-net\src\netdb.pp (line 173)
Code: [Select]

Implementation

uses
   BaseUnix, // <-----------------------
   sysutils;


const

Just plain BaseUnix, so netdb only compiles for Unix-systems. But wait, testnet also uses sockets.pp which unconditionally uses winsock2 (*)

So here are my Questions:
Is this the right place to ask about FCL ?
How did that ever go together ? (see *)
Is it a bug ?
How about a testsuite to test the examples ?
And how about some Visual-Components so that FCL-Gems can be more easyly used in Lazarus ? (I'd volunteer with some help)
« Last Edit: March 06, 2016, 12:44:36 am by jc99 »
OS: Win XP x64, Win 7, Win 7 x64, Win 10, Win 10 x64, Suse Linux 13.2
Laz: 1.4 - 1.8.4, 2.0
https://github.com/joecare99/public
'~|    /''
,_|oe \_,are
If you want to do something for the environment: Twitter: #reduceCO2 or
https://www.betterplace.me/klimawandel-stoppen-co-ueber-preis-reduzieren

 

TinyPortal © 2005-2018