如何转换Windows的rpath?

时间:2016-01-14 08:54:57

标签: algorithm matlab visual-studio gcc fedora

我想用matlab将这个用Fedora编写的rpath转换为windows。它应该在windows中兼容。如何更改与Windows兼容的gcc编译器?这是代码

 mex -v CC="gcc" CFLAGS="\$CFLAGS" LDFLAGS="\$LDFLAGS -Wl','-rpath','C:\OpenSim 3.2\bin\lib" ...
    -I/home/mammoth/e/lehre/FrameWorks/MotorControlFramework/Simulator/simtk/opensimbin/sdk/include ...
    -I/home/mammoth/e/lehre/FrameWorks/MotorControlFramework/Simulator/simtk/opensimbin/sdk/include/SimTK/include ...
    -L/home/mammoth/e/lehre/FrameWorks/MotorControlFramework/Simulator/simtk/opensimbin/lib ...
    -losimSimulation -losimCommon -losimActuators -losimTools -losimAnalyses -lSimTKcommon -lSimTKsimbody -lSimTKmath -lSimTKlapack ...
    simOsimModelLinearController.cpp

0 个答案:

没有答案