Px4/Pixhawk firmware compiling show the CMake Error in Eclipse IDE

Hello everyone,

I download the pixhawk source code through the px4 toolchain ,and complete compiling successfully with console pattern.
but error occur in the Eclipse IDE compile process under windows7 and the end result show me as following:

CMake Error: The source directory
“C:/px4Firmware” does not appear to contain CMakeLists.txt.

so i check some old posting article , people provide many way to resolve this problem:
To fix the problem you just have to write PWD = “C:\px4\Firmware” to set the variable to the right value.with a very small add-on onthe header of the makefile, it works fine. i try this way but result is no change from previous one.

manually install cmake, download the binary files from https://cmake.org/download/, the you copy the contents
of the zip file to C:\px4\toolchain\msys\1.0. and put all the contents of bin folder to bin folder in C:\px4\toolchain\msys\1.0\bin,
the contents of share folder to C:\px4\toolchain\msys\1.0\share and so on. and the compile result is also faiture.

some people mentioned it is related with the sequence of console and Eclipse IDE, advice before using eclipse, should compile firmware in PX4 Console first. yes i conduct this as the note but no any positive
change occured.

so i really puzzled that the firmware code and the Eclipse enviroment is matched properly or friendly?
and i now what should do to kill this trouble?

many developer post this problem on internet but pixhawk team never response this error officially and normally. i expect see the announcement appeared on the official website and developer forum.

appreciate all people’s attention to this problem!

Did you make any progress with this? I have this problem as well.
Seems to be little infomation on it so lets hope someone chips it with some expert advice.

Sorry, we can’t really support the Windows toolchain. See the red box here: http://dev.px4.io/starting-installing-windows.html

The cmake “Eclipse/CDT4 - Ninja” project generator works well for me with Eclipse running on Ubuntu 15.10.
Builds work inside Eclipse and the C++ indexer seems to find all symbols which before were completely obfuscated by the use of C macros and auto-generated headers. I’d suggest running Ubuntu LTS in a VM instead of trying to make the build environment work in Windows.

OK, Thanks for taking the time to reply.

I must confess, I am an “Ubuntu Virgin” but will give it a go.
What VM would you suggest?

I hear that this works well on Windows: https://www.virtualbox.org/wiki/Downloads