alcinnz
alcinnz boosted

Hey, Linux people: a LOT of folks are screaming off Windows right now.

Be. Kind. To. Them.

They don't know much yet, so they are going to ask really basic questions. If you're KIND, you might get some to give it a try and stick to it bc they know they can ask for help. If you're unkind, you're showing them using Linux will be worse than Windows. If you can't bring yourself to be kind, then SAY NOTHING. Let others pick up that slack.

#FOSS#FLOSS#OpenSource #Linux#Ubuntu#Debian #LinuxMint

alcinnz
alcinnz boosted

Cross-compiling a #Rust project that has custom build scripts that build C/C++ dependencies is an absolute clusterfuck!

I'm trying to cross-compile a Rust project from #Linux -> #Windows (x86_64-pc-windows-gnu) and I get walls of errors!

Some I could already fix by setting env vars to different compilers (gcc, g++, oh my!), but now I'm stuck. Maybe some missing compiler flags to gcc?

Or could it be related to this?
=> https://stackoverflow.com/a/53635241

#Help #RustLang#CrossCompile#CrossCompilation

Output of the terminal after cross-compiling the whisper-rs crate from Linux to Windows (warning: the output is very long):

  -- Detecting C compiler ABI info - failed
     Called from: [3]   /usr/share/cmake-3.28/Modules/CMakeDetermineCompilerABI.cmake
                  [2]   /usr/share/cmake-3.28/Modules/CMakeTestCCompiler.cmake
                  [1]   /home/jan/Dev-Projects/repos/talky/target/x86_64-pc-windows-gnu/release/build/whisper-rs-sys-90a1c9a45fb90ba6/out/whisper.cpp/CMakeLists.txt
  -- Check for working C compiler: /usr/bin/gcc
     Called from: [3]   /usr/share/cmake-3.28/Modules/CMakeTestCompilerCommon.cmake
                  [2]   /usr/share/cmake-3.28/Modules/CMakeTestCCompiler.cmake
                  [1]   /home/jan/Dev-Projects/repos/talky/target/x86_64-pc-windows-gnu/release/build/whisper-rs-sys-90a1c9a45fb90ba6/out/whisper.cpp/CMakeLists.txt
  -- Check for working C compiler: /usr/bin/gcc - broken
     Called from: [3]   /usr/share/cmake-3.28/Modules/CMakeTestCompilerCommon.cmake
                  [2]   /usr/share/cmake-3.28/Modules/CMakeTestCCompiler.cmake
                  [1]   /home/jan/Dev-Projects/repos/talky/target/x86_64-pc-windows-gnu/release/build/whisper-rs-sys-90a1c9a45fb90ba6/out/whisper.cpp/CMakeLists.txt
  -- Configuring incomplete, errors occurred!

  --- stderr
  ./whisper.cpp/ggml/include/ggml.h:210:10: fatal error: 'stdio.h' file not found
Output of the terminal after cross-compiling the whisper-rs crate from Linux to Windows (warning: the output is very long): -- Detecting C compiler ABI info - failed Called from: [3] /usr/share/cmake-3.28/Modules/CMakeDetermineCompilerABI.cmake [2] /usr/share/cmake-3.28/Modules/CMakeTestCCompiler.cmake [1] /home/jan/Dev-Projects/repos/talky/target/x86_64-pc-windows-gnu/release/build/whisper-rs-sys-90a1c9a45fb90ba6/out/whisper.cpp/CMakeLists.txt -- Check for working C compiler: /usr/bin/gcc Called from: [3] /usr/share/cmake-3.28/Modules/CMakeTestCompilerCommon.cmake [2] /usr/share/cmake-3.28/Modules/CMakeTestCCompiler.cmake [1] /home/jan/Dev-Projects/repos/talky/target/x86_64-pc-windows-gnu/release/build/whisper-rs-sys-90a1c9a45fb90ba6/out/whisper.cpp/CMakeLists.txt -- Check for working C compiler: /usr/bin/gcc - broken Called from: [3] /usr/share/cmake-3.28/Modules/CMakeTestCompilerCommon.cmake [2] /usr/share/cmake-3.28/Modules/CMakeTestCCompiler.cmake [1] /home/jan/Dev-Projects/repos/talky/target/x86_64-pc-windows-gnu/release/build/whisper-rs-sys-90a1c9a45fb90ba6/out/whisper.cpp/CMakeLists.txt -- Configuring incomplete, errors occurred! --- stderr ./whisper.cpp/ggml/include/ggml.h:210:10: fatal error: 'stdio.h' file not found
alcinnz
alcinnz boosted

A forced update in the middle of a tooth extraction motivated this dentist to switch to Linux exclusively!

"Windows is below the standard of care when it comes to dentistry."

Invidious: https://invidious.nerdvpn.de/watch?v=za1kkEFU4cQ

YouTube: https://www.youtube.com/shorts/za1kkEFU4cQ

#ZenFamilyDental#Dentistry#Dentist #Linux #Windows