Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Trusted Contributor
marcelnijman
Posts: 117
Registered: ‎06-19-2012
My Device: PlayBook + Red Z10 + BB10 Dev Alpha C
My Carrier: none

Where are the PCH files?

What to do with the following error (10.2 Gold SDK):

 

cc1plus: error: one or more PCH files were found, but they were invalid

 

I scanned my disk, but all PCH files are owned by Xcode.

 

Please use plain text.
Developer
BBSJdev
Posts: 5,988
Registered: ‎07-05-2012
My Device: Playbook, Z10 LE, Dev Alpha C
My Carrier: Orange

Re: Where are the PCH files?

These are precompiled headers, try cleaning your project and building again.

 

Are you trying to build source code from a different platform?

 


If you've been helped click on Like Button, if you've been saved buy the app. :smileyhappy:

Developer of stokLocker, Sympatico and Super Sentences.
Please use plain text.
Trusted Contributor
marcelnijman
Posts: 117
Registered: ‎06-19-2012
My Device: PlayBook + Red Z10 + BB10 Dev Alpha C
My Carrier: none

Re: Where are the PCH files?

Cleaning didn't help. Neither did re-installing the SDK. All I did was upgrade to the 10.2 Gold SDK.
Please use plain text.
Developer
BBSJdev
Posts: 5,988
Registered: ‎07-05-2012
My Device: Playbook, Z10 LE, Dev Alpha C
My Carrier: Orange

Re: Where are the PCH files?

At some point your project has been built with something pre-compiled and now it is no longer.

 

A clean build should have fixed it do you get any QT warnings to do with libraries?


If you've been helped click on Like Button, if you've been saved buy the app. :smileyhappy:

Developer of stokLocker, Sympatico and Super Sentences.
Please use plain text.
Trusted Contributor
marcelnijman
Posts: 117
Registered: ‎06-19-2012
My Device: PlayBook + Red Z10 + BB10 Dev Alpha C
My Carrier: none

Re: Where are the PCH files?

I get just cc1plus errors.

 

How can I turn using precompiled headers on?

 

Please use plain text.