x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

fail to compile Android from Git source 4.9 branch

Config Detail:

  1. git release branch fail to compile Development:Android

  • AndroidWork1R1 VS2013 Win7 & Win10

  • I tried to delete {HOME}/.android folder, still have compile error.

  • But I can successfully build and deploy 4.7 & 4.8 android ES2&ES3.1

ERROR detail:

C:/NVPACK/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin\ld.gold.exe : error : cannot find -lcxa_demangle 1>C:/NVPACK/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin\ld.gold.exe : error : cannot find -lvrapi 1>C:/NVPACK/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin\ld.gold.exe : error : cannot find -licudata . . . {similar error skiped} . . 1>C:/NVPACK/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin\ld.gold.exe : error : cannot find -lvorbisfile 1>C:/NVPACK/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin\ld.gold.exe : error : cannot find -lgpg ==================================

Product Version: UE 4.9
Tags:
more ▼

asked Sep 01 '15 at 08:03 PM in C++ Programming

avatar image

5tring
1 2 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

I finally fixed it by doing the follow step:

  1. redo git checkout branch 4.9

  2. delete Intermediate & DerivedDataCache folder

  3. Uninstall UnrealVS extension for VS2013

  4. re-run setup.bat / generateprojectfile.bat

  5. now successfully build Android/Development.

Have no idea which step fixed it.

more ▼

answered Sep 01 '15 at 10:39 PM

avatar image

5tring
1 2 4

avatar image nomahr STAFF Oct 15 '15 at 10:54 PM

I'm on Mac and solved this by making sure Setup.command calls Setup.sh with the "--all" parameter. I think on Windows you can just pass in the --all param to Setup.bat. Run "Setup.bat --help" to see available params.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question