Open Abderrahmene-KSM opened 1 year ago
It sounds like there's a mismatch between your Halide.h and your libHalide.so. It it possible that /home/kasmi/Documents/SGEMV/code/Halide.h does not correspond to the libHalide.so that you downloaded?
Actually I am using the Halide.h that came with the libHalide.so . I also noticed that I don't have this problem in another PC when halide is built from sources ( the problem happens with binary releases only)
I have built halide from sources , and I was able to compile my halide code, but when trying to compile the same code using halide binaries which I have download directly , it gives me this error : ( I think the problem is in libHalide.so):
/usr/bin/ld: /tmp/cc1uqcLx.o: in function
void Halide::RDom::initialize_from_region<int, int&>(std::vector<Halide::Range, std::allocator<Halide::Range> >&, Halide::Expr const&, Halide::Expr const&, int&&, int&)': /home/kasmi/Documents/SGEMV/code/Halide.h:15309: undefined reference to
Halide::RDom::validate_min_extent(Halide::Expr const&, Halide::Expr const&)' /usr/bin/ld: /tmp/cc1uqcLx.o: in functionvoid Halide::RDom::initialize_from_region<>(std::vector<Halide::Range, std::allocator<Halide::Range> >&, Halide::Expr const&, Halide::Expr const&)': /home/kasmi/Documents/SGEMV/code/Halide.h:15309: undefined reference to
Halide::RDom::validate_min_extent(Halide::Expr const&, Halide::Expr const&)' collect2: error: ld returned 1 exit statusI will be very grateful if some one can help me