我決定開始通過Spotifi的API實際工作一點點來開始學習C++。C++和Spotify API入門
所以我下載了windows環境的正確文件,並設置了MinGW來使用它進行編譯。
現在,一切都設置,我加載一個Sublime2項目Spotify的-examples文件夾和運行構建,但問題是,我似乎無法通過以下錯誤:
c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe:D:\W0RK\Software\spotify-examples\Makefile: file format not recognized; treating as linker script
c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe:D:\W0RK\Software\spotify-examples\Makefile:1: syntax error
collect2.exe: error: ld returned 1 exit status
[Finished in 0.4s with exit code 1]
這是我的自定義崇高構建配置:
{
"cmd": ["C:\\MinGW\\bin\\mingw32-g++.exe", "-Wall", "-time", "--verbose", "$file", "-o", "$file_base_name"]
}
我失去了在建設過程中的任何一步?
這是我其實也必須做的:http://stackoverflow.com/questions/5214820/how-to-use-a-makefile-for-mingw-on-win32 – Alex 2013-02-27 01:24:54