• Forum
  • UNIX/Linux Programming

UNIX/Linux Programming

by admin
Welcome to this board!
 
Welcome to the forum for UNIX and Linux programmers in C++.com! In this forum, users can to talk about any topic related to programming in C++ for UNIX and Lin...
[no replies]
by L67GS
Understanding piping
 
I've been looking for nearly a week for an API to do simple piping that I'm sure is out there. What I have is a simple home assistant project, in the event the ...
[2 replies] Last: WHEW!!! I got it with ollama.hpp! It works with Ollama-server if anyb... (by L67GS)
by L67GS
Return RMS volume of an mp3?
 
I've been looking for this for 2 days, and found a few command line tools to retrieve the level of an mp3, but nothing I can easily return a value from. I'm sta...
[5 replies] Last: Instead of using a temporary file, you may want to have a look at pop... (by kigar64551)
by colt
No direct rendering when using my own Mesa lib
 
Hi. I build a very simple opengl program. When I link it against the system provided libGL, I get direct rendering. However, when doing the same with my own, bu...
[1 reply] : Late answer, sorry. You need to look through the FAQ (https://docs.me... (by Duthomhas)
make: /usr/bin//-g++: No such file or directory
 
Hi I got a vs code environment on my host (ubuntu 22.04), and i want to cross-compile an application for imx8mp board. It worked pretty good intil i insta...
[3 replies] Last: Notice here: /usr/bin//-g++ it interpret somehow that the compiler ... (by kigar64551)
tzdb: cannot locate zone
 
Trying to run my an old app... where: std::string time = std::format("{:%H:%M:%OS %z}", std::chrono::zoned_time{"America/New_York", now}); termina...
[11 replies] Last: I just can't find neither "Max" nor "max" there. The mentioned string ... (by spistol)
Calling assembly code from C++
 
So I've been trying to figure out how I'd write a little function in assembly and then call it from C++, and so far I've been able to call the function and it d...
[5 replies] Last: True.. having the mistake hold me hostage until 6am in the morning is ... (by highwayman)
GLIBCXX_3.4.32 not found - Debian 12
 
Hello! I have installed Debian 12. GCC(c++/g++) upgraded to 13.3.0 from source. But I still having error when I try to run my old programs(were compiled by g++-...
[7 replies] Last: For comparison: RHEL 9 / AlmaLinux 9 does default to GCC 11, just like... (by keskiverto)
build systems and code editors\IDE's you use or suggest on Linux?
 
For the last 2 years I'm using VSCode, since my switch to Linux I continue to use it. But there are many pitfalls with VSCode, primarily VSCode is not good f...
[8 replies] Last: Spack https://spack.io/ -- "scientific package manager" -- is not an a... (by keskiverto)
About standard strings in Linux?
 
I'm new to Linux dev, so far I've been mostly writing Win32 applications where `char` is `ANSI` and `wchar_t` is UNICODE. But I see under Linux the default i...
[8 replies] Last: @kigar64551 I'm very grateful for your sample code and mention of icon... (by malibor)
by colt
Not declared Xvlib function during building
 
...
[10 replies] Last: True. I have lived a simple life, not asking "Do we have X? If yes, th... (by keskiverto)
by colt
Relocation error against undefined symbol
 
Hi, When building a certain software, I receive this error message during the link stage: /usr/bin/ld: _obj/device/r4300/x86_64/dyna_start.o: relocation R_X...
[5 replies] Last: I think when "compiling" assembly (ASM) code, you cannot and don't nee... (by kigar64551)
by dkaip
Static Linux version of my program
 
A day before i send my Linux version of my program and it don't runs. If i want to send in many people, and all these people have no idea about functionals, th...
[3 replies] Last: The Flatpak and Snap are some sort of containers, aren't they? Yes. ... (by kigar64551)
Imho this is good, useful or suitable
 
I found that, imho this little Bash script is good, useful or suitable to compiling and building software https://github.com/abdulbadii/smart-directories-nav...
[2 replies] Last: Yet another set of synonyms to remember. (by kbw)
How to install clang 16.0 in ubuntu
 
Hi, I downloaded clang+llvm-16.0.0-x86_64-linux-gnu-ubuntu and extract all but how do I make clang and other binaries to be callable from any terminal? I ...
[1 reply] : If you just type the program name (e.g. "clang") without a full or r... (by kigar64551)
Does g++ support C++ 20 modules?
 
Hi, I have tried the following command line: Q:\c++\g++> g++ -std=c++20 -fmodules-ts -o main.exe main.cpp .\new_module.ixx Q:/msys64/mingw64/bin/....
[no replies]
by colt
Zsnes's zlib detection code problem.
 
Hi. I recently tried to build zsnes, however its zlib detection code seems to be seriously broken, as no matter how I pass it to configure, it won't detect it. ...
[4 replies] Last: Ok, I did the modifications suggested and the results were not very ex... (by colt)
Packaging your project
 
I'm using Makefile (Make) to package my SDL2 project. I'm also using SDL_GetPrefPath to locate and store/install my project's data, plugins, fonts, and other re...
[9 replies] Last: The method you're using to install the files is not the most efficient... (by maxim2511)
Detached thread error in helgrind
 
Hello everyone! I am implementing a detached thread using pthreads. After I run the code under helgrind, it reports a race condition and I think it might be ...
[7 replies] Last: If line 34 executes before line 12, then finished will never be set. ... (by kigar64551)
by t im
Can select use ET mode?
 
Several blogs tell me that only LT mode can be used in select while both LT and ET mode can be used in epoll. I wonder why ET mode cannot be used in select. ...
[2 replies] Last: Sorry for no references and thanks for your helpful reply. (by t im)
  Archived months: [nov2025]