-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
NuttX rsync error on windows #6332
Comments
Could you go into the build directory build_px4fmu-v2_default/ and run |
It's 11:00PM in China ,I will try tomorrow ,I'm sorry and thank you |
I'm guessing we need to use relative paths with rsync to work around the cygwin path confusion. |
- this is to work around confusion between cygwin and windows native paths - closes #6332
@FantasyJXF could you try the branch win_nuttx_rsync? |
Should I change the cmake/nuttx/px4_impl_nuttx.cmake to
And try the reinstall the PX4 Toolchain then repeat the steps What you said about "bracn win_nuttx_rsync" , I have no idea about it . I tried 'git branch -a ' and didn't see THE branch |
If you fetch (git fetch --all) you should see it. Otherwise you can manually change the 2 lines to test. If this works it'll go into master shortly. |
Still not OK. I reinstall the px4 toolchain, and conducted the following steps: 1 ) git clone https://github.com/PX4/Firmware.git
3 ) git submodule update --init --recursive it runs into a different problem 4 ) make clean it got the same wrong message as the above picture? Shouldn't I do the second step? |
It looks like you have gcc (mingw) 4.6.2. Can you update to at least 4.8 or 4.9? For master the build system is currently using 5.4. |
I would guess your submodules are now out of sync. |
It definitely is. We must be using some git submodule argument that isn't available in an older version, or yet another thing subtly broken on windows. Can you try.
We just want to make sure absolutely everything is clean and updated, the just building again with a more recent GCC. |
good news ,before taking your advice ,I run the But you might want to see the following pictures my gcc is 5.4.3,and the third picture showed the 4.6.2 , it confused me a lot . I'm going to try add a uORB topic and make it again, let's see what will happen. |
I really realy realy appreciate your help these days, all the time I work alone and there are so so many problems . I'm gong to figure it out what is the PIXHAWK |
- this is to work around confusion between cygwin and windows native paths - closes #6332
hello @FantasyJXF : Built target git_nuttx Could you tell me how you solved your problem? Seems that you are living in China, I can speak in Chinese. |
@lairay I think this problem has been solved by the official, I haven't met this question for a lonf time, you don;t need to modifiy anything |
But I still can't success in run "make px4fmu-v2_default". I can't find "usr/src/rsync"this folder and so do the main code /rsync-3.0.8/main.c(1148) Do you have any suggest? |
Make sure you have installed all the dependecies on the dev guide. And maybe you can change a computer or use a virtual machine to do this, btw, I use Ubuntu now. |
Okay. thank you. I will try that. |
This might be a new error, rsync on windows is a pain because of the mix between cygwin and native paths. The PX4 NuttX build was recently overhauled, but unfortunately we don't have any Windows continuous integration, so it tends to break. Please make sure all your windows dependencies are up to date, you're on the latest PX4 master, then if the build still fails open a new issue and tag me. Post the full build text, then try again with |
I compile the Firmware on my Windows 7
it runs out
and I just cant find the file
nuttx_copy_px4fmu-v2.stamp
Hoping for your answer ^_^
The text was updated successfully, but these errors were encountered: