I tried to build drogon, but when building it, it gave out linking errors like these:
ld: error: unable to find library -lyaml-cpp
I compiled using the default commands from documentations
mkdir build
cd build
cmake ..
make && make install
I also tried changing the compiler from clang to gcc...
I'm trying to compile this simple vulkan instance(Basically the vulkan tutorial) with GLFW(3.3.8) and Vulkan-headers(1.3.273) all from the pkg repo. I'm using the build2 build system with clang++. Although it doesn't matter whether I use G++ with libstdc++ or the system default. It keeps...
I wanted to test some of the new features available in the clang-18 version (details can be found here: https://en.cppreference.com/w/cpp/compiler_support);
How should I go about this? Because I'm guessing that since FreeBSD has its own libc, it won't be enough to just compile the compiler ;D
Is...
I'm following a ncurses tutorial from here: https://www.viget.com/articles/game-programming-in-c-with-the-ncurses-library/
It shows how to make a simple bouncing character that goes left to right on the terminal window.
Here is the code, I modified it slightly:
#include <ncurses.h>
#include...
is there a page or way to list out all the C functions (supported in FreeBSD) that are available?
that are classified based on graphics, file i/o, system calls, networking; etc.
for example, if i want to code in networking part, i may not know that some functions are available, but going...
I was wondering if anyone could look at my code and be able to help identify what I'm doing wrong? It gets the current working directory of a given process id using libprocstat. I normally does work and can get the cwd of a pid just fine, but that's assmuing I don't do the specific thing in my...
Is there a single free IDE out there that does not look like it is from the 90's? Code::Blocks is fine but it seriously looks like the 1990's IDE in my old CS course book. VSCode is Microsoft bloatware but it both is and looks good. CLion is amazing but costs cash money and their new system...
Because the version in ports is ancient as a rock and doesn't support SAM4 Processors, I need to build a more recent Version. As usual for Linux- and Windows-centric software, documentation is near to non-existent, especially on how to build it, let alone on FreeBSD....
Apart from some commits...
Hello,
I am new to this community FreeBSD. I've read a lot article for FreeBSD. It's very secure and efficient operating system. Recently, I started working on new project. I'm building Raspberry Pi 4 embedded device. but the problem is that I can't able to edit operating system Raspbian OS. My...
Is there a way to have my program check to see if another program is already accessing or attempting to access hardware, such as a webcam? A web search doesn't yield any results for this and I'm not even sure if FreeBSD has a way to check for this type of thing.
Assuming that we all know and love C++ (I rarely use it myself), the standards of C++11, C++14, and C++17 all add new features of...dubious...quality and usefulness. Now, C++20 is being drafted. However, Bjarne Stroustrup is firing warning shots about the **43** new features being proposed for...
Hi everyone,
I bought a copy of Struostrups ‘Principles and practice of C++’. I started working through it but stopped studying due to other commitments.
Anyway now I plan to continue working through the book. I guess that FreeBSD has improved a lot over the last 6 months or so. I’m planning on...
Hi All,
I'm working on a tool that checks the version of the compiler, to be more precise c++. This tool is multi platform and works on Linux also. The questions is that in general gcc have a parameter call -dumpversion that shows the version of the compiler and on freebsd12 and freebsd12 do...
I think I messed up libc++. I was trying to get something to compile, and I think I pkg remove -f'ed devel/llvm39 and reinstalled it. Now when I try and compile anything in C++ I get an error like the following:
/usr/include/c++/v1/cmath:679:46: error: declaration conflicts with target of...
Hello,
I'm trying to switch from Linux to FreeBSD, but am unable to compile one of our custom software.
After compiling many files, it eventually halts when trying to compile a file containing some pthread code:
Building file: ../feedProcessor.cpp
Invoking: GCC C++ Compiler
g++7...
Hello, I was testing one of my software on FreeBSD ,Where in the software i've been trying to replace the Real/Effective UID and GID of the process using below two functions
setregid(),setreuid(). But these both functions return -1 as a result(when i got the errno to print it ssys "operations...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.