Compile libIEC61850 with mingw and eclipse fails -
hy have installed mingw , eclipse-cdt. trying compile project libiec61850:http://libiec61850.com/..
i installed cmake here
after extracted libiec61850 created new folder build-mingw , started following command: cmake .. -g"eclipse cdt4 - mingw makefiles"
command ends with:
-- generating done
-- build files have been written to: e:/libiec61850-0.8.0/build-mingw
after imported folder build-mingw eclipse(with out copy files workspace)
when start make target : fails
can 1 tell me did wrong? here error line cdt:
17:33:43 **** build of project libiec61850@build-mingw **** "c:\\mingw\\bin\\mingw32-make.exe" "c:\program files (x86)\cmake\bin\cmake.exe" -he:\libiec61850-0.8.0 -be:\libiec61850-0.8.0\build-mingw --check-build-system cmakefiles\makefile.cmake 0 "c:\program files (x86)\cmake\bin\cmake.exe" -e cmake_progress_start e:\libiec61850-0.8.0\build-mingw\cmakefiles e:\libiec61850-0.8.0\build-mingw\cmakefiles\progress.marks c:/mingw/bin/mingw32-make -f cmakefiles\makefile2 mingw32-make[1]: entering directory 'e:/libiec61850-0.8.0/build-mingw' c:/mingw/bin/mingw32-make -f src\cmakefiles\iec61850.dir\build.make src/cmakefiles/iec61850.dir/depend mingw32-make[2]: entering directory 'e:/libiec61850-0.8.0/build-mingw' "c:\program files (x86)\cmake\bin\cmake.exe" -e cmake_depends "mingw makefiles" e:\libiec61850-0.8.0 e:\libiec61850-0.8.0\src e:\libiec61850-0.8.0\build-mingw e:\libiec61850-0.8.0\build-mingw\src e:\libiec61850-0.8.0\build-mingw\src\cmakefiles\iec61850.dir\dependinfo.cmake --color= mingw32-make[2]: leaving directory 'e:/libiec61850-0.8.0/build-mingw' c:/mingw/bin/mingw32-make -f src\cmakefiles\iec61850.dir\build.make src/cmakefiles/iec61850.dir/build mingw32-make[2]: entering directory 'e:/libiec61850-0.8.0/build-mingw' "c:\program files (x86)\cmake\bin\cmake.exe" -e cmake_progress_report e:\libiec61850-0.8.0\build-mingw\cmakefiles [ 0%] building cxx object src/cmakefiles/iec61850.dir/common/string_map.c.obj cd /d e:\libiec61850-0.8.0\build-mingw\src && c:\mingw\bin\g++.exe -dexclude_ethernet_windows @cmakefiles/iec61850.dir/includes_cxx.rsp -o cmakefiles\iec61850.dir\common\string_map.c.obj -c e:\libiec61850-0.8.0\src\common\string_map.c src\cmakefiles\iec61850.dir\build.make:54: recipe target 'src/cmakefiles/iec61850.dir/common/string_map.c.obj' failed mingw32-make[2]: *** [src/cmakefiles/iec61850.dir/common/string_map.c.obj] error 1 mingw32-make[2]: leaving directory 'e:/libiec61850-0.8.0/build-mingw' mingw32-make[1]: *** [src/cmakefiles/iec61850.dir/all] error 2 cmakefiles\makefile2:1325: recipe target 'src/cmakefiles/iec61850.dir/all' failed mingw32-make: *** [all] error 2 mingw32-make[1]: leaving directory 'e:/libiec61850-0.8.0/build-mingw' makefile:116: recipe target 'all' failed
i found solution build it. had add path msys bin folder path , extracted project , imported eclipse using "existing code makefile project" import. have run target of makefile in project root , you'll library .a file.
Comments
Post a Comment