mex doesn't recognize inline

后端 未结 2 1684
[愿得一人]
[愿得一人] 2021-01-20 20:57

I\'m trying to compile a matlab wrapper for libdc1394 which is a library for firewire cameras. I get a strange error involving some inline functions in a header file. I\'m

2条回答
  •  爱一瞬间的悲伤
    2021-01-20 21:26

    Well Simons proposal was correct. Only catch I didn't know was that you can't give cflags directly to mex. You have to alter your mexopts.sh file. Also I had to remove -ansi flag because it contradicts with c99.

提交回复
热议问题