I am following this tutorial to install cocos2d on a mac with eclipse.
http://www.cocos2d-x.org/projects/cocos2d-x/wiki/Installation_guide_of_Android_ndk_r4b_development_environment
I get as far as installing the ndk and I get the following error below when I try and execute ndk-build. I have set my paths correctly so im not sure why this is happening. Can anyone help me? Thanks
Davids-iMac:android-ndk-r8b davidcavanagh$ sh ndk-build
Android NDK: Your APP_BUILD_SCRIPT points to an unknown file:
/Documents/Development/android-ndk-r8b/jni/Android.mk
/Users/davidcavanagh/Documents/Development/android-ndk-r8b/build/core/add-
application.mk:133: *** Android NDK: Aborting... . Stop.
I believe this tutorial is much better than the original website.
All my environment setup is based on it.
http://gameit.ro/2012/01/creating-an-iphone-and-android-cocos2d-x-hybrid-project-updated/
Related
When I try to run my flutter-project code on the iOS simulator in VS code, I get the following error on the console:
Launching lib/main.dart on iPhone 11 Pro in debug mode...
lib/main.dart:1
Xcode build done. 24.4s
[VERBOSE-2:shell.cc(103)] Dart Error: Can't load Kernel binary: Invalid SDK hash.
[VERBOSE-2:dart_isolate.cc(171)] Could not prepare isolate.
[VERBOSE-2:runtime_controller.cc(415)] Could not create root isolate.
[VERBOSE-2:shell.cc(588)] Could not launch engine with configuration.
Thanks in advance.
Hi!
In my case, the error was caused by the forced shutdown of the IDE.
After manually selecting the libraries, I identified the one that was causing the problem, updated the project without it, and updated the project again with it.
With that the problem was solved.
Hope I have helped, if yes, please flag.
Could you delete the bin/cache folder, then run app
Open terminal and run: $ flutter channel beta
"it will install beta version, once installation is done, try it!"
"In case you willing to change the beta version to stable version you can use the following:"
$ flutter channel stable
I installed the MongoSwift 0.2.0 library through cocoapod. However when I try to open the project and build it I got 2 errors. "Mongoc.h" file not found and could not build Objective-C module "libmongoc".
I opened the project with the ". xcworkspace" file and installed Mongo-c-driver. So I'm not sure why I'm unable to get this library to work. Any help would be much appreciated! Thank you in advance.
I did an update SDK build tools and now I am getting the following error:
[2015-12-09 10:22:01 - MainActivity-CordovaLib] Could not find MainActivity-CordovaLib.apk!
Any ideas ?
I ended up importing my project into android studios and running it from there. I would still like to know how to solve this issue for eclipse though.
I am trying to compile CLucene for iOS and running into some problems.
Here are the steps I've taken
Modify the CLucene CMakeLists.txt to disable multithreading
Create a "build-ios" directory in the CLucene source directory
Drop the cmake file from this site into the cmake directory http://code.google.com/p/ios-cmake/
run the following command "cmake -DCMAKE_TOOLCHAIN_FILE=./iOS.cmake -GXcode ../"
Here's the output from that command. Can someone help me out with the error?
-- Toolchain using default iOS SDK: /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - not found.
-- Could NOT find Boost
Boost not found, using local: /Users/aschuler/Desktop/clucene-core-2.3.3.4/src/ext
CMake Error at /Applications/CMake 2.8-6.app/Contents/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
Could NOT find Threads (missing: Threads_FOUND)
Call Stack (most recent call first):
/Applications/CMake 2.8-6.app/Contents/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE)
/Applications/CMake 2.8-6.app/Contents/share/cmake-2.8/Modules/FindThreads.cmake:157 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
src/shared/CMakeLists.txt:38 (find_package)
-- Configuring incomplete, errors occurred!
Thanks for your help!
looks like boost is missing. boost is a required library - check the readme
I know its been long. But just try Cmake with Zlib. Because i am in the process of doing the same thing you did, but waiting till i receive the MAc mini. If you have found the solution please do share because it will be helpful for me and many others. Thank you.
I want to create a mobilesubstrate plugin for iPhone OS 3.2 or I tried to setup toolchain on the iPad device.
I have installed the iphone-gcc_4.2-20090304-1-9_iphoneos-arm package and all the relevant packages from Cydia, but when it comes to compiling the simplest source file shows the following error:
arm-apple-darwin9-g++ -I /var/toolchain/sys/ -c -dynamiclib ExampleHookLibrary.mm -o ExampleHookLibrary.o
arm-apple-darwin9-g++: Internal error: Bus error (program cc1objplus)
Please submit a full bug report.
See <URL:http://developer.apple.com/bugreporter> for instructions.
make: *** [ExampleHookLibrary.o] Error 1
Is it because the iphone-gcc doesn't yet support this device or am I missing anything here? Thanks.
Try iPhone 3.0 Toolchain from TheWorm repository (http://cydia.theworm.tw/), it works for me like a charm. You'll also need the headers from iOS SDK 3.0...3.2.2, and the binary frameworks (extensionless dylib's) also from the SDK.
Bus error is a different form of a segmentation fault. The toolchain is broken in some way.
This script automatically setup iphone toolchain for you, runs on Mac OS X, thanks to #rpetrich. http://gist.github.com/403608
First, remember to
apt-get remove iphone-gcc
before running this thing on your mac, if you don't want to collect headers files from iphone sdk, follow the Darwin arm part of the script and I think you should be good.
try "iphone 2.0 toolchain" form bigboss