On Monday, 16 March 2020 at 09:28:15 UTC, drug wrote:
On 3/16/20 12:24 PM, Ferhat Kurtulmuş wrote:

Ok, here is a solution. I opened my lib (yielded by my auxilary cpp) using 7zip. There are two files containing symbol names, 1.txt and 2.txt. I searched for names of member functions. They were not there because c++ compiler does not compile member functions of class templates because we don't actually use them. So, I simply include this line in my aux cpp file and recompiled it:

template class cv::Size_<int>;

I reopened 1.txt and they are there now:

?area@?$Size_@H@cv@@QEBAHXZ
?aspectRatio@?$Size_@H@cv@@QEBANXZ

now everything works :D


Would be nice if you update wiki ;)

It would be better for someone more experienced to do this ;)

Reply via email to