[問題] Ubuntu(linux)下找compiler已回收

看板MATLAB作者 (︿( ̄︶ ̄)︿)時間15年前 (2010/06/19 00:59), 編輯推噓2(202)
留言4則, 4人參與, 最新討論串1/1
各位大大好! 小弟最近在Ubuntu下使用Matlab 2010a 來跑一個別人寫好的混合matlab code(裏頭有call到用C++寫成的funciton) 可是在輸入指令mex -setup後 可以選擇的compiler都很奇怪 1) home/~/bin/gccopts.sh : Template options file for building gcc MEX-files 2) home/~/bin/mexopts.sh : Template options file for building MEX-files via the system ANSI compiler 0) Exit with no changes 找不到其他的compiler,用這兩個也都一開始就會有error 而gcc和g++均已上網更新至最新 現在不知道要怎麼弄才能讓matlab detect 到其他的compiler? 研究了一陣子,無奈實力不夠無法找到解答QQ 請求各位大大的幫忙了 謝謝!! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.113.238.201

06/19 02:31, , 1F
error message?
06/19 02:31, 1F

06/19 02:50, , 2F
home/~/bin/gccopts.sh 檔案內容有指到你說的compiler嗎?
06/19 02:50, 2F

06/19 10:08, , 3F
請問樓上大大,要怎麼看檔案有沒有指向compiler阿?
06/19 10:08, 3F

06/24 09:29, , 4F
問一個,是你安裝啟動Matlab的嗎?有正常啟動環境設定?
06/24 09:29, 4F
文章代碼(AID): #1C6wNcTs (MATLAB)