Inheritance - Symbol undefined Objective-C++

后端 未结 1 1042
悲哀的现实
悲哀的现实 2021-01-24 17:10

quick question... this is just a misunderstanding on inheritance my end so this should be quick to fix (I\'m using objective-c++). I\'ll take the question off if it\'s already b

1条回答
  •  孤城傲影
    2021-01-24 17:44

    You're not linking the .o file generated when compiling Derived.cpp. Just add Derived.o to the end of your compiler arguments when you compile your Wrapper.mm file to create an executable and you should be good (though I hadn't even ever heard of obj-c++ before)

    0 讨论(0)
提交回复
热议问题