Code Monkey home page Code Monkey logo

Comments (5)

cyberfire avatar cyberfire commented on May 20, 2024

@wmorders

Just simply remove the directory build/ and rebuild the whole project.
There are still some issues in make system and the fastest solution is to build from scratch after change the makefile.config.

Thanks,

Haitao

from tengine.

cyberfire avatar cyberfire commented on May 20, 2024

Fixed.

from tengine.

wmorders avatar wmorders commented on May 20, 2024

I build from scratch after change the makefile.config.
the build log:
make[2]: Leaving directory '/home/tim/workspace/Tengine/tools/bin'
aarch64-linux-gnu-g++ --sysroot=/home/tim/workspace/Tengine/sysroot/ubuntu_rootfs -L/usr/lib/aarch64-linux-gnu -L/lib/aarch64-linux-gnu /home/tim/workspace/Tengine/build/tools/bin/test_accuracy.o -o /home/tim/workspace/Tengine/build/tools/bin/test_accuracy -L../build -ltengine -lprotobuf -ldl -lpthread -lresolv -L/usr/lib/aarch64-linux-gnu -lopencv_calib3d -lopencv_contrib -lopencv_core -lopencv_features2d -lopencv_flann -lopencv_gpu -lopencv_highgui -lopencv_imgproc -lopencv_legacy -lopencv_ml -lopencv_objdetect -lopencv_ocl -lopencv_photo -lopencv_stitching -lopencv_superres -lopencv_ts -lopencv_video -lopencv_videostab -Wl,-rpath=/usr/lib/aarch64-linux-gnu/mesa -L../build
../build/libtengine.so: undefined reference to `TEngine::RegisterConv2dOpencl()'
collect2: error: ld returned 1 exit status
Makefile:66: recipe for target '/home/tim/workspace/Tengine/build/tools/bin/test_accuracy' failed
make[1]: *** [/home/tim/workspace/Tengine/build/tools/bin/test_accuracy] Error 1
make[1]: Leaving directory '/home/tim/workspace/Tengine/tools'
Makefile:142: recipe for target 'tools' failed

from tengine.

wmorders avatar wmorders commented on May 20, 2024

can u tell me where TEngine::RegisterConv2dOpencl() definition and implementation ?
i find the whole project source code , but i can not find the definition and implementation.
Thanks

from tengine.

lyuchuny3 avatar lyuchuny3 commented on May 20, 2024

This is because you change your makefile.config and you haven't "make clean". Try make clean / rm -rf build ,and rebuild make. This problem should be solved.

TEngine::RegisterConv2dOpencl() is in executor/plugin/init.hpp
its implement lies in driver/acl/acl_conv.cpp

from tengine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.