-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Compile PG from fresh git download instructions leads to compile error: no matching function for call to '__search_impl' #406
Comments
I can't reproduce on my system, it is 12.6.8, M1Pro. I've inspected the full log and it seems to be related to the new function ofIsPathInPath, but strangely it shows another line number than what I'm seeing here. |
I'm systematically working the instructions INSTALL_FROM_GITHUB (fresh machine here so I take opportunity) so the PG code is pulled alongside the OF tree, but in there the submodule points to a specific commit (I guess it should track head?): https://github.com/openframeworks/openFrameworks/tree/master/apps |
and thinking about this, and the mention in the instructions that says:
that is not very elegant nor clear. why try to compile within the OF tree if it's so messy (I know I never managed to succeed, but I'm trying again by following the instructions). so I'm thinking: why is it important to have the PG as a submodule? and why do we try to have users do something clunky? if nobody does it, it's only noise, and additional work to try to support it... it could be simply distributed as a standalone, and packaged in the releases. |
I agree, wondered the same. maybe it is something to aim in the future |
yes, for the moment I'm thinking mostly about the "install from git" instructions, and streamlining that process. I've made an issue to discuss the specific instructions and what we want to "expose" to potential users there. edit to add: openframeworks/openFrameworks#7609 |
Are you still getting this issue from PG latest? thanks |
yes but as mentioned above it should be considered I'm following the "install from GitHub" instruction, which pulls an older submodule projectGenerator @ bdff376 so it's stuck 2 weeks ago as seen in https://github.com/openframeworks/openFrameworks/tree/master/apps |
ok. I think instructions are a separate issue. |
App Store Xcode! but I'm not sure how to organise the PG "source code" without being within OF -- the PG README instructions also say to download OF and get the submodule...? |
and to be clear it's not about the instructions themselves; the problem is the submodule in OF refers to a specific, older projectGenerator @ bdff376 PG commit: https://github.com/openframeworks/openFrameworks/tree/master/apps |
I'm not using this in a standard way but I can share what I am doing here. for the commandline I usually go to $ofw/apps/projectGenerator and pull to latest (it is not the thing submodule init / update will do) and ok, we have latest there. and I usually make changes in a parallel folder $ofw/apps/pgd to test my PRs compile them, generate projects and push when they are ok. as a submodule it is often updated but usually I'm pulling latest to test. I think scripts to build nightly pull the latest too but I'm not sure. I too am trying to navigate this project complexity, and proposing changes that can simplify from time to time. |
yes - huge +1 if we can get apothecary and projectGenerator submodules kept up to date in master it doesn't affect the nightly builds as they always update as part of the process but it def affects people checking out from git. |
from the PG side, one way or another, the build instructions within the projectGenerator repo should end up pulling latest (right now they don't as they go through the OF submodule). and from the OF side I recommend removing the concept of users build PG themselves: openframeworks/openFrameworks#7609 if there is consensus I can take a stab at re-writing the instructions (I already have 2 tweaks proposed: openframeworks/openFrameworks#7606 openframeworks/openFrameworks#7607) (there is little value in compiling PG by hand if the PG-nightlies produce the latest possible binaries anyway.) |
and to make things clear: the steps, and attached my log for the result:
|
I think this one is resolved in the latest from projectGenerator. but OF submodule is not pointing to latest yet |
i confirm that with HEAD it compiles and links! will make a separate issue about submodule tracking. |
on macOS 13.5.1, M2Pro, Xcode 14.3.1, following the instructions to build PG fails on
make Release
with:complete log attached.
of-error.log
The text was updated successfully, but these errors were encountered: