lltcggie / waifu2x-caffe

waifu2xのCaffe版
MIT License
8.08k stars 839 forks source link

about library.. #68

Closed damob-byun closed 7 years ago

damob-byun commented 7 years ago

no such file proto.lib

pragma comment(lib, "proto.lib") <-- error

pragma comment(lib, "libprotobuf.lib")

There is already a protobuf library on this line.

what is proto.lib?

nagadomi commented 7 years ago

It's a module of caffe. You should build caffe libs first. https://github.com/lltcggie/caffe-builder

damob-byun commented 7 years ago

Thank you for your help. I succeeded Caffe libs but I still have errors LNK2001: mdb_env_close unresolved external symbol. C:\waifu2x-caffe-master\waifu2x-caffe-dll\caffe.lib(db_lmdb.obj) waifu2x-caffe-dll

i guess caffe.lib doesn't open the lmdb.lib

Caffe builder option is like this

image

damob-byun commented 7 years ago

Solved them!

unchecked USER_LMDB and USER_LEVELDB

nagadomi commented 7 years ago

yeah, lltcggie presented the cmake option at https://gist.github.com/lltcggie/6af687bca94aba8c78b4