Problems linking libraries to device

Hi, I am having a problem linking to a library, but only when I am building for the device. When I build for the device it has problems saying a number of functions that I use, their symbols could not be found. Building for the simulator it works just fine. For fun I removed the library from Xcode and tried to build with the simulator. The simulator then gave me the same error messages. Why can it find the symbols from the library for the Simulator, but not for the Device? I have tried explicitly adding the -dylibMYLIB.dylib to the other linking flags, but this did not work.
Thanks,
David

I have found out that the reason is in my library. The simulator runs on i386 while the actual device will run on armv6. Also the iPhone library needs to be static. See this link for a very good explanation of it all. http://latenitesoft.blogspot.com/2008/10/iphone-programming-tips-building-unix.h tml
Unfortunately my library fails to compile using these tips, does anybody know of a way to take an existing i386 library and recompile it for armv6? That way I could take the existing library I got from MacPorts and make it work for the iPhone.
Hope the link helps a little.
-David

Similar Messages

  • Convert .mll(maya link libraries) file to .so format

    is it possible convert a .mll(maya link libraries) file to .so format .

    Hello.
    I downloaded an .mll file from some 3d graphics site (I hope this is the same file format you use) and took a look on this file.
    It is simply a Windows DLL file. The question is now: Is it possible to convert DLL files to .so. I have many experience in programming and I would say: Yes (maybe such tools exist but it should be possible to write such a tool if it does not exist, yet.).
    Your main problem will be the dependencies of the .mll file. The file I downloaded requires functions defined in OpenMaya.dll and in some other DLLs. You'll have to replace these functions. This may become very difficult.
    Martin

  • Problems linking Intel MKL in LabWindows

    I would like to use the Intel Math Kernel Libraries (MKL) in LabWindows.  However, I keep getting a linker error (undefined symbol when I try to call an MKL function).  The functions I want are the FFT libraries (DFTI).  I included the "mkl.h" and "mkl_dfti.h" files, and added them to my project as well.  I also tried adding the /Qmkl compiler flag when compiling using the Intel compiler.  This has become really frustrating, I don't know what's not added / included / not being linked.
    Has anyone use the MKL successfully in LabWindows??  What libraries did you add?  Thanks!
    Solved!
    Go to Solution.

    Wow - sorry about the lack of formatting in the previous post.  Here it is again:
    I am working on a 64-bit installation of Win7, but I am making a 32-bit project. I am using LabWindows as an integrated development environment and project builder. I have tried using both its native compiler and the Intel C compiler. In both configuration the linker is LabWindows.
    I am so far still only trying to use one function from the MKL, to test whether I have everything included and linked properly:
    DftiCreateDescriptor()
    I am including the following two header files:
    #include mkl.h
    #include mkl_dfti.h
    I added the following to my include paths:
    c:\Program Files (x86)\Intel\Compiler\11.1\054\
    mkl\ia32\lib
    c:\Program Files (x86)\Intel\Compiler\11.1\054\mkl\ia32\bin
    c:\Program Files (x86)\Intel\Compiler\11.1\054\mkl\include
    I added six .lib's to my project:
    mkl_cdft_core.lib
    mkl_cdft_core_dll.lib
    mkl_core.lib
    mkl_core_dll.lib
    mkl_intel_c.lib
    mkl_intel_c_dll.lib
    I have tried compiling with both LabWindows, and with the Intel C Compiler through the LabWindows external compiler support.  I have tried it with the following flags to the Intel C compiler:
    /Qmkl
    /Qopenmp -I%MKLROOT%/include
    I get the following errors now:
    FFT Test.prj(Release) - 4 link errors
     Undefined symbol '_mkl_dft_commit_descriptor_d_c2c_1d_omp' referenced in "mkl_intel_c.lib".
     Undefined symbol '_mkl_dft_commit_descriptor_d_r2c_1d_omp' referenced in "mkl_intel_c.lib".
     Undefined symbol '___kmpc_begin' referenced in "FFT Test.c".
     Undefined symbol '___kmpc_end' referenced in "FFT Test.c".
    An Intel MKL support person appears to have responded to my NI forums question, but they haven't been particularly useful yet.  The thread is open at:
    http://forums.ni.com/t5/LabWindows-CVI/Problems-linking-Intel-MKL-in-LabWindows/td-p/2210642
    I have a few questions.  First, are these .lib files static libraries, or lists of exported functions for the .dll's?  I think half of them, the ones that don't have "_dll" in their name, may be static libraries and therefore can have unresolved external dependencies (giving the first two linker errors).  Second, how do I add .dll's to a LabWindows project?  I have their directory in my include path (that's the \bin directory or the second include path I listed above).  Is this enough?  Finally, the Intel MKL responder in the forums.ni thread suggests adding a few .lib files to the linker, but I can't figure out how to do this in LabWindows.

  • Report problem link opens up word (pc)

    When I click on report problem link in purchase history for an app, all it brings up word. Don't have email receipt yet and itunes support is useless. it's like trying to find a needle in a haystack.

    Click the "contact support" link toward the lower-left of that page and follow the instructions.
    Regards.

  • Yes another user with problem with Apple Mobile Device Support, I am getting the error message: Service 'Apple Mobile Device'(Apple Mobile Device) failed to start. Vertify that you have sufficient privileges to start system service....

    Yes another user with problem with Apple Mobile Device Support, I am getting the error message: Service 'Apple Mobile Device'(Apple Mobile Device) failed to start. Vertify that you have sufficient privileges to start system service....I hit retry and it came up again. I hit ignore and it prompted me to hit finish so Itunes can open.   I looked thru alot of these posts on here to try and resolve this problem myself but it's not working too well...I downloaded Itunes to my desktop so I can right click it with the program i downloaded called WinRAR. I extracted it and then went into the folder called Itunes64setup. I saw the file called AppleMobileDeviceSupport64 in there so I began to try and download it on it's own. Well that didn't work as I planned and got this error message:
    Apple Mobile Device Support wasn't installed on your computer. The installer encountered errors before Apple Mobile Device Support could be configured. Your system has not been modified. To retry these operations at a later time,please run the installer again.
    Well I tried to run it again and came up with the same message...I see that some people got great support to help them so I am hoping someone can help me as well. I know "b nor" is very qualfied and hopefully can help me! Please advise what I can do. Thank you

    Hi Iss9243,
    Welcome to the Support Communities!
    You've already tried some great troubleshooting steps, but the article below gives you quite a few more for this issue.  Hope it helps ....
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    Cheers,
    - Judy

  • I get an error message when trying to install windows 7 on my macbook pro. The message says "windows has encountered a problem communicating with a device connected to your computer. I don't have anything connected to my computer. How do I fix this?

    I'm trying to install windows 7 on my macbook pro. I went through the process of bootcamp telling it to install windows 7. Once the windows boot manager started an error message came up. The error message says " windows has encountered a problem communicating with a device connected to your computer. I don't have a usb connected to my computer. I  am using windows 7 professional install disc. I  can't figure out what i am doing wrong. The same message keeps coming up over and over. Am I doing something wrong or is it something else?

    Well, shucks, i just spent almost 30 minutes trying to find your model user guide to explain it better, I guess they never got around to making it.....
    I would just borrow another Windows disk and try installing it again and if it does it again then you might take it to an Apple Store and see if one of the "Genius' " can figure it out.
    Make sure your internet is enabled and click on your blank desktop and at the top of your screen is a Help menu option, enter PRAM and it should give you a list of things relating to Pram. It may take a few seconds to list anything as it has to connect to Apples severs first. It should list the things you may have to fill back in when your done.
    "P-ram" stores some common information that is used in the background, your date, time, startup disk, etc, that you don't have to re-fill when you restart, it's a little different for each computer.

  • I just updated my latest java but the update is causing problems with some externale devices. So i would like to uninstall this latest java update and get back the previous one. That should solve to problems with my external device

    i just updated my latest java but the update is causing problems with some external devices. So i would like to uninstall this latest java update and get back the previous one. That should solve to problems with my external device.
    Is this possible and how do i do that?
    Anyone who responds thanks for that!
    Juko
    I am running
    Hardware Overview:
      Model Name:          Mac Pro
      Model Identifier:          MacPro1,1
      Processor Name:          Dual-Core Intel Xeon
      Processor Speed:          2,66 GHz
      Number of Processors:          2
      Total Number of Cores:          4
      L2 Cache (per Processor):          4 MB
      Memory:          6 GB
      Bus Speed:          1,33 GHz
      Boot ROM Version:          MP11.005D.B00
      SMC Version (system):          1.7f10
      Serial Number (system):          CK7XXXXXXGP
      Hardware UUID:          00000000-0000-1000-8000-0017F20F82F0
    System Software Overview:
      System Version:          Mac OS X 10.7.5 (11G63)
      Kernel Version:          Darwin 11.4.2
      Boot Volume:          Macintosh HD(2)
      Boot Mode:          Normal
      Computer Name:          Mac Pro van Juko de Vries
      User Name:          Juko de Vries (jukodevries)
      Secure Virtual Memory:          Enabled
      64-bit Kernel and Extensions:          No
      Time since boot:          11 days 20:39
    Message was edited by Host

    Java 6 you can't as Apple maintains it, and Java 7 you could if you uninstall it and Oracle provides the earlier version which they likely won't his last update fixed 37 remote exploits.
    Java broken some software here and there, all you'll have to do is wait for a update from the other parties.

  • Problem with USB audio device

    Hi all
    I have many problem with a USB device sound, i have a plantronic headset with a usb adapter to connect on my macbook pro, I have already this problem in the past but i have found a astuce to fix this problem. Before, when i'm on teamspeak 2, 3 or other software to capture audio with my headset, after 10 minutes, the sound make noise and i have a robotic voice... Since mac OS 10.5.7 apple have change the USB audio driver. i have found on internet the previous driver and change it on mac os X but since the new mac os 10.6.5 the problem com back with the previous or the new driver audio. I don't know if other people have this problem but this is very annoying.
    I have test my device on windows with boot camp many hour and nothing, no problem of distord sound or robotic voice.
    PS : I'm french and my english can be bad, sorry for that.

    Apparently, your previous search for audio issues in these forums missed this one: http://discussions.apple.com/message.jspa?messageID=12574650

  • ITunes is supposed to ask you if you want to link libraries if your...

    iTunes is supposed to automatically ask you if you want to link libraries if your iPod's is different my your iTunes. Since iTunes lost my music, I plugged in my iPod expecting to answer no to this message and use a third party to copy all my music back when all of a sudden half my music wasn't on my iPod. Why didn't iTunes automatically ask me this vital question when it automatically erased my music?

    Alternatives for Help Resetting Security Questions and Rescue Mail
         1. Apple ID- All about Apple ID security questions.
         2. Rescue email address and how to reset Apple ID security questions
         3. Apple ID- Contacting Apple for help with Apple ID account security.
         4. Fill out and submit this form. Select the topic, Account Security.
         5.  Call Apple Customer Service: Contacting Apple for support in your
              country and ask to speak to Account Security.
    Note: If you have already forgotten your security questions, then you cannot
             set up a rescue email address in order to reset them. You must set up
             the rescue email address beforehand.
    How to Manage your Apple ID: Manage My Apple ID

  • There's a problem with your audio device.

    Please help. I don't know what the problem is!

    i cant figure out what to do, everytime i call someone, it says "theres a problem with your audio device."

  • I just purchased a secondhand iPad in carboot and I didn't realised that the old account is still linked to the device now can't  activate my accnt.i don't know where  and how to contact the original owner.what should I do?is there any other option?

    I just purchased a second hand iPad in carboot.i didn't realised that the old accnt is still linked to the device,now I icant activate my account .I don't  know where and how to contact the original owner.what should I do activate my accnt?is there any other option?

    Apple cannot help you locate the original owner. If you have no way to contact him/her, and you purchased directly from the seller rather than through a site that offers buyer protection, then the iPad is useless to you and you have wasted your money. The iPad is quite probably stolen and you should turn it in to the police.
    This is why it's very risky and usually unwise to purchase out of a car boot from someone you don't know.
    Regards.

  • Read all the hype, but is Lion really worth getting unless you need to link up several devices???

    Read all the hype, but is Lion really worth getting unless you need to link up several devices??  e.g. is it worthwhile for a standalone iMac??

    There's a million places on the 'net where you can find opinons on that (have a look here, for example http://applehelpwriter.com/2011/08/01/os-x-lion-10-7-%E2%80%94-the-jurys-verdict / ) and at least several long running threads on this forum too dealing with various opinions.
    As for me, I've reverted to Snow Leopard.

  • Problem in installing "audio device on high definition audio bus"

    i have cq40 144tu laptop
    i downgrade to XP with the nice tutorial posted on this forum.
    my laptop S/N - [text removed for privacy]
    P/N FZ736PA#ACJ
    I M GETTING PROBLEM IN INSTALLING AUDIO DEVICE ON HIGH DEFINITION AUDIO BUS
    i have tried sp39671 which was sugges in that tutorial but that not work

    The other sound driver is Intel HDMI driver, it is bundled in Intel GMA driver.
    Update your BIOS to the latest one and do a clean instalation of XP-SP3 then you dont need devcon utility.
    See XP downgrade guide for futher detail, here
    Pavilion DV2922TX, XP-SP3 32bit, Intel T5750 2.0Ghz, Nvidia Geforce 8400M GS with 128MB, 4GB 667 DDR2, 250GB HDD

  • Cant download PDFs and 'report problem link wont send anything

    All links to PDFs on sites supposedly do a download, but then do not display anything. When I tried to use the Report a Problem link I filled in all the details and then pressed submit but it did nothing - could only go back

    If you have a rescue email address set up on your account then you can try going to https://appleid.apple.com/ and click 'Manage your Apple ID' on the right-hand side of that page and log into your account. Then click on 'Password and Security' on the left-hand side of that page and on the right-hand side you might see an option to send security question reset info to your rescue email address.
    If you don't have a rescue email address set up then go to Express Lane  and select 'iTunes' from the list of 'products' in the middle of the screen.
    Then select 'iTunes Store', and on the next screen select 'Account Management'
    Next choose 'iTunes Store Account Questions' or 'iTunes Store account security' (it appears to vary by country) and fill in that you'd like your security questions/answers reset.
    You should get an email reply within about 24 hours (and check your Spam folder as well as your Inbox).
    Or you could see if the second half of Kappy's reply in this thread helps : https://discussions.apple.com/message/20357006#20357006

  • Problems with libraries and plugins - non admin account

    I''ve got a couple of problems with a fresh install of photoshop on my windows Windows 7 64 bits system.
    1. Libraries panel does not work. It displays the following error and interaction is not possible:
    2. 3rd party plugins would load their content.
    3. In the Creative Cloud Application the apps tab would load and displays the "download error" message:
    The funny thing is that all the above errors don't occur on the loacl admin account. So I think this might be a permission problem. I think the most easy sollution would be to work under the admin account, but sadly that's no option (company policy). I am able to extent the rights of the useraccount I work on, but I don't know in wich folders the software needs write permissions. The both Adobe folders in program files and program files (x86) I already changed to full acces for all users. Can someone please help me?

    Problems with libraries and plugins - non admin account https://forums.adobe.com/people/pippyn%20stortelder
    This is a permissions Error.  The other accounts on the computer do have permissions to use / change the administrator settings of these particular items.
    There are two ways you can fix this. 1.) contact the admin of the system and let him know your accounts need read access to these items
    My Preferred method is:
    If you are on a Windows Account, then you can choose those items to run in Administrator mode for all people.  ( win7,64bit )
    Right click the infinity system for creative cloud (creative cloud icon - you would normally click to start the program. (not the one in your service tray, but the one in your menu area with the square red on it.
    choose/click on properties
    choose/click compatibility (tab at the top of the window)
    Last boxed option on this screen is: Run Program As Administrator,  Click that check box.
    Click on  Change Settings for All Users
    in the window that comes up again choose, put an X in the box-  the last option, Run Program As Administrator - Click Apply
    Click OK
    Click OK and the opened preferences window should now be closed.
    You should be able to simply invoke the Cloud app now. But you might want to reboot to safe.
    Depending on the installation methods used for your add-ons, you may have to perform this same process for all add-ins.  I believe that would depend on which account, first installed the add-on and what level of permissions they have.
    Good Luck
    ~elaine.

Maybe you are looking for

  • Cycle ends 10/16/2014

    What does cycle ends 10/16/2014?  Does it mean my min,text and data start over at 0? If so when cause it's still showing all my usage.

  • Powerbook showing full hard drive!!!after itunes update

    Hi guys, Ive got a 80gb powerbook. I recently firewired my itunes library from my powermac to my powerbook. I deleted the old library on my powerbook before doing this. Anyway since ive done this the laptop tells me there is only 2 gb of disk space l

  • Reformat COPA and ECPCA reports

    I have been assigned to reformat existing COPA report ( Tcode ke30 and ECPCA ( tcode ke80 ) report. Both the reports are drill down reports and were done using report painter. Since i have had very less experience with drill down reporting i would ap

  • X58 Pro Won't See 4GB Memory Module

      I have the X58 Pro with i7 965, run Win 7 64 bits, most of my appl. are video editing and rendering. it worked fine with 2GB module (Corsair) but I just bought 6 pieces of 4GB DDR3 (Micron technology). Slapped in => no boot. have tried zapped with

  • Creating 10gAS report server cluster

    Please guide us to create 10g Report Server Cluster version 10.1.2.0.2 platform RHEL-4 Regards, Achyot