Static library required external ADT for ANE

Hey there,

I tried to create a native extension for my current project and tried a simple hello world ANE firstly that I managed to make it work very well so I am now aware of the process so that everything is done correctly.

The problem I face is now that I use a static library ".a" in my XCode project to build my own static library ".at". When I compile my DONKEY in HAA project I get the following error (sorry for the formatting).

For architecture armv7 httpd Undefined symbols:
"OBJC_CLASS$_EAAccessoryManager ', referenced from:

  objc-class-ref in libcom.edgington.HelloWorld.a(TGAccessoryManager.o) 

"OBJC_CLASS$_EASession ', referenced from:

  objc-class-ref in libcom.edgington.HelloWorld.a(TGAccessoryManager.o) 

"_EAAccessoryDidConnectNotification", referenced from:

  -[TGAccessoryManager setupManagerWithInterval:forAccessoryType:] in libcom.edgington.HelloWorld.a(TGAccessoryManager.o) 

'OBJC_METACLASS$_EAAccessory ', referenced from:

  _OBJC_METACLASS_$_TGAccessory in libcom.edgington.HelloWorld.a(TGAccessory.o) 

"OBJC_CLASS$_EAAccessory ', referenced from:

  _OBJC_CLASS_$_TGAccessory in libcom.edgington.HelloWorld.a(TGAccessory.o) 

LD: symbol not found armv7 architecture

The command line that I use is:
/ Applications/Adobe\ Flash\ Builder\ 4.6/sdks/4.6.0/bin/adt-paquet - target ipa-ad-hoc - stores pkcs12 - keystore IOSFP.p12 - provisioning-profile extensionDir - extdir HelloWorld.mobileprovision HelloWorld.ipa HelloWorldIOS - app.xml HelloWorldIOS.swf /-platformsdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPh oneOS5.1.sdk

I searched many other messages from forums and sites on how to do it, but I'm still unconscious to the problem, I feel I have to be spoon feeding in order to understand! I think that this suite post if relivant to my question but still I do not understand completely:

http://forums.Adobe.com/message/4269570#4269570

Can someone point me in the right direction?

I searched many other messages from forums and sites on how to do it, but I'm still unconscious to the problem, I feel I have to be spoon feeding in order to understand! I think that this suite post if relivant to my question but still I do not understand completely:

Ah, I found the problem, ExternalAccessory.framework is not included in the default list provided by air executives. Create a switch to options of platforms with this library noted that he has solved the problem. Here's what I did to remedy:

Created options.XML:

http://ns.Adobe.com/air/extension/3.1">

5.0

added '-platformoptions options.xml ' on the end of the command line to build.

Past mistakes.

Tags: Adobe AIR

Similar Questions

  • Require external assets for my application project (assets not in the SWF file)

    I have an application that uses significant resources (XML - 'assets' files) which are lazy-loads (if necessary).

    I use several "OSMF support library projects and mapping, so I am familiar with these methods."

    My workflow will be MUCH easier if I can put my goods outside my application project (may be shared between many applications).

    I don't like if they reside in something like a library project, or if they are just on the file system.  I need, of course, to be able to export a release for a webserver (Apache).

    Oz

    It's probably in the properties of the project somewhere, I just don't know where.

    Two approaches:

    1. create a folder says, c:\shared_assets. In all the projects that you want to use them, you could add c:\shared_assets on the source path through project-> Flex Build Path-> Source path properties.

    OR

    2. you can use the embed directive to embed any file and access its content:

    [Embed(source="test.xml")]
    var testXml:Class;
    
    private function init(): void {
      var xml:XML = testXml.data as XML;
      Alert.show(xml.toXMLString());
    }
    

    Create a library project. In this, create a class with static public constant in these objects of the class.

  • Problems of creating a Native Extension, referring to a static library

    Hello

    I am trying to create my own Extension Native for iOs using another static library.

    My problem occurs when I try to pack my application with ADT: after a lot of "ld WARNING: unexpected srelocation type 9", I get a final error: "ld: inch bl/blx out of reach (max-4468380 is + / 4 M).

    This may be caused by the fact that the static library, I use needs CCG affecting "compile for thumb" turns off. I did this in XCode to get my file has to generate my .ane, but how could I tell ADT to take into account?

    Thank you very much for your help!

    You are compiling for ARMv6 and ARMv7?

    With armv7, you don't need to turn off the "compile for thumb" anyway.

    Also, I assume you are using a greater than 4.3 iOS version to compile your native library. In this case, using platformsdk - adt switch, while the packaging of your app could solve just of your question. (You will see some warnings 4-byte alignment ld, but it's ok)

    Neha-

  • How can I use Make to build a static library to use in my application BB10?

    I need to use the mark in the terminal (OSX) to create a static library that can be used in a native application of BB10, but when I try to add the .a file generated as an external library, Momentics says "Library is not compiled to the correct architecture". How can I solve this?

    This problem seems to have something to do with the construction on OSX. I am now building in a CentOS VM and it works fine. It is more of a workaround than a solution, but it solved my problem for now.

  • Problem using the Qt library in static library

    I created a static library with SDK 10.1 10.2 Momentics. Any time I get the qt classes, the compiler complains that it cannot find a file any.

    for example:

    #include

    the error is:

    The path location type Resource Description
    Fatal error: QtCore/qchar.h: no such file or directory MyStaticLibrary line 45, external location: /Applications/Momentics.app/target_10_1_0_4828/qnx6/usr/include/qt4/QtCore/qstring.h C/C++ problem

    Help, please.

    I have a simular problem solved by adding a variable include

    ${QNX_TARGET} / usr/include/qt4 in

    Project / Properties / C/C++ Build / Settings /Tool settings /QCC compiler / preprocessor / Include directories (- I).

  • Impossible to include the static library containing the QObject class in Cascades project

    I'm working on the new platform BB10 based on Qt.

    I have a static library project that defines a QObject class (essentially the class sends signals and a few locations). The project compiles fine and gives me a file libwhathever.a nice

    When I try to include this library in my project of stunts I get these errors during construction:

    • undefined references to com::vasco:digipass:sdk:utils:qrcodescanner:MyClass:staticMetaObject
    • undefined reference to com::vasco:digipass:sdk:utils:qrcodescanner:MyClass:newQRCodeDetected (QString)
    • location reference external com::vasco:digipass:sdk:utils:qrcodescanner:MyClass:staticMetaObject undefined: c:\Developer\bbndk\target_10_1_0_2342\qnx6\usr\include\qt4\QtCore\qobject.h
    • location reference external com::vasco:digipass:sdk:utils:qrcodescanner:MyClass:staticMetaObject undefined: c:\Developer\bbndk\target_10_1_0_2342\qnx6\usr\include\qt4\QtDeclarative\qdeclarative.h
    • location reference external com::vasco:digipass:sdk:utils:qrcodescanner:MyClass:staticMetaObject undefined: c:\Developer\bbndk\target_10_1_0_2342\qnx6\usr\include\qt4\QtDeclarative\qdeclarative.h
    • no reference to vtable for com::vasco:digipass:sdk:utils:qrcodescanner:MyClass
    • no reference to vtable for com::vasco:digipass:sdk:utils:qrcodescanner:MyClass

    I think that I miss the compilation step where the Q_OBJECT macro is run. I'm on the right track? I've heard talk about moc and qmake, but I don't know how or when to use in my build process.

    In fact, I solved my problem simply by running the moc on the header file defining the Q_OBJECT. It generated the file moc, that I needed. Then my ant script does the rest of the compilation with qcc and my indefinite references have disappeared.

  • Copy of iPhoto/iTunes to external drive for upgrade

    I would like to transfer my iPhoto (5.0.4) and files iTunes (9.2.1) of my old iMac G5 (running 10.4.11) to my new iMac (El Capitan running).

    My iTunes library is now on an external drive (and iTunes is headed there), and I would like to copy my iPhoto on the same drive - to move together on the new iMac while maintaining the structures of files etc.

    Can someone tell me what is the best way to do this? I'm not clear what iPhoto files files, I need to move or copy on the external hard drive to retain the current structure of the organization/etc folder or the process then bring them into the right place on the new machine.

    Simply drag and drop them where you want libraries to reside. As iPhoto is plu included you will use the Photos app. You can learn how to move the library iPhotos to Photos for Mac on http://osxdaily.com/2015/04/17/move-iphoto-library-to-photos-mac/.

    Insofar as your iTunes library, yet once just drag and drop. 'Teach' iTunes where the library is simply double-click the library and iTunes will find it and then "know" where the library.

  • Migrated my external drive for 'Photos' photographs - after a month of success now unable to access them. No idea why?

    My computer tells me I have migrated my photos from an external drive for 'Photo', but in 'Photo', I can only find 4 pictures that are on my internal drive. Any ideas? I was able to access the photos a month in "Photo".

    Thank you

    Bruce

    Nope - we can't see you, so you must provide details for assistance

    What has changed since it worked?

    If you launch pictures while holding the option key, you get a window select Library - check every library here and I hope that you find the right pair

    LN

  • DLL to call a subsidiary static library

    I have compiled a DLL using labwindows calling a subsidiary static library. I added a step to test that calls this DLL.  On my development station, everything is good.  The subsidiary library is named.  But, on a deployed workstation, I get a "cannot load the DLL.

    According to the reference manual, I can preload subsidiary attendance using the adapter of the CVI.  I get the same error on my deployed station...

    You get an "Unable to load a DLL" error when a dependency is missing.

    Please check this way:

    Download the tool free dependency walker- http://www.dependencywalker.com/

    Select the DLL (deployed machine).

    It will show you which component of the dependency is missing in the deployed machine.

    For CVI.

    Since you are using a static libarary - include you in the build when you build the project?

    It should be incorporated in your DLL. (help to add files to the DLL option in the CVI target settings).

    I hope this helps.

  • External clocks for 7811R

    I recently bought a 7811R.  I have a need to synchronize the external clocks (requires 3 in fact).  How to set up external clocks for the 7811R in Labview FPGA modules.

    Emax,

    Unfortunately, not all FPGA target supports this feature. Currently, the R-series cards are not able to do. However, FlexRIO target supports using resources DIO as an external clock, including the following models: 7951R 7952R, 7953R and 7954R.

    What components you try to synchronize in your application and how fast your clock do you have to go?

  • Hard disk and transfer of external tools for my dimension 2100 that are reliable?

    Hard disk and transfer of external tools for my dimension 2100 that are reliable?

    Hi chucksmack,
     
    -What exactly is the problem you are having?
     

    "Your question contains all the required information necessary for us to help you. Please re - write your question, this time to ensure that you have included all the information required and we will try to help. »

    See this link for more information on:

    How to ask a question

  • Creating a static library in Momentics IDE

    Hello all, I am very new to development Playbook, I'm trying to add a project in my workspace that would compile the c code ++ for a .a that could be connected to my App Playbook existing a few questions:

    (1) what type of project right to choose in the list when I go on File > New ?

    (2) is there a way for it to work without makefiles? (IE managed by momentics juice tlike that my app playbook is)

    (3) because my cpp/h files already exist on the disk for this lib, what is the best method to add them to this static lib project?

    Thank you all for the support.

    File-> New-> project BlackBerry C / C++-> {the Set project name}-> {build select C or C++, managed or Makefile and Archives (static library)}->...

  • Static library linking

    Hello

    I've searched the forums and although I found many positions related to similar problems I have not found one to actually solve my problem.

    Basically, I'm trying to link my static library in my project BB10.  I have build 2 versions of my library.  A simulator and a version of the device.

    The library will be delivered with the actual application project so I add the libraries to the root of the project directory.

    for example:

    Project\libs\Simulator\library. one

    Project\libs\Device\library.a

    How to link against this library based on my main project so im a Simulator or device of construction build?

    Thank you

    After a few tests more and goes a bit more gray hair, I realized what was going on.

    It turns out that one of my classes in c ++ that it prevented the release build work.  So it seems to be nothing wrong with my library or binding.

    I've seen things like this before over the years.  I think that the debugging information in the final application allowed the class tapped to run without causing reading / writing of memory problems or what ever it was, but when you try to run the Release version the bug is immediately appear.

    I have yet to track down the bug real in class but I temporarily removed from the lib and added to the main project and everything seems to work.  You keep your fingers crossed QA do not come back with anything while I find this bug to class

    Thanks for the input form everyone.

  • How to create a project that connects in a static library?

    I am trying to create an OpenGL project that depends on a static library which I create in the same workspace in the NDK.  I created two projects (static library and OpenGL app) connects them in the NDK and tried, but I must be missing something because my OpenGL project is not able to see the functions in my static library, even if it is able to find my static library?

    Is there documentation describing step by step how to create two projects and how to relate?

    I found a similar post on the forums and I have solved my problem.

    I used project > add library > library of the project in the workspace but something is broken with this command, because it did not work.

    If you use project > add library > external library, then everything works fine.

  • Shared Library containing a static library

    Hello

    I was wondering if it is possible to integrate a static library, in a shared library project.

    I'm creating a shared library, which will be released, so other developers can integrate my shared library in their application. However, I need to use a static library in my shared library.

    I followed the instructions below, for the creation of a shared library and the static library, but also adding them to my projects. Everything compiles fine and I don't get any problems.

    However when a third party developer incorporates my shared library, the compiler complains about the header files that come from the static library?

    http://supportforums.BlackBerry.com/T5/Cascades-development-knowledge/how-to-use-a-third-party-share...

    I was wondering if someone at RIM, or anyone who has done this before can confirm if it is still possible to do?

    Thank you

    I was able successfully to achieve this. Thank you

Maybe you are looking for