Menu

Compile with last fpc version on Linux

Help
2005-01-29
2013-04-08
  • Nobody/Anonymous

    Just found lptk, I tried to compile tests and apps with the last version of fpc (1.9.6), and none of these could succeed.
    In tests, ./buildd.bat lptk gives : "Can't find unit lptkmain", which really does not exist but is referred to in the uses clause.
    In apps, it gives, among others : "gfxdialogs.pas(228,47) Error: Variable identifier expected", and stops on fatal error.
    I did not try on Windows, but I would still like to see what can be done with this toolkit.

     
    • Nobody/Anonymous

      This is just an addition to my post.
      It seems that fpc does not require the @ which was in an IFDEF    FPC clause.
      I tried to remove it, and it compiles. But then while linking, a new error occurs : "/usr/bin/ld: cannot find - lodbc"
      Anybody can tell me what to do ?

       
    • Nobody/Anonymous

      linux doesn't have odbc installed by default

       
    • Fredy BackSlash

      Fredy BackSlash - 2008-01-08

      apt-get install unixodbc-dev
      will help

       

Log in to post a comment.