Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9166839
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T15:14:46+00:00 2026-06-17T15:14:46+00:00

I am currently trying to use the ZXing Library for an iOS Project. However

  • 0

I am currently trying to use the ZXing Library for an iOS Project. However I can’t even get the sample Projects to work.

The ScanTest Project, as well as the ones that I created myself throw the following error in the BinaryBitmap.cpp file.

In file included from /Volumes/Macintosh HD/Users/Tim/Downloads/zxing-2.1/iphone/ZXingWidget/../../cpp/core/src/zxing/BinaryBitmap.cpp:20:
../../cpp/core/src/zxing/BinaryBitmap.h:33:7: error: private field 'cached_y_' is not used [-Werror,-Wunused-private-field]
            int cached_y_;
                ^
1 error generated.

I searched on Google and Stackoverflow, but have not found a solution for the problem.

I have tried it with both the current stable release of XCode and the beta.

I don’t know if anybody else has got this problem too, but any help would be greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T15:14:47+00:00Added an answer on June 17, 2026 at 3:14 pm

    This is clang, right? You can read about the relevant compiler options here.
    The error message is telling you which compiler flags are relevant.

    -Wunused-private-field means you get warnings about private member fields of classes (or structs, …) that are not used anywhere. The warning is because you probably did mean to use them. This would not normally stop the compilation, but…

    -Werror turns warnings into errors. A lot of people use this option to force themselves to write very clean code. Taking this one out should be enough.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently trying to use the latest stable fmod ex in my project. I
I'm currently trying to use CMake for cross-compiling. However, CMake seems to ignore the
I am currently trying to use JavaMail to get emails from IMAP servers (Gmail
I am currently trying to use the multi Get method proposed by Enyim C#
I am currently trying to use the Thrust library and I am having issues
I am currently trying to use the CloudDrive (Powershell) sample that comes with the
I'm currently trying to use NHibernate.Search, but i need to get score for each
I'm currently trying to use Devise 1.1.pre3 as authentication in my upcoming project, but
I am currently trying to use the XMLUnit library to compare two XML files.
I am currently trying to use the android library android fu to help me

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.