Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » SDL sample needs *.dll
Re: SDL sample needs *.dll [message #14916 is a reply to message #14908] Wed, 19 March 2008 20:46 Go to previous message
amando1957 is currently offline  amando1957
Messages: 57
Registered: November 2007
Location: Wien/Vienna/Viden
Member
Hello James, Hello Matthias,

Its RUNNING now!!
1
I have added the pathes recommended, got the OK (hmmm...).
RETURN:
Windows-message "SDL-dll not found" at several
pathes, among them "C:/winnt/system32/" (The one entered in "package organizer" not to see at the MessageBox).


2
I have copied the SDL.dll then to
C:\WINNT\system32

(also for future projects). As it resides there it might go even without the pathes.
RETURN:
runs fine, Smile

It should do a good job to copy my current *.upp, for convenience:

description "SDL demo example";

uses
	Core;

library(MSC) "SDL SDLmain";

library(GCC WIN32) "C:/upp/sdl/lib/SDL.dll SDLmain";

library(LINUX) "SDL SDLmain";

library(FREEBSD) "SDL SDLmain X11 Xext Xrandr Xrender vga vgl aa usbhid ncurses";

options(WIN32) -IC:\upp\sdl\include;

link(GCC WIN32) -LC:/upp/sdl/lib;

link(MSC) -LIBPATH"C:/upp/sdl/lib";

file
	main.cpp;

mainconfig
	"" = "";


@Matthias:
have done it with the tips of James already.
Many thanks to all.

kind greets
amando


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Strange breakpoint problem
Next Topic: Help!!! How to compiling src (upp-2007.1.tar.gz) in the LINUX
Goto Forum:
  


Current Time: Fri Aug 29 10:57:25 CEST 2025

Total time taken to generate the page: 0.04496 seconds