Skip to content

make all fails for .build_release/tools/convert_imageset.bin #2

@morlikowski

Description

@morlikowski

Hi there,

for me compilation fails with the following error message:

CXX/LD -o .build_release/tools/convert_imageset.bin
.build_release/lib/libcaffe.so: undefined reference tocaffe::SampleLayer::Forward_gpu(std::vector<caffe::Blob, std::allocator<caffe::Blob> > const&, std::vector<caffe::Blob, std::allocator<caffe::Blob> > const&)
.b uild_release/lib/libcaffe.so: undefined reference to caffe::SampleLayer::Forward_gpu(std::vector<caffe::Blob, std::allocator<caffe::Blob> > const&, std::vector<caffe::Blob, std::allocator<caffe::Blob> > const&)
collect2: error: ld returned 1 exit status
Makefile:564: recipe for target '.build_release/tools/convert_imageset.bin' failed
make: *** [.build_release/tools/convert_imageset.bin] Error 1

I was able to circumvent the error by declaring the mentioned function in ´sample_layer.cpp´, but that does not seem to be a real solution. Is this a known issue? I am just using the CPU for now, but would eventually like to run the model on a GPU aswell.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions