Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to build Platinum UPnP stack with Android NDK?
    primarykey
    data
    text
    <p>I have a problem with building the Platinum UPnP stack with Android NDK on MacOSX 10.6.5.</p> <p>I've downloaded the latest version of Android NDK for Mac from <a href="http://dl.google.com/android/ndk/android-ndk-r5-darwin-x86.tar.bz2" rel="nofollow">here</a>, installed SCons (for building) and downloaded the latest version of Platinum form their website.</p> <p>Than I setup the ANDROID_NDK_HOME to my NDK root directory and tried to build:<br> <em>scons -Q target=arm-android-linux</em> and I got the following error:</p> <blockquote> <p>(...) Exception: ANDROID NDK not configured, use host-setup.sh to configure it: (...)</p> </blockquote> <p>The problem is that this file got removed from the Android NDK according to the documentation:</p> <blockquote> <p>Previous releases required you to run the 'build/host-setup.sh' script to configure the NDK. However, this step has been removed in release 4.</p> </blockquote> <p>And now I'm kinda stuck and don't know how to solve this issue.</p> <p>UPDATE:</p> <p>I've downloaded the NDK r3 (the last one with the missing file) and configured it with host-setup.sh</p> <p>But when I try to build the target, it runs for some time and then crashes on:</p> <pre> Build/Targets/arm-android-linux/Debug/Source/Tests/FileMediaServer/FileMediaServerTest.o: In function `main': /Users/darkh/Platinum-SRC-0-6-3_683/Platinum/Source/Tests/FileMediaServer/FileMediaServerTest.cpp:153: warning: warning: gets() is very unsafe; consider using fgets() Build/Targets/arm-android-linux/Debug/libPltMediaServer.a(PltMediaItem.o): In function `PLT_MediaItem::DynamicCast(void const*)': PltMediaItem.cpp:(.text._ZN13PLT_MediaItem11DynamicCastEPKv[PLT_MediaItem::DynamicCast(void const*)]+0x5c): undefined reference to `PLT_MediaItem::_class_PLT_MediaItem' Build/Targets/arm-android-linux/Debug/libPltMediaServer.a(PltMediaItem.o): In function `PLT_MediaContainer::DynamicCast(void const*)': PltMediaItem.cpp:(.text._ZN18PLT_MediaContainer11DynamicCastEPKv[PLT_MediaContainer::DynamicCast(void const*)]+0x5c): undefined reference to `PLT_MediaContainer::_class_PLT_MediaContainer' collect2: ld returned 1 exit status scons: *** [Build/Targets/arm-android-linux/Debug/FileMediaServerTest] Error 1 </pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload