Boost-for-Android icon indicating copy to clipboard operation
Boost-for-Android copied to clipboard

Does not compile with ndk8b

Open ghost opened this issue 13 years ago • 8 comments

With the latest version of the ndk, the script does not yet work. The standard compiler was changed to be 4.6 - the script does not yet take that into account.

ghost avatar Aug 30 '12 13:08 ghost

I will do the as soon as possible.

moritz-wundke avatar Sep 13 '12 10:09 moritz-wundke

You need to update the script build-android.sh like this:

        8)
-               CXXPATH=$AndroidNDKRoot/toolchains/arm-linux-androideabi-4.4.3/prebuilt/$Platfrom/bin/arm-linux-androideabi-g++
+               CXXPATH=$AndroidNDKRoot/toolchains/arm-linux-androideabi-4.6/prebuilt/$Platfrom/bin/arm-linux-androideabi-g++
                CXXFLAGS="-I$AndroidNDKRoot/platforms/android-9/arch-arm/usr/include \
-                               -I$AndroidNDKRoot/sources/cxx-stl/gnu-libstdc++/include \
-                               -I$AndroidNDKRoot/sources/cxx-stl/gnu-libstdc++/libs/armeabi/include"
+                               -I$AndroidNDKRoot/sources/cxx-stl/gnu-libstdc++/4.6/include \
+                               -I$AndroidNDKRoot/sources/cxx-stl/gnu-libstdc++/4.6/libs/armeabi/include"

ghost avatar Oct 23 '12 00:10 ghost

I will have a look at the change-set as soon as possible. Thx for the work!!

Cheers, Moss

On Tue, Oct 23, 2012 at 2:24 AM, tsug [email protected] wrote:

You need to update the script build-android.sh like this:

    8)
  •           CXXPATH=$AndroidNDKRoot/toolchains/arm-linux-androideabi-4.4.3/prebuilt/$Platfrom/bin/arm-linux-androideabi-g++
    
  •           CXXPATH=$AndroidNDKRoot/toolchains/arm-linux-androideabi-4.6/prebuilt/$Platfrom/bin/arm-linux-androideabi-g++
            CXXFLAGS="-I$AndroidNDKRoot/platforms/android-9/arch-arm/usr/include -                               -I$AndroidNDKRoot/sources/cxx-stl/gnu-libstdc++/include -                               -I$AndroidNDKRoot/sources/cxx-stl/gnu-libstdc++/libs/armeabi/include"
    
  •                           -I$AndroidNDKRoot/sources/cxx-stl/gnu-libstdc++/4.6/include \
    
  •                           -I$AndroidNDKRoot/sources/cxx-stl/gnu-libstdc++/4.6/libs/armeabi/include"
    

    — Reply to this email directly or view it on GitHubhttps://github.com/MysticTreeGames/Boost-for-Android/issues/13#issuecomment-9685877.

Moritz Wundke www.MysticTreeGames.com www.DarkCultureGames.com http://www.darkculturegames.com/

moritz-wundke avatar Oct 23 '12 09:10 moritz-wundke

No worries, thank you for the harder work :)

ghost avatar Oct 23 '12 21:10 ghost

Confimed, the modification by tsug fixes building on ndk-8b, please apply :-)

bk138 avatar Oct 24 '12 11:10 bk138

Ok nice to here it :D. Ill integrate the changes in the main branch as soon as possible. Again thx :D

Cheers, Moss

On Wed, Oct 24, 2012 at 1:58 PM, Christian Beier [email protected]:

Confimed, the modification by tsug fixes building on ndk-8b, please apply :-)

— Reply to this email directly or view it on GitHubhttps://github.com/MysticTreeGames/Boost-for-Android/issues/13#issuecomment-9736643.

Moritz Wundke www.MysticTreeGames.com www.DarkCultureGames.com http://www.darkculturegames.com/

moritz-wundke avatar Oct 24 '12 14:10 moritz-wundke

I fixed it in Pull Request/Issue #15.

ghost avatar Nov 12 '12 11:11 ghost

Cool, I'll check it once I'm at home :D

On Mon, Nov 12, 2012 at 12:14 PM, LCID Fire [email protected]:

I fixed it in Issue 15.

— Reply to this email directly or view it on GitHubhttps://github.com/MysticTreeGames/Boost-for-Android/issues/13#issuecomment-10283833.

Moritz Wundke www.MysticTreeGames.com www.DarkCultureGames.com http://www.darkculturegames.com/

moritz-wundke avatar Nov 12 '12 13:11 moritz-wundke