jaeandersson / swig

SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages.
http://www.swig.org
Other
23 stars 19 forks source link

default names for output files are inconsistent #104

Open KrisThielemans opened 2 years ago

KrisThielemans commented 2 years ago

For a module called swigexample

swig -matlab example.i

generates example_wrap.cxx, a folder +swigexample, and m files calling swigexampleMEX.

This means that either you have to use mex example_wrap.cxx -output swigexampleMEX, or use swig -mexname example_wrap or use swig -o swigexampleMEX.cxx