Open mavavilj opened 8 years ago
which branch are you on? I would recommend v0.2.0
master
v0.2.0 gives the exact same error, when opening the .jucer.
if you open the introjucer, load the jucer file and navigate to config > Xcode > Debug you can see some paths under "Header search paths" the z_libpd.h file resides in the ../../../libpd/libpd_wrapper folder. Make sure that is the case and then click on save and open in IDE.
Are you sure the paths are correct?
The paths are (checked in Finder):
Pd-Pulp-0.2.0/FX/PdPulpFX.jucer Pd-Pulp-0.2.0/libpd/z_libpd.h
It seems that the Xcode project doesn't give the error. Only Projucer, when building the .jucer.
hmm well I actually use the Introjucer... And I think the paths are relative from the xcode project
I've tried changing the paths.
It simply doesn't find it. Odd.
OK so I changed
in PdBase.hpp.
And now it finds it.
Wonder what's wrong with the paths then. Because what I added there is the same exact path as in the Config.
also works. (???)
have you tried simply using the introjucer? you can find it under juce/extras/Introjucer and you just need to open in your IDE and build it
Wait, how?
There's a Introjucer.jucer, which opens Introjucer in Projucer. What do you mean by opening it in IDE and building it?
Follow these steps:
Note: The Pd Pulp project is from a time before the Projucer has been released.. And as far as I know its full usage is restricted to commercial licences.
Check out the answer by jules: http://www.juce.com/forum/topic/h-files-found-equivalent-xcode-project-not-projucer
That implies that the paths are set wrong.
However, I've now built Introjucer. And since it doesn't have the "live building" feature, then this approach might work, because now Xcode will be resolving the paths, not JUCE.
Does this work now?
I think the problem is still existing.
I got around it by building libpd from scratch (as described here: https://github.com/libpd/libpd/wiki/Working-with-libpd-in-Xcode#details) in order to use in the WDL-OL port I'm doing.
I think that (if you have time) if you built it for your project the same way, then it might be error-free. Since following the directions given in that page gives a pretty solid way to build libpd, one does not need to specify paths manually. It's all contained in the .xcodeproj.
cheers for sharing that information
I also added libpd as a git submodule (it was advised by the libpd developer). That way updating libpd is easier.
Upon opening the supplied .jucer in the zip file in ProJucer, the Build panel gives the error:
'z_libpd.h' file not found
Wonder if this is because my OS is supposedly 64-bit and the supplied libpd is 32-bit?
The paths may be wrong as well.