import GitHub makefile project into eclipse

676 views Asked by At

I tried to compile a project of stm32f4 from GitHub on eclipse, this is its link: https://github.com/piratfm/codec2_m4f

Follow some instructions on internet, I did: Import->c/c++-> Existing code as makefile project->Choose path of project folder and tick Cross Arm GCC in "toolchain for Indexer setting"-> Click finish.

Click build, I got these error in console:

make[2]: *** [misc.o] Error 2

make[1]: Leaving directory `C:/Users/abcd/Desktop/codec2_m4f-master/lib'

make[1]: *** [all] Error 2

make: *** [lib] Error 2.

and in problem:

Description Resource    Path    Location    Type

make[2]: *** [misc.o] Error 2   codec2_m4f-master  C/C++ Problem

make[1]: *** [all] Error 2  codec2_m4f-master  C/C++ Problem

make: *** [lib] Error 2 codec2_m4f-master C/C++ Problem

I installed everything to compile and build C/C++ project for stm32f4 on eclipse, I tested it with some simple project as blink led.

Any opinion to fix these problem? or I will run it on Linux platform

Can somebody try building it and upload debug folder?

Thanks

0

There are 0 answers