Menu

Compilation fails on WSL Ubuntu

Oriculus
4 days ago
3 days ago
  • Oriculus

    Oriculus - 4 days ago

    I had some issues compiling CDE on W11 WSL Ubuntu... and solved them all by taking a few things into account :

    1. Avoid building on the Windows filesystem, but use the Linux filesystem to avoid slow I/O, permissions issues, and case-sensitivity problems.

    2.Make sure to add the en_US locale :

    sudo locale-gen en_US
    sudo locale-gen en_US.UTF-8
    sudo update-locale
    

    3.Make sure that WindowsPATH is not taken into account

    Add to /etc/wsl.conf
    [automount]
    enabled=false
    
    [interop]
    enabled=true
    appendWindowsPath=false
    

    Shutdown WSL via "wsl --shutdown" and start it again to make sure the PATH is indeed not including the Windows PATH. Check via "echo $PATH" in WSL.

     

    Last edit: Oriculus 3 days ago
    • Marco

      Marco - 3 days ago

      Am 07.12.2025 um 12:05:35 Uhr schrieb Oriculus:

      CDE compilation fails on my WSL Ubuntu distro while making DtSvc.
      Any tips?

      Does it fail on vanilla Ubuntu too?

      WSL is somehow different, so it is a good idea to exclude it as
      possible troublespot.

      --
      Gruß
      Marco

      Send unsolicited bulk mail to 1765105535muell@cartoonies.org

       
  • Jon Trulson

    Jon Trulson - 3 days ago

    Might also be missing an include that's needed on wsl...

     

Log in to post a comment.