SDK and SDL installation broken?

Have a question about our Software Developer Kit? Ask them here.

SDK and SDL installation broken?

Postby Reth » Sun Jan 06, 2013 6:30 pm

Hi everybody and a very happy new year!

Currently I'm struggling with my SDK and SDL installations while trying to port some source (from Gigalomania).
First thing: Inside makefile there is following embedded command when calling g++: `sdl-config --libs`.
When trying to run make from Amiga Shell (or from within Codebench) it states that it cannot find command sdl-config.
Well it is right since the paths where sdl-config resides (here inside: SDK:bin as well as inside SDK:local/newlib/bin and SDK:local/clibs2/bin) are not part of the DOS path.
I checked SDL installation files there is nothing mentioned where appropriate path extensions are done.

But as soon as I start a sh I can flawlessly run sdl-config from there so it is part of the search path for sh environment which can be seen by just entering env:
...
PATH=.../gcc/bin:/SDK/C:/SDK/Local/C:/SDK/Local/newlib/bin:/SDK/Local/clib2/bin:/...
...

Now question is: Is this a correct setting or is my SDK installation broken/messed up? Or do I just need to extend my Amiga Shell paths by the parts existent in sh-path but not in Amiga-Shell path?

If there are additional information necessary please let me know, I can post it here!

Many thanks in advance and

Best Regards
Reth
Beta Tester
Beta Tester
 
Posts: 35
Joined: Mon Jun 20, 2011 4:44 pm

Re: SDK and SDL installation broken?

Postby Thematic » Sun Jan 06, 2013 11:02 pm

There does not need to be anything wrong. You should use gmake for any work where non-native paths are encountered during building.
* AmigaOneXE 750FX 512+0 MB RAM, Radeon 9200, sii3112ide, DVDRW ~ AmigaOS 4.1 Final
User avatar
Thematic
 
Posts: 39
Joined: Fri Jun 17, 2011 11:33 pm

Re: SDK and SDL installation broken?

Postby Reth » Thu Jan 17, 2013 11:16 pm

Thanks! Using gmake was a really helpful hint!
Reth
Beta Tester
Beta Tester
 
Posts: 35
Joined: Mon Jun 20, 2011 4:44 pm


Return to SDK Support

Who is online

Users browsing this forum: No registered users and 1 guest