warning C4743: 'const caffe::MemoryDataLayer<float>:: 'vftable' has different size in 'abc1.cpp'

111 views
Skip to first unread message

Atena Nguyen

unread,
Jul 15, 2017, 9:02:58 AM7/15/17
to Caffe Users

Hello,

I encounter this warning


Warning C4743 'const caffe::MemoryDataLayer<float>::`vftable'' has different size in 'abc.cpp' and 'caffe\layers\memory_data_layer.cpp': 176 and 184 bytes

when using Caffe in another existing project, C++, visual studio 2015. Because of this warning, I got two errors of

C22: Warning treated as error - no 'executable' file generated 
LNK1257 code generation failed 

Do you have any idea how to fix it?

Thank you in advance!


Note: I have tried to comment out memory_data_layer and my project compiled successfully. However, I do need that layer for testing the network with memory data.

Reply all
Reply to author
Forward
0 new messages