From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id AB21D454AB for ; Sat, 1 Apr 2023 08:42:02 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 06C7C68C0B2; Sat, 1 Apr 2023 11:42:00 +0300 (EEST) Received: from mail-ua1-f41.google.com (mail-ua1-f41.google.com [209.85.222.41]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 1781468BFFE for ; Sat, 1 Apr 2023 11:41:53 +0300 (EEST) Received: by mail-ua1-f41.google.com with SMTP id g9so17648746uam.9 for ; Sat, 01 Apr 2023 01:41:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680338511; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=yajCXKZ5SGqkrOQBHcsMp4U3LanAf1ZxMNB/0emBApc=; b=P131h8KbwZSAeHH4+IKxR3PN2tfQcandcx8F1ywvNO3K+HO+Ht+wvj376IT7cYvcgT EE/uvRT7a0Tt0V1GrhFEcuu7iyKcmB17duIaQO9mmgr/eEPuqpuhbPApFgzyGoAnxUVU YEeNF14yNGuUJzrTAxKS5Sag2KDzeeQGnKeO7dB+/QI2+bq7eiFg3Oa+y5mwZhBvkxMo H5c/lTtIt15Xh5cUtHuWw97Pl/w4tO9rSOKFN5xje2JV/p9cfuyJ3Iln/kcQINnvtrXf YTSzks4UnODXnPbkVELbvZ1O6oKnVjaEkW0SHyLXjGcBsjR+eoNa9vfU2tRqSrv6AQ2V Fysw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680338511; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=yajCXKZ5SGqkrOQBHcsMp4U3LanAf1ZxMNB/0emBApc=; b=Sdcu0jQfMnOpWhKwpXK9IwjdzPv+x5x1lHZupEczBjiUrG6/hziaESdKY3UxfwWZly vdnICMSCgQlNGJVrj4TMY38RNugVeO7FjoMba7OcutG7bvMzOfHQDfgTRJqv3ZWml24X M2Aptxwso4OSI1CgQtGTNSkQFWnM4ihU94EL2MM37gPYnhVFkwB1JrPMT/xavpL3s6++ M13eLSpAJs2UYkLBOcDq8YNhVeWDQtxhIefnHg82hi24MmhyBO7c2un4aguQ8zOHqr4K a1DmWhMsAorJ2ABI70yeJ1ndHq71VbQLaQZGgUJuR+FbLoKg2IK3kSzxvNXV7ERPLatL ULOA== X-Gm-Message-State: AAQBX9dyh2Rrap7Hie3/d2iah0Pxmv6F5YBL+/ulIDThNOpDbXsCzSzs HAksE+Il8xpHvBPuNpYjAtdpeEYeYa5ZcueG6AJCptdK6MM= X-Google-Smtp-Source: AKy350aPmeG9QT9xKUWpJMrjW17X2sOTkaYuFzw02p31+6/ze7GKGNFsVhLV5h5UCZLaJE/oOyj+bDs8+JM1kPIyiVs= X-Received: by 2002:ab0:3d9e:0:b0:764:793a:6618 with SMTP id l30-20020ab03d9e000000b00764793a6618mr19740088uac.1.1680338511249; Sat, 01 Apr 2023 01:41:51 -0700 (PDT) MIME-Version: 1.0 From: Dylan Fernando Date: Sat, 1 Apr 2023 19:41:16 +1100 Message-ID: To: FFmpeg development discussions and patches X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [FFmpeg-devel] Unable to compile with cuda on WSL2 X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: I'm trying to compile on WSL2 Ubuntu with cuda enabled. Command: ./configure --enable-nonfree --enable-cuda-nvcc --extra-c flags=-I/opt/local/cuda/include --nvccflags="-gencode arch=compute_52,code=sm_52 -O2" when compiling, I get the error: NVCC libavfilter/vf_bilateral_cuda.ptx /bin/sh: 1: nvcc: not found make: *** [ffbuild/common.mak:128: libavfilter/vf_bilateral_cuda.ptx] Error 127 The output when I run nvcc -V is: nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2023 NVIDIA Corporation Built on Tue_Feb__7_19:32:13_PST_2023 Cuda compilation tools, release 12.1, V12.1.66 Build cuda_12.1.r12.1/compiler.32415258_0 I added this to .bashrc: export CUDA_HOME=/usr/local/cuda-12.1 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-12.1/lib64:/usr/local/cuda-12.1/extras/CUPTI/lib64 export PATH=$PATH:$CUDA_HOME/bin Thanks, Dylan _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".