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
peardox
Posts: 1,229
Registered: ‎03-20-2011
My Device: Playbook, Z10 LE, Dev Alpha B, 2x Dev Alpha C
My Carrier: 3, Orange, Vodafone
Accepted Solution

Momentics seemingly not following include directives

I've build the unrar code but don't want to make it into a library

 

I've got two directories I copied into Cascades from a WebWorks extension build

 

rarsrc - The source for unrar

inc - a load of includes that can't live in any source directory

 

I've set rarsrc as a source directory (that works)

I set inc as a C/C++ include directory (that don't work)

 

As soon as the compile hits #include <something_in_inc> it says it can't find it

 

The include is in all configurations but doesn't do anything

 

The stuff in inc is a mix of source and headers but won't compile in a source directory of a Managed IDE

 

I'm just a bit peeved that I'm gonna have to manually alter source that compiles as a WebWorks Extension just so Momentics can find the files

 




Click the like button if you find my posts useful!
Please use plain text.
Developer
simon_hain
Posts: 16,101
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Momentics seemingly not following include directives

I added a line to my pro file to include the headers:
INCLUDEPATH += $$quote($$BASEDIR/IncludeDir)
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Developer
peardox
Posts: 1,229
Registered: ‎03-20-2011
My Device: Playbook, Z10 LE, Dev Alpha B, 2x Dev Alpha C
My Carrier: 3, Orange, Vodafone

Re: Momentics seemingly not following include directives

Thanks - new to Cascades so sometimes it don't do what I expect :smileysad:




Click the like button if you find my posts useful!
Please use plain text.