Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] cant merge sunshine on nvidia gpu
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
picarica
Guru
Guru


Joined: 11 Aug 2018
Posts: 354

PostPosted: Sun Apr 06, 2025 9:39 am    Post subject: [SOLVED] cant merge sunshine on nvidia gpu Reply with quote

hello so i have been using this package for a while now, i have it on my other gentoo systems with amd and intel gpu , and works fine but on my laptop with nvidia gpu it cant compile, it has weird AMD mentiosn in hte build error .log

and build.log here
and --info


Last edited by picarica on Tue Apr 15, 2025 6:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
bstaletic
Guru
Guru


Joined: 05 Apr 2014
Posts: 493

PostPosted: Sun Apr 06, 2025 11:18 am    Post subject: Reply with quote

Looks like the package is relying on transitive includes in the standard library. The errors look like missing includes. config.cpp uses std::optional<int>, but never includes <optional> header.
On your other machine, can you build it with gcc 13 or newer?
Back to top
View user's profile Send private message
picarica
Guru
Guru


Joined: 11 Aug 2018
Posts: 354

PostPosted: Tue Apr 15, 2025 6:35 pm    Post subject: Reply with quote

bstaletic wrote:
Looks like the package is relying on transitive includes in the standard library. The errors look like missing includes. config.cpp uses std::optional<int>, but never includes <optional> header.
On your other machine, can you build it with gcc 13 or newer?


that was right, i changed my gcc from 13 to 14 and it compiled fine, thank you for help
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum