Giter Club home page Giter Club logo

Comments (3)

mdegans avatar mdegans commented on June 21, 2024

Try building without the gui on. To switch to the command line:

Temporary:

sudo systemctl isolate multi-user.target

Persistent across reboots:

sudo systemctl set-default multi-user.target

Once the build is done, just substitute graphical.target instead of multi-user.target to go back.

from nano_build_opencv.

remiruzn avatar remiruzn commented on June 21, 2024

`
[ 43%] Built target opencv_alphamat
[ 43%] Linking CXX shared library ../../lib/libopencv_cudafilters.so
[ 45%] Built target opencv_cudafilters
[ 46%] Building NVCC (Device) object modules/cudaimgproc/CMakeFiles/cuda_compile_1.dir/src/cuda/cuda_compile_1_generated_bilateral_filter.cu.o
: fatal error: when writing output to /tmp/tmpxft_000078b9_00000000-5_bilateral_filter.cpp4.ii: No space left on device
compilation terminated.
CMake Error at cuda_compile_1_generated_bilateral_filter.cu.o.RELEASE.cmake:221 (message):
Error generating
/tmp/build_opencv/opencv/build/modules/cudaimgproc/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_bilateral_filter.cu.o

modules/cudaimgproc/CMakeFiles/opencv_cudaimgproc.dir/build.make:337: recipe for target 'modules/cudaimgproc/CMakeFiles/cuda_compile_1.dir/src/cuda/cuda_compile_1_generated_bilateral_filter.cu.o' failed
make[2]: *** [modules/cudaimgproc/CMakeFiles/cuda_compile_1.dir/src/cuda/cuda_compile_1_generated_bilateral_filter.cu.o] Error 1
CMakeFiles/Makefile2:3695: recipe for target 'modules/cudaimgproc/CMakeFiles/opencv_cudaimgproc.dir/all' failed
make[1]: *** [modules/cudaimgproc/CMakeFiles/opencv_cudaimgproc.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2
Do you wish to remove temporary build files in /tmp/build_opencv ?
`
Building without gui.
Can i build jetson with 16 gb sd card inside from flash card pluged in usb port?

from nano_build_opencv.

mdegans avatar mdegans commented on June 21, 2024

@remiruzn

You could add a swap file on an external disk, even usb, sure, but it will probably build slower than just turning the GUI off temporarily. Swap is slow on fast SSDs. MicroSD cards are generally even slower than spinning disks, so it'll probably hurt performance if you set that up.

from nano_build_opencv.

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.