# P3D on Mac problems

**URL:** <https://discourse.processing.org/t/p3d-on-mac-problems/7005>\
**Category:** Processing\
**Created:** [December 30, 2018, 12:06am UTC](https://discourse.processing.org/t/p3d-on-mac-problems/7005 "2018-12-30T00:06:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sham](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@sham](https://discourse.processing.org/u/sham)\
**Post date:** [December 30, 2018, 12:06am UTC](https://discourse.processing.org/t/p3d-on-mac-problems/7005/1 "2018-12-30T00:06:26Z")

</div>

Hi All,

Happy Holidays!! I am spending my days trying to create an audio visualizer using Processing with P3D and Minim. I am relatively new to Processing, so if anyone has any previous projects in that area that I could use as reference I would greatly appreciate it!

I am using Processing v3.4 on Mac and I have come to realize that I cannot use P3D at all. I have tried to simply use size(100, 100, P3D) in setup(), and I get an error with “Could not run the sketch (Target VM failed to initialize).” as the description. Anyone have any ideas as how to fix this? Thanks!

---

<div class="post-metadata">

**Author:** ![Sarah](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/sarah/32/1675_2.png) [@Sarah](https://discourse.processing.org/u/Sarah)\
**Post date:** [December 30, 2018, 2:55am UTC](https://discourse.processing.org/t/p3d-on-mac-problems/7005/2 "2018-12-30T02:55:31Z")

</div>

This might help:

> **[Processing 2.x and 3.x Forum](https://forum.processing.org/two/discussion/20474/could-not-run-the-sketch-target-vm-failed-to-initialize-empty-sketch)**
>
> Processing is an electronic sketchbook, a language and a worldwide community. This is its forum.

  

> <https://github.com/processing/processing/issues/4863>

---

<div class="post-metadata">

**Author:** ![sham](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@sham](https://discourse.processing.org/u/sham)\
**Post date:** [December 30, 2018, 4:03am UTC](https://discourse.processing.org/t/p3d-on-mac-problems/7005/3 "2018-12-30T04:03:59Z")

</div>

Thanks for these! I looked through them but I couldn’t find a solution unfortunately. But i’ll keep tinkering and hopefully the problem will sort itself out.
