Problem with g++ and iostream

2024-03-01 Thread Baptiste Demoulin
Hello, I encountered a problem today with the =g++= compiler from the package =gcc-toolchain=. When compiling a simple hello world program: #+begin_src c++ #include int main () { std::cout << "Hello World\n"; return 0; } #+end_src with: #+begin_src bash g++ hello.cc #+end_src

Re: Problem with g++ and iostream

2024-03-01 Thread Tomas Volf
On 2024-03-01 10:50:38 +0100, Baptiste Demoulin wrote: > Hello, > > I encountered a problem today with the =g++= compiler from the package > =gcc-toolchain=. When compiling a simple hello world program: > > #+begin_src c++ > #include > int main () { >std::cout << "Hello World\n"; >retur

Re: Problem with g++ and iostream

2024-03-01 Thread Baptiste Demoulin
Hi, Tomas Volf <~@wolfsden.cz> writes: When I try to compile your source code using guix shell -C gcc-toolchain -- g++ x.cpp it does work. Could you try it as well to check whether it will work at least in a pure environment? That also works for me. If, however, I also include =gfortra

Cannot run texlive context: permission denied

2024-03-01 Thread Reza Housseini
Hi Guixers When running context inside guix shell texlive-context --container I get the error sh: /gnu/store/l4r1y73grs5mvx2jz1hndwgnxcgys9sj-profile/bin/context: Permission denied What is the reason for this? Thanks for your help. Best regards Reza

Cannot lock screen in lxqt desktop

2024-03-01 Thread Reza Housseini
Hi Guixers When I click "Lock Screen" in the desktop menu I get a popup with the warning Failed to run "xdg-screensaver lock". Ensure you have a locker/screensaver compatible with xdg-screensaver installed and running. I tried installing xlock and slock and setting up a screen locker ser

KDE desktop does not recognize network-manager plugins

2024-03-01 Thread Reza Housseini
Hi Guixers I tried to use the network-manager-openconnect and network-manager-vpnc plugins in KDE with the following setup: (network-manager-service-type config => (network-manager-configuration (inherit config) (dns "dnsmasq") (vpn-plugins (list network-manager-o

Re: Problem with g++ and iostream

2024-03-01 Thread Baptiste Demoulin
That also works for me. If, however, I also include =gfortran-toolchain= in the mix guix shell -C gcc-toolchain gfortran-toolchain -- g++ x.cpp then I come back to the same error as before. I found out the problem: =gfortan-toolchain= is at version =11.3.0=, while =gcc-toolchain= is at =

Re: Problem with g++ and iostream

2024-03-01 Thread Baptiste Demoulin
That also works for me. If, however, I also include =gfortran-toolchain= in the mix guix shell -C gcc-toolchain gfortran-toolchain -- g++ x.cpp then I come back to the same error as before. I found out the issue: =gfortran-toolchain= corresponds to GCC 11.3.0, while =gcc-toolchain= corre

Re: Problem with g++ and iostream

2024-03-01 Thread Baptiste Demoulin
That also works for me. If, however, I also include =gfortran-toolchain= in the mix guix shell -C gcc-toolchain gfortran-toolchain -- g++ x.cpp then I come back to the same error as before. I found out the issue: =gfortran-toolchain= corresponds to GCC 11.3.0, while =gcc-toolchain= corre

Cuirass custom jobs module syntax?

2024-03-01 Thread Richard Sent
Hi all, I'm trying to build operating-system declarations as part of a LAN substitute server, but I can't seem to get Cuirass's custom build type working. My Cuirass specification looks like this: --8<---cut here---start->8--- (define %rsent-cuirass-specs #~

Re: You're invited to the first patch review session!

2024-03-01 Thread Suhail
Tomas Volf <~@wolfsden.cz> writes: > On 2024-02-22 23:27:31 +, Steve George wrote: >> Hi >> >> We're going to run some online patch review sessions. The first one is on >> *Thursday, 7th March* and you can sign-up here: >> >> https://libreplanet.org/wiki/Group:Guix/PatchReviewSessions2024 >