Skip to content
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

Difference between "make px4fmu-v2_default" and the "make -j1 px4fmu-v2_default" in px4 toolchain #6698

Closed
zimoqingfeng opened this issue Mar 1, 2017 · 3 comments

Comments

@zimoqingfeng
Copy link

Hello,

I used the cmd 'make px4fmu-v2_default' and 'make -j1 px4fmu-v2_default'.
The OS is windows 10, version:px4_toolchain_installer_v14_win.exe

I failed to build the PX4 by the first command at the first time,
and i tried the second command , then sucessfully built it,
maybe the second command is much more faster than the first during the compiling,
and i tried the first command again, it became successful,

And i would like to know the difference between the two commands,

Thank you in advance!
any help would be appreciated!

BR,

@dagar
Copy link
Member

dagar commented Mar 4, 2017

The actual build system is cmake, but we have a Makefile wrapper to try and keep it simple. You shouldn't specify parallel flags at the top level.

My guess is on Windows the first time the build failed for an unrelated reason (race condition or bad build dependency) and the second time it succeeded. Windows is not well supported for PX4 development as most developers are using Ubuntu (natively or in Virtualbox/VMWare), or OSX.

There's some interest in improving the Windows dev experience here, #6697

@zimoqingfeng
Copy link
Author

Thanks for your guide! And i will check it more clearly.

@julianoes
Copy link
Contributor

I'm closing this since there is #6697.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants