Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Can't seem to integrate the library in to my c++ project (using BB Playbook native with eclipse ide) #7

Open
ghost opened this Issue Dec 30, 2012 · 7 comments

Comments

Projects
None yet
1 participant
@ghost

ghost commented Dec 30, 2012

Does anyone have a guide on to exactly how to integrate the library?
Every time I try I end up with errors, either things missing/cant find some source or link lib problems

Member

kwhatmough commented Dec 30, 2012

What are the details of the issues you are experiencing? Is it building the libs or linking them into your project? You can look at GamePlay as an example, since it uses this project for the BlackBerry targets.

Sent from my BlackBerry device on the Rogers Wireless network.

From: MikePembo951
Sent: Sunday, December 30, 2012 1:33 PM
To: blackberry/Bullet
Reply To: blackberry/Bullet
Subject: [Bullet] Can't seem to integrate the library in to my c++ project (using BB Playbook native with eclipse ide) (#7)

Does anyone have a guide on to exactly how to integrate the library?
Every time I try I end up with errors, either things missing/cant find some source or link lib problems

\u2014
Reply to this email directly or view it on GitHubhttps://github.com/blackberry/Bullet/issues/7.


This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

@ghost

ghost commented Dec 31, 2012

The problem is with linking it. (Assuming that I have built it correctly).
Output from building Bullet in Eclipse:
BulletOu1
BulletExampleOfSourceOutput
(^Is the above output correct?)
What else do I need to integrate Bullet in to my project?

What steps to I take to integrate this in to my project?

@ghost

ghost commented Dec 31, 2012

Just had another go at integrating the library and I get this error when trying to build.
I added Bullet through the add library wizard. (Should I use the source from the output of the build version of Bullet (.o files) or the actual unbuilt source (.h .cpp files) on the "include source" section).

Error:
C:\bbndk-2.1.0-beta1\host\win32\x86\usr\bin\ntoarm-ld: of: No such file: No such file or directory

Without the library it builds fine.

Member

kwhatmough commented Dec 31, 2012

You might find that the most simple is to just add the .cpp and .h files from Bullet to your project directly without even building or linking Bullet library. This is common for one-off projects that don't require the efficiency of a separately built library. This blackberry/Bullet repo gives you Neon optimizations too, but like I say to just get something up and running your simplest path is often to add source files directly into your project.

Sent from my BlackBerry device on the Rogers Wireless network.

From: MikePembo951
Sent: Sunday, December 30, 2012 7:34 PM
To: blackberry/Bullet; Ken Whatmough
Reply To: blackberry/Bullet
Subject: Re: [Bullet] Can't seem to integrate the library in to my c++ project (using BB Playbook native with eclipse ide) (#7)

Just had another go at integrating the library and I get this error when trying to build.
I added Bullet through the add library wizard. (Should I use the source from the output of the build version of Bullet (.o files) or the actual unbuilt source (.h .cpp files) on the "include source" section).

Error:
C:\bbndk-2.1.0-beta1\host\win32\x86\usr\bin\ntoarm-ld: of: No such file: No such file or directory

Without the library it builds fine.

\u2014
Reply to this email directly or view it on GitHubhttps://github.com/blackberry/Bullet/issues/7#issuecomment-11770682.


This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

@ghost

ghost commented Dec 31, 2012

Okay, thanks :) I'll just use the source then.

@ghost

ghost commented Jan 1, 2013

Update:
Builds fine now, using the library or the source!
The only thing I changed was remove all spaces in file paths.

Member

kwhatmough commented Jan 1, 2013

Thanks for the update. We will look into it.

Sent from my BlackBerry device on the Rogers Wireless network.

From: MikePembo951
Sent: Tuesday, January 1, 2013 9:08 AM
To: blackberry/Bullet; Ken Whatmough
Reply To: blackberry/Bullet
Subject: Re: [Bullet] Can't seem to integrate the library in to my c++ project (using BB Playbook native with eclipse ide) (#7)

Update:
Builds fine now, using the library or the source!
The only thing I changed was remove all spaces in file paths.

\u2014
Reply to this email directly or view it on GitHubhttps://github.com/blackberry/Bullet/issues/7#issuecomment-11789564.


This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment