[問題] 無法執行plplot範例
開發平台(Platform): (Ex: VC++, GCC, Linux, ...)
CodeBlocks, C++
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
plplot
問題(Question):
我用cmake編譯plplot是用plplot資料夾下的bindings\c++\cmakelists.txt,但
其他資料夾下還有好幾個cmakelists.txt,請問該用哪一個才對?
我用上面講的檔案編譯plplot後,得到codeblocks 的專案檔。開啟專案檔後再
開plplot的範例程式,然後按build and run按鈕,codeblocks 卻只跳出
「You can't "run" a command only target...」的對話框,按確定後就沒了。
請問這是什麼意思? 若不開專案檔直接編譯範例程式,至少還可以得到一堆訊息
,說缺什麼什麼檔案。
謝謝
餵入的資料(Input):
plplot範例程式,如下
http://plplot.sourceforge.net/examples.php?demo=05&lbind=C%2B%2B
預期的正確結果(Expected Output):
可執行範例程式,畫出圖
錯誤結果(Wrong Output):
You can't "run" a command only target...
程式碼(Code):(請善用置底文網頁, 記得排版)
補充說明(Supplement):
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 180.177.9.247
C_and_CPP 近期熱門文章
PTT數位生活區 即時熱門文章
-4
5