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 14513459EF for ; Sun, 2 Apr 2023 09:27:20 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 8E5FF68BE3D; Sun, 2 Apr 2023 12:27:17 +0300 (EEST) Received: from btbn.de (btbn.de [136.243.74.85]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7153268BF66 for ; Sun, 2 Apr 2023 12:27:11 +0300 (EEST) Received: from [authenticated] by btbn.de (Postfix) with ESMTPSA id 9EA762D57F7 for ; Sun, 2 Apr 2023 11:27:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rothenpieler.org; s=mail; t=1680427630; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jtwZWWHtZ3GF3Vml0dhyJvHIiMs0gfieMv/ASCekP7Q=; b=KRVzNNRTW+vALMak/NhR6qp7/cXR64nw2VxwTYhxpsVIYSlcb2R8Em86PQgptF91h4jmtf FoSpZ+O+xUpt3/fx6DnyQa8Gywy4EIYZenD2D9coUTEkPbTIlfE2Kr1Rbd1SWhAMQ+ZNO0 XyvQrKj5CnP1oLW5PHLZAHRoCmj70AD/4Ci02YPJ4TS43hOjYCPcvl7vkojWI/ALmDtEh0 gzMBNVm1ntNZWY3K5luePDvGP63XSUtdrfjja/pSIQgIzb2f0vxkuOaWZyGqqurBMaTA+x bYf0KIV1DvAjmvVIeu3EExOqQDxUMA+sAKbV3Xouo3s7LoiEH7xmeXrZDbyyeg== Message-ID: <9350f63c-a0a7-026d-ff67-df8bac0f991e@rothenpieler.org> Date: Sun, 2 Apr 2023 11:27:07 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 To: ffmpeg-devel@ffmpeg.org References: Content-Language: en-US From: Timo Rothenpieler In-Reply-To: Subject: Re: [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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 02.04.2023 08:12, Dylan Fernando wrote: > My PATH has /usr/local/cuda-12.1/bin, is this correct? I don't know. All ffmpeg needs is a working nvcc on PATH. > I installed clang with sudo apt install clang. When I run: > ./configure --enable-cuda-llvm --extra-cflags=-I/opt/local/cuda/include > --nvccflags="-gencode arch=compute_52,code=sm_52 -O2" > > I get the error: > ERROR: cuda_llvm requested but not found > > If you think configure made a mistake, make sure you are using the latest > version from Git. If the latest version fails, report the problem to the > ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.libera.chat. > Include the log file "ffbuild/config.log" produced by configure as this > will help > solve the problem. > > attached full log > "clang: error: unknown argument: '-gencode'" The arguments for clang to control the target cuda arch are different. I don't know how exactly they look, but you can probably easily find examples. _______________________________________________ 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".