Jump to content

Another compiling error making for a preference bundle


Go to solution Solved by sn0wqt,

11 posts in this topic

Recommended Posts

Posted

It says it's not in the .h file but it's there

 

 

Compiling ptest.mm...

In file included from ptest.mm:1:

./ptest.h:1:9: fatal error:

'Preferences/Preferences.h' file not found

#import <Preferences/Preferences.h>

^

1 error generated.

make[3]: *** [obj/ptest.mm.d96b3db5.o] Error 1

make[2]: *** [internal-bundle-all_] Error 2

make[1]: *** [ptest.all.bundle.variables] Error 2

make: *** [internal-all] Error 2

iPhone:/var/mobile/magicpiano root#

 

 

THIS IS THE CODE THAT IS PASTED IN THE .h

 

#import <Preferences/Preferences.h>

 

@interface ptestListController: PSListController {

}

@end

  • Solution
Posted

You dont have preference.h header in /var/theos/include/preferences

I will upload my headers now, so wait please :D

Replace my headers with all your's

Posted

So do I paste this headers in/ var/theos/include. ?

Correct. Extract them there.

Posted

When I installed the headers I clicked unarchiver then it installed but then it made a another folder called "include" with headers and some other folders in it. So idk what you mean by "correct Extract them there"

Correct. Extract them there.

installed the headers I clicked unarchiver then it installed but then it made a another folder called "include" with headers and some other folders in it. So idk what you mean by "correct Extract them there"

Posted

When I installed the headers I clicked unarchiver then it installed but then it made a another folder called "include" with headers and some other folders in it. So idk what you mean by "correct Extract them there"

 

installed the headers I clicked unarchiver then it installed but then it made a another folder called "include" with headers and some other folders in it. So idk what you mean by "correct Extract them there"

Move the folders inside /include/include/ to just /var/theos/include

Posted (edited)

Move the folders inside /include/include/ to just /var/theos/include

So then after that I'm going to be left with the headers do I copy them and paste them into /var/theos/include too?

Updated by patricktph
Posted

So then after that I'm going to be left with the headers do I copy them and paste them into /var/theos/include too?

You already copied the headers to that location, no?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines