SDK and SDL installation broken?

Have a question about our Software Developer Kit? Ask them here.
Post Reply
Reth
Beta Tester
Beta Tester
Posts: 47
Joined: Mon Jun 20, 2011 3:44 pm

SDK and SDL installation broken?

Post by Reth »

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
User avatar
Thematic
Posts: 41
Joined: Fri Jun 17, 2011 10:33 pm
Contact:

Re: SDK and SDL installation broken?

Post by Thematic »

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
Reth
Beta Tester
Beta Tester
Posts: 47
Joined: Mon Jun 20, 2011 3:44 pm

Re: SDK and SDL installation broken?

Post by Reth »

Thanks! Using gmake was a really helpful hint!
Post Reply