|
Viewing 1 to (8 Total) |
|
Hi all!
I'm using Hypertouch library to handle mobile gestures. It works like a charm in android but I have some trouble when I compile it to iOS. In first compilations I had to download another library of shoebox called Signal. After install this library and compiled with -Dsignal I get this error in Xcode:
Ld /Users/josu/Library/Developer/Xcode/DerivedData/BuyanViewer-gtlkktnmblcsqrcddyhmphzhafae/Build/Products/Debug-iphonesimulator/BuyanViewer.app/BuyanViewer normal i386
cd "/Users/josu/Dropbox/buyan/Buyan viewer/bin/ios"
setenv IPHONEOS_DEPLOYMENT_TARGET 5
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -L/Users/josu/Library/Developer/Xcode/DerivedData/BuyanViewer-gtlkktnmblcsqrcddyhmphzhafae/Build/Products/Debug-iphonesimulator "-L/Users/josu/Dropbox/buyan/Buyan viewer/bin/ios/BuyanViewer/lib/i386-debug" "-L/Users/josu/Dropbox/buyan/Buyan viewer/bin/ios/BuyanViewer/lib/i386" -F/Users/josu/Library/Developer/Xcode/DerivedData/BuyanViewer-gtlkktnmblcsqrcddyhmphzhafae/Build/Products/Debug-iphonesimulator -filelist /Users/josu/Library/Developer/Xcode/DerivedData/BuyanViewer-gtlkktnmblcsqrcddyhmphzhafae/Build/Intermediates/BuyanViewer.build/Debug-iphonesimulator/BuyanViewer.build/Objects-normal/i386/BuyanViewer.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -lstd -lregexp -lzlib -lnme -lhypertouch -lstd -lregexp -lzlib -lnme -lcurl_ssl -lpng -ljpeg -lApplicationMain -Xlinker -no_implicit_dylibs -mios-simulator-version-min=5 -framework UIKit -framework OpenAL -framework OpenGLES -framework QuartzCore -framework CoreAudio -framework CoreGraphics -framework AudioToolbox -framework AVFoundation -framework Foundation -o /Users/josu/Library/Developer/Xcode/DerivedData/BuyanViewer-gtlkktnmblcsqrcddyhmphzhafae/Build/Products/Debug-iphonesimulator/BuyanViewer.app/BuyanViewer
ld: library not found for -lhypertouch
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Could you help me please? I dont know what can I do, it's my first time compiling HaxeNME to iOS and it is being frustrating...
thanks in advance
josu
Posted on May 05, 2013 at 11:28 AM
|
|
Hola saeta!
bienvenido a esta comunidad, la verdad es que es impresionante, tanto el lenguaje como la comunidad.
Yo utilizo FlashDevelop (http://flashdevelop.org/) en Windows y MonoDevelop en Linux y Mac. El primero es fácil de configurar, ya que al instalarlo lo hace basicamente solo. Y para el segundo existe un plug-in creado por Joshua Granick que facilita mucho la programación y la exportación.
Si utilizas Windows te recomiendo encarecidamente probar FlashDevelop.
espero haberte sido de ayuda, un saludo
josu
Posted on May 02, 2013 at 11:47 PM
|
|
Hi zulfikar!
I've use sqlite for a while for some applications and I started from this tutorial. It only works for cpp targets.
http://www.joshuagranick.com/blog/2011/11/29/sql-database-access-from-neko-server-and-nme/
hope it helps!
Posted on March 21, 2013 at 7:12 AM
|
|
Good morning,
I work in a basque schools federation (Ikastolen Elkartea) and we released our first app done with NME!
It's called ZoriON and it's an application to create a christmas card with a bunch of backgrounds and characters and share it via mail, whatsapp, twitter, g+...
You can put your own photos from the gallery in the background. I'm working on an update to put in-app billing.
https://play.google.com/store/apps/details?id=com.ehi.zorion
thanks & hope you like it
Posted on December 13, 2012 at 12:00 AM
|
|
Good morning
I'm developing a little christmas app targeting Android. There is the possibility to write whatever you want in a TextField.
I have tested the app in three devices: HTC Desire, Galaxy Tab 2 and Acer Iconia Tab. When I focus the TextField, appears the keyboard, but it doesn't write in the Galaxy Tab, only erases default text with backspace. It runs perfect on the other devices I tried.
Have you any idea to fix this?
thanks in advance
UPDATE: if someone has the same problem, I have to say I just updated android version in the Galaxy Tab 2 7.0 and the text field now works properly
Posted on November 05, 2012 at 5:35 AM
|
|
Good morning
I'm developing a little christmas app targeting Android. There is the possibility to write whatever you want in a TextField.
I have tested the app in three devices: HTC Desire, Galaxy Tab 2 and Acer Iconia Tab. When I focus the TextField, appears the keyboard, but it doesn't write in the Galaxy Tab, only erases default text with backspace. It runs perfect on the other devices I tried.
Have you any idea to fix this?
thanks in advance
Posted on November 05, 2012 at 5:21 AM
|
|
Good morning
I'm developing a little christmas app targeting Android. There is the possibility to write whatever you want in a TextField.
I have tested the app in three devices: HTC Desire, Galaxy Tab 2 and Acer Iconia Tab. When I focus the TextField, appears the keyboard, but it doesn't write in the Galaxy Tab, only erases default text with backspace. It runs perfect on the other devices I tried.
Have you any idea to fix this?
thanks in advance
Posted on November 05, 2012 at 4:56 AM
|
|
Hi!
I'm building an app where I must load some sound when I start the app. I used Lib.getTimer() function and it needs 5 seconds to load all the assets. I tried the Thread class to do this but the app crashes after few seconds with the black screen (I add a splash bitmap but it doesn't appear). I have read in another thread or post that Thread crashes using nme functions, then, can you give an example?
This is a part of my code, if you can help me
public function new()
{
this.addChild(_splash);
var i = 10;
while (i > 0)
{
sKlik = new SpriteKlikagarria("img/zenbakiak/botoia.png", "img/zenbakiak/" + i + ".png", SpriteKlikagarria.ZENBAKIA);
_container.addChild(sKlik);
_zenbakiak[i] = sKlik;
i--;
}
_container.x = (Lib.current.stage.stageWidth - _container.width) * .5;
#if android
Thread.create(loadSounds);
Thread.readMessage(true);
#end
this.removeChild(_splash);
this.addChild(_background);
this.addChild(_container);
this.addChild(log);
}
private function loadSounds()
{
log.appendText("loadSounds\n");
var start:Int = Lib.getTimer();
// ZENBAKIAK
var i:Int = 10;
while (i > 0)
{
// this function only calls to Assets.getSound("snd/zenbaki_" + i + ".ogg") function
_zenbakiak[i].setSound("snd/zenbaki_" + i + ".ogg");
i--;
}
log.appendText("zenbakiak: " + (Lib.getTimer() - start) + "\n");
start = Lib.getTimer();
*/
log.appendText("timer: " + (Lib.getTimer() - start) + "\n");
#if android
Thread.current().sendMessage("sounds loaded");
#end
}
Posted on June 28, 2012 at 5:59 AM
|