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 7544261
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T08:37:57+00:00 2026-05-30T08:37:57+00:00

I just got the latest Xcode 4.2 and I am running into problems with

  • 0

I just got the latest Xcode 4.2 and I am running into problems with openmp. I have a couple of projects written in C that compiled without any problem with Xcode 3.2.6 but with the new version strange things happen.
One of my projects produces a static library and when I compile it I get this error (not a warning):

Lexical or Preprocessor Issue
'omp.h' not found

I have enabled openmp support and selected the LLVM GCC 4.2 compiler. Although I get this error the static library is still generated.

Thinking it could be a conversion problem between 2 different versions of xcode, I created another project with Xcode v4.2 with a simple hello world-like program. I get exactly the same error and the program runs as it should. If I compile this project using the command-line xcodebuild I do not get any error.

Has anyone encountered this problem?

  • 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-05-30T08:37:58+00:00Added an answer on May 30, 2026 at 8:37 am

    Yep, i have exactly the same problem. Not sure this is actually a real problem because the project seems to be correctly compiled.
    I’d love to know what’s the matter behind that too.

    EDIT : finally, there’s no error. The problem just comes from the Xcode 4 LLVM engine which shows constantly errors in the editor. And it can’t parse the path. Don’t know why.

    If you want to get rid of that “error”, you can use the direct path instead :

    /usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin10/4.2.1/include/omp.h

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

Sidebar

Related Questions

I just got Delphi 2009 and have previously read some articles about modifications that
I just got the latest mercurial and started adding in largefiles. However, now I
I just got a Mac with OS X (10.6.8). What options do I have
I've got the latest version of jquery library installed and just want a simple
I've just started working with mongodb got a perl script that parses a twitter
I just got an Java update notification that Update 17 is out, so I
I have just started playing with TeamCity and its great. Now I got it
I've got a problem with the mysqli result set. I have a table that
I've got the latest Mysql connector that allows you to use the Visual Studio
We got a MVC project running and we seem to have problem refreshing .less

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.