libPVRTC.a link errors on OSX

This topic contains 8 replies, has 2 voices, and was last updated by  Tobias Hector 5 years, 7 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #30823

    I’m trying to link to libPVRTC.a (from PVRTC_REL_2.10@863987.tar) on OS X (10.7.3) using Xcode (Version 4.3.2 (4E2002)). And I’m getting these undefined symbols errors:

    Undefined symbols for architecture x86_64:

    “_endian_init”, referenced from:

          _new_bitmap in libPVRTC.a(bitmap.o)

          _new_empty_bitmap in libPVRTC.a(bitmap.o)

          _zio_file_open in libPVRTC.a(zio.o)

          _zio_file_open_stdout in libPVRTC.a(zio.o)

          _zio_file_open_stdin in libPVRTC.a(zio.o)

    “_endian_convert_u16_le”, referenced from:

          _zio_file_read in libPVRTC.a(zio.o)

          _zio_file_write in libPVRTC.a(zio.o)

    “_endian_convert_u16_be”, referenced from:

          _zio_file_read in libPVRTC.a(zio.o)

          _zio_file_write in libPVRTC.a(zio.o)

    “_endian_convert_u32_le”, referenced from:

          _zio_file_read in libPVRTC.a(zio.o)

          _zio_file_write in libPVRTC.a(zio.o)

    “_endian_convert_u32_be”, referenced from:

          _zio_file_read in libPVRTC.a(zio.o)

          _zio_file_write in libPVRTC.a(zio.o)

    ld: symbol(s) not found for architecture x86_64

    Does anyone know what I’m doing wrong?

    Thanks.

    #35718

    Hi Gary,

    This looks like a problem with the way the library has been compiled, I’ll look into it and let you know if there’s a workaround, and when a fix is released.

    Thanks,

    Tobias

    #35719

    Hi Tobias,

    Thank you for getting back to me so quickly. I appreciate your efforts in helping me with this. It’ll be great to get a fix.

    Cheers,

    – Gary

    #35720

    Hi Gary,

    Looks like I’ve found the problem – it was indeed a missing object file, so I’ve fixed that and I’ll push an update to the website asap.

    Thanks,

    Tobias

    #35721

    Hi Tobias,

    That’s good news. Thank you.

    Is this where it will be available?

         https://www.imgtec.com/downloadconfirmation.asp?Utility=PVRTC&Title=PVRTC

    Also, do you think it will be pushed to the website sometime next week?

    Cheers,

    -Gary

    #35722

    Hi Gary,

    That will be the location – it’ll have a new build number when it’s up so you should be able to recognise it. I’ll also post here when the new version is up – it should be some time this week.

    Thanks,

    Tobias

    #35723

    Hi Tobias,

    It looks like there’s not a new version available this week. I do need this library. I hope you’ll be able to post it up here early next week. Do you think that will be possible? I’d like to know so that I can better set expectations here on my side.

    Cheers,

    – Gary

    #35724

    It’s there! 🙂

    PVRTC_REL_2.10@874981.tar

    And it’s working well for me.

    Thank you, Tobias.

    Cheers,

    – Gary

    #35725

    Hi Gary,

    I was about to post and let you know, but it seems that you found it already 🙂 Let me know if you have any further issues with this.

    Thanks,

    Tobias

Viewing 9 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic.