SDL for WinCe lazarus / 35-Windows CE ---------------------------------------------------------------------- hammster12 · 2011-01-02 20:14 Hi All! I would like to use the SDL library but unfortunatelly I can't compile my test application. I get the following error messages: project1.lpr(22) Error: Undefined symbol: SDL__PUTENV$PCHAR$$LONGINT project1.lpr(22) Error: Undefined symbol: SDL_GETENV$PCHAR$$PCHAR project1.lpr(22) Fatal: There were 2 errors compiling module, stopping This is the sourecode that i would like to compile: Code: [Select]unit Unit1; {$mode objfpc}{$H+} interface uses   Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,   StdCtrls,sdl; type   { TForm1 }   TForm1 = class(TForm)     Button1: TButton;     procedure Button1Click(Sender: TObject);   private     { private declarations }   public     { public declarations }   end; var   Form1: TForm1; implementation { TForm1 } procedure TForm1.Button1Click(Sender: TObject); begin      form1.close; end; initialization   {$I unit1.lrs} end. What can be the problem? Could somebody show me a working example for SDL in WindowsCE? Thank you for your help in advance! ---------------------------------------------------------------------- Laksen · 2011-01-02 21:36 This looks like a bug in the dll import system for FPC Edit: Made a bug report for it: http://bugs.freepascal.org/view.php?id=18371 ---------------------------------------------------------------------- cyberhero · 2011-02-09 14:06 Please check this link, http://www.4shared.com/file/0A_-lRVT/SDL4WinCE.html The download includes the pascal headers and sdl.dll for wince. Good luck, Helmut ---------------------------------------------------------------------- Laksen · 2011-02-09 16:15 The problem should be fixed in FPC svn trunk now ---------------------------------------------------------------------- hammster12 · 2011-02-12 12:34 Thank you all very mutch for your help! I tried the sdl4wince and it's working! ---------------------------------------------------------------------- alex208210 · 2014-12-26 17:33 http://www.4shared.com/file/0A_-lRVT/SDL4WinCE.html  link not worked, Please place the file again