How to create a .lib file for graph.h graph.cpp and mxflow.cpp files to be used futher for mbuild parameters
7 ビュー (過去 30 日間)
古いコメントを表示
I am using MATLAB 2009a on Windows OS. I require to use maxflow v-3.01's .h and .cpp files as library files to be used for finding the maximum flow in a graph using a maxflow function of cpp. from MATLAB
For mbuild to work, how to first create a .lib for all .cpp and .h files in it.
I will be very thankful if you can help me.
Please suggest if there is any other way out.
0 件のコメント
回答 (1 件)
Titus Edelhofer
2012 年 1 月 16 日
Hi,
you can either use mbuild itself for this task (add a .exports file to your list of files to be compiled, see
doc mbuild
or, could be easier: just add all the .cpp files when compiling your mex function.
Titus
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で MATLAB Compiler SDK についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!