Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nvdla / vp cmake error for nv_full #59

Open
r3zafa opened this issue May 15, 2020 · 2 comments
Open

nvdla / vp cmake error for nv_full #59

r3zafa opened this issue May 15, 2020 · 2 comments

Comments

@r3zafa
Copy link

r3zafa commented May 15, 2020

  • Hi, I'm trying this code :

sudo cmake -DCMAKE_INSTALL_PREFIX=build -DSYSTEMC_PREFIX= usr/local/systemc-2.1a/ -DNVDLA_HW_PREFIX=/usr/local/nvdla/hw -DNVDLA_HW_PROJECT= nv_full

  • and as result I get this error code:

CMake Error: The source directory "/home/r3zafa/nvdla/vp/nv_full" does not exist.
Specify --help for usage, or press the help button on the CMake GUI._

  • can someone please help me :(

  • ~/nvdla/hw output for [tools/bin/tmake -build cmod_top] is :

    • ==============================================
    • files are generated under /home/r3zafa/nvdla/hw/outdir/nv_full/spec/manual
    • ==============================================
    • make: Leaving directory '/home/r3zafa/nvdla/hw/spec/manual'
    • make: Entering directory '/home/r3zafa/nvdla/hw/cmod'
    • mkdir -p ../outdir/nv_full/cmod/release/lib
    • mkdir -p ../outdir/nv_full/cmod/release/include
    • cp -f ../outdir/nv_full/cmod/libnvdla_cmod.so ../outdir/nv_full/cmod/release/lib
    • cp -f ../cmod/include/scsim_common.h ../outdir/nv_full/cmod/release/include
    • cp -f ../cmod/include/NV_nvdla_top_base.h ../outdir/nv_full/cmod/release/include
    • cp -f ../cmod/nvdla_top/NV_nvdla.h ../outdir/nv_full/cmod/release/include
    • ==============================================
    • release files are installed to ../outdir/nv_full/cmod/release
    • ==============================================
    • ==============================================
    • files are generated under /home/r3zafa/nvdla/hw/outdir/nv_full/cmod
    • ==============================================
    • make: Leaving directory '/home/r3zafa/nvdla/hw/cmod'
    • logfile: outdir/build.log
    • ==============================================
    • Filehandle GEN1 opened only for input at /usr/local/share/perl/5.30.0/IO/Tee.pm line 132.
    • ==================BUILD PASS==================
    • Filehandle GEN1 opened only for input at /usr/local/share/perl/5.30.0/IO/Tee.pm line 132.
    • ==============================================
    • Filehandle GEN1 opened only for input at /usr/local/share/perl/5.30.0/IO/Tee.pm line 132.
  • and for sw on folder : cd nvdla/nvdlav1/
  1. ==============================================
  2. files are generated under /home/r3zafa/nvdla/git-nvdlav1/outdir/nv_full/spec/manual
  3. ==============================================
  4. make: Leaving directory '/home/r3zafa/nvdla/git-nvdlav1/spec/manual'
  5. make: Entering directory '/home/r3zafa/nvdla/git-nvdlav1/cmod'
  6. mkdir -p ../outdir/nv_full/cmod/release/lib
  7. mkdir -p ../outdir/nv_full/cmod/release/include
  8. cp -f ../outdir/nv_full/cmod/libnvdla_cmod.so ../outdir/nv_full/cmod/release/lib
  9. cp -f ../cmod/include/scsim_common.h ../outdir/nv_full/cmod/release/include
  10. cp -f ../cmod/include/NV_nvdla_top_base.h ../outdir/nv_full/cmod/release/include
  11. cp -f ../cmod/nvdla_top/NV_nvdla.h ../outdir/nv_full/cmod/release/include
  12. ==============================================
  13. release files are installed to ../outdir/nv_full/cmod/release
  14. ==============================================
  15. ==============================================
  16. files are generated under /home/r3zafa/nvdla/git-nvdlav1/outdir/nv_full/cmod
  17. ==============================================
  18. make: Leaving directory '/home/r3zafa/nvdla/git-nvdlav1/cmod'
  19. logfile: outdir/build.log
  20. ==============================================
  21. Filehandle GEN1 opened only for input at /usr/local/share/perl/5.30.0/IO/Tee.pm line 132.
  22. ==================BUILD PASS==================
  23. Filehandle GEN1 opened only for input at /usr/local/share/perl/5.30.0/IO/Tee.pm line 132.
  24. ==============================================
  25. Filehandle GEN1 opened only for input at /usr/local/share/perl/5.30.0/IO/Tee.pm line 132.**_
@r3zafa
Copy link
Author

r3zafa commented May 16, 2020

I have this time this error , can somebody help please

  1. cmake -DCMAKE_INSTALL_PREFIX=build -DSYSTEMC_PREFIX=/home/nvdla/systemc-2.3.0a/ -DNVDLA_HW_PREFIX=/home/nvdla/hw -DNVDLA_HW_PROJECT=nv_small
  • CMake Warning:
  • No source or binary directory provided. Both will be assumed to be the
  • same as the current working directory, but note that this warning will
  • become a fatal error in future CMake releases.
  • -- Searching for SystemC
  • -- SystemC version = 2.3.0
  • -- SystemC library = /usr/local/systemc-2.3.0/lib-linux64/libsystemc.so
  • -- Searching for TLM
  • running ls /usr/local/systemc-2.3.0/include/tlm.h 2>&1
  • /usr/local/systemc-2.3.0/include/tlm.h
  • -- TLM library = /usr/local/systemc-2.3.0/include/tlm.h
  • -- Searching for NVDLA CMOD
  • CMake Error at cmake/FindNvdlaCmod.cmake:47 (FILE):
  • FILE failed to open for reading (No such file or directory):
  • /home/r3zafa/nvdla/vp/NVDLA_HW_VERSION_FILE-NOTFOUND
    
  • Call Stack (most recent call first):
  • CMakeLists.txt:62 (find_package)
  • CMake Error at cmake/FindNvdlaCmod.cmake:48 (STRING):
  • STRING sub-command STRIP requires two arguments.
  • Call Stack (most recent call first):
  • CMakeLists.txt:62 (find_package)
  • CMake Error at cmake/FindNvdlaCmod.cmake:49 (STRING):
  • STRING no output variable specified
  • Call Stack (most recent call first):
  • CMakeLists.txt:62 (find_package)
  • CMake Error at CMakeLists.txt:66 (message):
  • NVDLA CMOD library not found.
  • -- Configuring incomplete, errors occurred!
  • See also "/home/r3zafa/nvdla/vp/CMakeFiles/CMakeOutput.log".

@r3zafa
Copy link
Author

r3zafa commented May 17, 2020

  1. sudo cmake -DCMAKE_INSTALL_PREFIX=build -DSYSTEMC_PREFIX=/home/nvdla/systemc-2.3.0/ -DNVDLA_HW_PREFIX=/home/nvdla/hw -DNVDLA_HW_PROJECT=nv_full
  2. CMake Warning:
  3. No source or binary directory provided. Both will be assumed to be the
  4. same as the current working directory, but note that this warning will
  5. become a fatal error in future CMake releases.
  6. -- Searching for SystemC
  7. -- SystemC version = 2.3.3
  8. -- SystemC library = /usr/lib/x86_64-linux-gnu/libsystemc.so
  9. -- Searching for TLM
  10. running ls /usr/include/tlm.h 2>&1
  11. /usr/include/tlm.h
  12. -- TLM library = /usr/include/tlm.h
  13. -- Searching for NVDLA CMOD
  14. CMake Error at cmake/FindNvdlaCmod.cmake:54 (FILE):
  15. FILE failed to open for reading (No such file or directory):
  16. /home/r3zafa/nvdla/vp/NVDLA_HW_VERSION_FILE-NOTFOUND
    
  17. Call Stack (most recent call first):
  18. CMakeLists.txt:68 (find_package)
  19. CMake Error at cmake/FindNvdlaCmod.cmake:55 (STRING):
  20. STRING sub-command STRIP requires two arguments.
  21. Call Stack (most recent call first):
  22. CMakeLists.txt:68 (find_package)
  23. CMake Error at cmake/FindNvdlaCmod.cmake:56 (STRING):
  24. STRING no output variable specified
  25. Call Stack (most recent call first):
  26. CMakeLists.txt:68 (find_package)
  27. CMake Error at CMakeLists.txt:72 (message):
  28. NVDLA CMOD library not found.
  29. -- Configuring incomplete, errors occurred!
  30. See also "/home/r3zafa/nvdla/vp/CMakeFiles/CMakeOutput.log".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant