What is the wrong with my C++ interfacing
Ferhat Kurtulmuş
aferust at gmail.com
Mon Mar 16 10:32:51 UTC 2020
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_ at H@cv@@QEBAHXZ
>> ?aspectRatio@?$Size_ at 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 ;)
More information about the Digitalmars-d-learn
mailing list