charlesneimog / pd4web

Run your Pure Data patches on the web with externals.
http://charlesneimog.github.io/pd4web/
Other
6 stars 1 forks source link

[else/float2sig~] object is not compiling #18

Closed luismrguimaraes closed 3 hours ago

luismrguimaraes commented 4 hours ago

Here is the error I'm getting:

Traceback (most recent call last):
  File "/opt/homebrew/bin/pd4web", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/pd4web/__init__.py", line 8, in main
    Pd4WebInstance.argParse()
  File "/opt/homebrew/lib/python3.11/site-packages/pd4web/pd4web/Pd4Web.py", line 79, in argParse
    self.Execute()
  File "/opt/homebrew/lib/python3.11/site-packages/pd4web/pd4web/Pd4Web.py", line 108, in Execute
    self.ExternalsBuilder = GetAndBuildExternals(self)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/pd4web/pd4web/Builder.py", line 21, in __init__
    OK = self.GetObjectsSourceCode()
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/pd4web/pd4web/Builder.py", line 221, in GetObjectsSourceCode
    raise Exception("Could not find " + patchLine.name)
Exception: Could not find float2sig~

I'm using version 2.0.10rc6 and have already tried again after removing the build/ and the Pd4Web/ folders.

luismrguimaraes commented 3 hours ago

Also else/perlin~. Let me know if you were already aware of this. I haven't yet seen a list with all the supported objects, so I'm trying to be helpful and by reporting all the unsupported I find.

charlesneimog commented 3 hours ago

Thank to report! I thought this was resolved, it has to do with abstractions.

All the objects not supported should print an error message, this is not the case for perlin~ and float2sig~, this should be fixed from commit f2eb208e81271236b222ee39c1d930d3717f5802, again you must install using

pip install git+https://github.com/charlesneimog/pd4web
luismrguimaraes commented 2 hours ago

Great, I'll confirm it tomorrow. I also got errors when compiling [else/db2lin] and [cyclone/db2a].

luismrguimaraes commented 2 hours ago

Apparently, for the cyclone object, it's a cmake error.

charlesneimog commented 2 hours ago

I believe was the same error! Both objects are compiling here!

Let me know!