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
Developer
Posts: 125
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.

 

Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
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. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.
Highlighted
Developer
Posts: 125
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.
Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
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. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.
Developer
Posts: 125
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?