# Can not add Box2D in processing

**URL:** https://discourse.processing.org/t/can-not-add-box2d-in-processing/11600
**Category:** Libraries
**Created:** [May 26, 2019, 8:27am UTC](https://discourse.processing.org/t/can-not-add-box2d-in-processing/11600 "2019-05-26T08:27:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![CodingIsLife](https://avatars.discourse-cdn.com/v4/letter/c/6de8d8/32.png) [@CodingIsLife](https://discourse.processing.org/u/CodingIsLife)
#### Post date: [May 26, 2019, 8:27am UTC](https://discourse.processing.org/t/can-not-add-box2d-in-processing/11600/1 "2019-05-26T08:27:17Z")

</div>

I was reading The Nature of Code ( the book written by Mr. Daniel Shifman). There I found the chapter which contains physics libraries. I wanted to add Box2D (the processing version of Box2D) to my processing.

I downloaded the library for pbox2d from this link - [https://github.com/shiffman/Box2D-for-Processing](https://github.com/shiffman/Box2D-for-Processing) . And then I added it to processing.

But when I implemented some code from nature of code it did not work. For example processing was saying that there is nothing as PBox2D.

Please help me. Thanks in advance

---

<div class="post-metadata">

### Author: ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)
#### Post date: [May 26, 2019, 8:31am UTC](https://discourse.processing.org/t/can-not-add-box2d-in-processing/11600/2 "2019-05-26T08:31:52Z")

</div>

assuming you use  
Processing IDE 3.5.3 can load library:

 ![SNAG-0116](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/3/340902db656c76acb6b88bac19717b8545574d02.jpeg)

 ![SNAG-0117](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/6/6500798d9b92f9a33c2cdcd57e9218825a573af4.jpeg)

---

<div class="post-metadata">

### Author: ![CodingIsLife](https://avatars.discourse-cdn.com/v4/letter/c/6de8d8/32.png) [@CodingIsLife](https://discourse.processing.org/u/CodingIsLife)
#### Post date: [May 26, 2019, 8:37am UTC](https://discourse.processing.org/t/can-not-add-box2d-in-processing/11600/3 "2019-05-26T08:37:16Z")

</div>

Thanks a lot. It worked fine…
