-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to build with cmake: git submodule errors #318
Comments
Hmm. I think I encountered this recently as well. A side effect of some otherwise well-meaning changes to allow pFUnit to be built embedded within other applications. Probably the easiest workaround if your environment supports it, is to clone without the |
Thank you! I found a workaround, the error is here: pFUnit/cmake/build_submodule.cmake Line 25 in 93dfc77
And the same error is in one of the 'external' submodule files. |
OK - glad you found it. Is it possible that this should be |
I'm pretty sure this error is because you've got quite an old version of git that requires I think the correct fix for pFUnit is: |
Sorry for my late reply. Thanks @ZedThree, I can confirm that setting the working directory to |
I encountered the same problem, also with an old version of git. |
I forget the full history at this point, but it is possible/probably that this was my initial motivation. I wanted to make it as easy-as-possible for a new user to get started. Short of actually writing any documentation, that is. ;-) This came at the price of buggy logic in my cmake implementation. I wish that I could just assume that users would not be put off by the extra dependencies and be expected to separately install gFTL, gFTL-shared, and fArgParse. Easy, but I can see haw that would be daunting to a new user, esp. if they don't know cmake. But it is how I generally build, which is partly why I'm not always aware of the other approaches breaking. The CI could probably be expanded to check all possible ways of building, but ... not my top priority at the moment. |
I am trying to build pFUnit, I've tried the following:
But the submodules are there. Any ideas what I should do to fix this?
The text was updated successfully, but these errors were encountered: