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
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!