3/16/2023 0 Comments 2d objects using nodebox 3![]() ![]() Tested on OS X Mavericks (System Version: OS X 10.9.3 (13D65), Kernel Version: Darwin 13.2.0) using Homebrew Python 2.7.6. I already created a pull request with fixed setup.py lib paths, see here. # - Numpy (installable using "easy_install numpy") # - Numeric (included in the "libs" folder) # - polymagic (included in the "libs" folder) # - cPathMatics (included in the "libs" folder) You can also use a Sprite Unlit Graph - the only difference will be the light. Let’s get started by creating a brand-new Shader Graph by going to Create->Shader->2D Renderer->Sprite Lit Graph. Now the package installed successfully and we should be able to use it: $ pythonĪlso, you may still need to manually install some of the dependencies for everything to work correctly, as noted in setup.py itself: # We require some dependencies: We’re going to add an option to do four additional outline texture samples to the top-left, top-right, bottom-left and bottom-right of each pixel. Writing /lib/python2.7/site-packages/NodeBox-1.9.7rc2-py2.7.egg-info Try install again: $ python nodebox/setup.py install # Extension('cPolymagic',, extra_link_args=)Įxtension('cPathmatics', ),Įxtension('cPolymagic',, extra_link_args=) Now it turns out some lib paths in setup.py are wrong, no one probably used this for some time while the libs moved around, but we can fix it: # ext_modules = [ So setup.py needs to import the nodebox package, let's add the project root dir to Python path, so that the nodebox package can be found and try again: $ export PYTHONPATH=$PYTHONPATH.Ĭlang: error: no such file or directory: 'nodebox/ext/cGeo.c'Įrror: command 'clang' failed with exit status 1 ![]() Let's grab the source and try to install it: $ git clone ![]() The source apparently moved from SVN to GitHub at as mentioned on the download page and the source package structure changed too. We should be installing the usual way from the source, but as you say the procedure is rather outdated. We currently recommend using Subversion to grab a copy: If you want to use NodeBox from the command line, you will have to install it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |