PDA

View Full Version : File not found: SDL.DCU



Wizard
20-02-2008, 09:59 AM
Hi, I installed the latest version of Jedi-Sdl on my machine but when I try to compile any of the demos etc. with Delphi 6 I get the error "File not found: SDL.DCU".

I can see that everything is setup in the Library paths of Delphi 6. Help please :-)

savage
20-02-2008, 11:55 AM
Is it definitely pointing to the SDL/Pas directory? Can you post a screen shot of your library path?

Wizard
20-02-2008, 12:29 PM
http://www.postimage.org/Pq1zcMKJ.jpg (http://www.postimage.org/image.php?v=Pq1zcMKJ)

What I do see is that there is no JEDI-SDL\Runtimes\ directory in the release I downloaded. In the getting started file it talks about copying dll's to the system directory.

savage
20-02-2008, 02:02 PM
The run-times are the SDL DLLs. I stopped shipping them with the JEDI-SDL release as they get updated too often. If you don't have these, you'll need them before running any demos.

With that library path, it should just pick up the sdl.pas file and compile.

Would I be right in saying you ran the installer?
And that you are using the latest version RC from SourceForge?

Wizard
21-02-2008, 07:07 AM
I downloaded the installer yes and it's the latest version from SourceForge. I found the dll and after copying it to the system directory I was able to compile most of the demos. Thanks!

Some demos doesn't seem to work, like the 2d Aliens...see screenshot attached: It sais it can't find sdl_mixer.dll. Is this a further / seperate dll that I have to search for on the net? The lib path is correct.

http://www.postimage.org/aV2c0fPr.jpg (http://www.postimage.org/image.php?v=aV2c0fPr)

savage
21-02-2008, 08:05 AM
SDL is made up of several sub-systems. SDL.dll is the core and supports the basics of everything. ie loading BMPs or WAVs, but if you want slightly fancier functionality you need to get the other sub-systems. They include
SDL_mixer, SDL_Image, SDL_Net, SDL_ttf, smpeg ( this is usually bundled with SDL_mixer )

Have a look at this link
http://www.libsdl.org/libraries.php?order=name&category=-1&completed=0&os=-1&match_name=SDL_&perpage=50

and you should find links to the above dlls. The idea is to give the developer a fair amount of flexibility.

I hope this helps.

Wizard
21-02-2008, 08:27 AM
Ok, now I understand. You simply grab whatever DLL's you need from the link you posted.

Thanks for your help :-)