看板 C_and_CPP 關於我們 聯絡資訊
開發平台(Platform): (Ex: VC++, GCC, Linux, ...) Windows 7、MinGW、MSYS、GCC 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...) crypt 問題(Question): 以gcc -o test -s test.c -lcrypt compile成功,但是不能run, 一開始執行顯示「無法起動程式,因為您的電腦遺失msys-crypto-0.dll……」, 後來去抓了該dll檔之後, 變成「msys-crypt-0.dll不是設計為在Windows上執行……」, 第一次使用MSYS來編譯,不知道是哪裡做錯了呢?囧 餵入的資料(Input): N/A 預期的正確結果(Expected Output): N/A 錯誤結果(Wrong Output): N/A 程式碼(Code):(請善用置底文網頁, 記得排版) code : http://codepad.org/Dmhl5Jyx 錯誤的圖片:http://imageshack.us/photo/my-images/263/89718064.png/ 補充說明(Supplement): 關於MinGW、MSYS有很多地方不懂, 還請各位高手多擔待, 感激不盡! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.133.99.64
BigTora:我蠢了…結果是載來的.dll壞了…… 06/22 05:10
BigTora:換一個dll就好了..................... 06/22 05:11