-
Notifications
You must be signed in to change notification settings - Fork 29
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
SIRF build fails on NiftyMoMo #784
Comments
This was flagged up by @rijobro as a potential problem, and indeed it's there 😢 note that it got the include file from I guess we will have to put this in |
Yup, sorry about this. See #783. |
thanks! |
I stumbled upon this problem building SIRF master after I built v2.2.0. Maybe it's something for SIRF's CMake to remove that directory rather than UPDATE.sh? Actually, we could delete all |
I can't see us doing this in CMake (it'd be rather weird to have a build wipe some of your install), but of course the UPDATE.sh script could easily do that. |
Sorry that this has caused so many problems. Might be easier to address the problem this way as it would be tidier and more future proof. |
What about the SuperBuild to remove the directory if present? |
As @KrisThielemans , could go in the UPDATE.sh script, but shouldn't really go in the build/install instructions. Wouldn't be expected for either of those steps to be deleting folders in the install location. |
I find deleting things in an install directory a bit scary. You don't know what the user has done or wants to do. I suspect that there are few people left who haven't deleted this themselves, or wouldn't be using the VM |
This problem prevents SIRF to build in the SuperBuild throwing a very strange error. I could put the fix in I think this is mostly a SuperBuild bug and should be fixed there with a pre compile step. |
It is not a SuperBuild bug. It is a SIRF bug that it looks for include files in the wrong place (you should never go and find things in the install directory first, before looking in the source directory). The problem is that it's hard to track down who puts the install path before the SIRF source, and then to fix that. See #783 for info. As far as I understand, you will only hit this problem if you have built an old version of SIRF before, and are trying to install in the same location. This is something that we don't recommend on our wiki. If it happens as well with a new version, then this problem becomes much more serious |
I believe the problem is this line.
The solution is just to remove |
remove BEFORE in target_include_directories. Fixes #784
Building SIRF master on VM fails with
The text was updated successfully, but these errors were encountered: