comp.lang.ada
 help / color / mirror / Atom feed
* After GNAT-GPS installation the Simple Game template won't run?
@ 2014-10-08 20:46 Dominic Hayes
  2014-10-11  6:12 ` Phil
  0 siblings, 1 reply; 5+ messages in thread
From: Dominic Hayes @ 2014-10-08 20:46 UTC (permalink / raw)


Greetings,
After the GNAT-GPS installation and creating a project  from the "simple game" template I get fallowing error message: "Programm can't be started because SDL_ttf.dll is missing...". Sadly google didn't help me and I'm pretty clue less since it's a fresh installation from GPS. Anybody have any ideas?

My System: Windows 8.1
GNAT: gnat-gpl-2014-x86-windows-bin.exe (have tryed reinstallation)

P.S. If I run the programm with right click and CPU built in or dedicated GPU I don't get an error message put it still won't open a window. Also tryed runing under compatabilty mode (win7).


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: After GNAT-GPS installation the Simple Game template won't run?
  2014-10-08 20:46 After GNAT-GPS installation the Simple Game template won't run? Dominic Hayes
@ 2014-10-11  6:12 ` Phil
  2014-10-11 15:08   ` Simon Wright
  0 siblings, 1 reply; 5+ messages in thread
From: Phil @ 2014-10-11  6:12 UTC (permalink / raw)



> After the GNAT-GPS installation and creating a project  from the "simple
> game" template I get fallowing error message: "Programm can't be started
> because SDL_ttf.dll is missing...". Sadly google didn't help me and I'm
> pretty clue less since it's a fresh installation from GPS.

I have had a similar problem in the last few weeks.
On Windows 7 I have the same SDL_ttf.dll problem. I did find this dll on 
the internet, but the folder I tried to place it in did not solve the 
problem.

On Windows XP no joy, possibly different reasons. 

When I have access to my system I will post the details.

If one of us finds a solution, we should post it here to help the other, 
no? :)


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: After GNAT-GPS installation the Simple Game template won't run?
  2014-10-11  6:12 ` Phil
@ 2014-10-11 15:08   ` Simon Wright
  2014-10-13 15:05     ` Dominic Hayes
  0 siblings, 1 reply; 5+ messages in thread
From: Simon Wright @ 2014-10-11 15:08 UTC (permalink / raw)


Phil <dr.kazino@gmail.com> writes:

>> After the GNAT-GPS installation and creating a project from the
>> "simple game" template I get fallowing error message: "Programm can't
>> be started because SDL_ttf.dll is missing...". Sadly google didn't
>> help me and I'm pretty clue less since it's a fresh installation from
>> GPS.
>
> I have had a similar problem in the last few weeks.  On Windows 7 I
> have the same SDL_ttf.dll problem. I did find this dll on the
> internet, but the folder I tried to place it in did not solve the
> problem.

Apparently when you're running a program within GPS it runs in the
directory where the GPR (GNAT Project) file is located; so that'd be
where SDL_tff.dll would need to be. (OP wrote SDL_ttf.dll, my searches
indicated SDL_tff.dll - ?)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: After GNAT-GPS installation the Simple Game template won't run?
  2014-10-11 15:08   ` Simon Wright
@ 2014-10-13 15:05     ` Dominic Hayes
  2014-10-14  8:12       ` Phil
  0 siblings, 1 reply; 5+ messages in thread
From: Dominic Hayes @ 2014-10-13 15:05 UTC (permalink / raw)


Ja, that's correct :)

Another workaround is by copy the file from
<GNAT>/lib/SDL_ttf.dll to <GNAT>/bin/SLD_ttf.dll

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: After GNAT-GPS installation the Simple Game template won't run?
  2014-10-13 15:05     ` Dominic Hayes
@ 2014-10-14  8:12       ` Phil
  0 siblings, 0 replies; 5+ messages in thread
From: Phil @ 2014-10-14  8:12 UTC (permalink / raw)


On Mon, 13 Oct 2014 08:05:26 -0700, Dominic Hayes wrote:

> Ja, that's correct :)
> 
> Another workaround is by copy the file from <GNAT>/lib/SDL_ttf.dll to
> <GNAT>/bin/SLD_ttf.dll

Thanks, the workaround worked perfectly!

I assume the real solution is to set the path to include this <GNAT>/lib/ 
directory. I have a Russian version of windows 7 and so that is not 
easy....

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-10-14  8:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-08 20:46 After GNAT-GPS installation the Simple Game template won't run? Dominic Hayes
2014-10-11  6:12 ` Phil
2014-10-11 15:08   ` Simon Wright
2014-10-13 15:05     ` Dominic Hayes
2014-10-14  8:12       ` Phil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox