1. T

    GUI embedded software Rapsian os

    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...
  2. A

    C/C++ Checking for a program accessing hardware

    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.
  3. jdb

    C/C++ Best HTML parsing library for C++

    Hey guys :) I am searching for a HTML parsing library for C++ with xPath support. Thanks in advance :D
  4. nerozero

    C/C++ Compiling with mysql cpp connector (-lmysqlcppconn) - core dumped

    Hello, trying to compile a simpliest project with mysql support: #include <iostream> using namespace std; int main(){ cout << "Hello world" << endl; return 0; } compile with g++: $g++ main.cpp -Wall -std=c++11 -lmysqlcppconn -o mysql-test $ ./mysql-test Segmentation fault (core...
  5. Maelstorm

    C++20 is coming out soon with 43+ new features being discussed...

    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...
  6. neilms

    Returning to learning C++

    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...
  7. C

    c++ compiler version issue

    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...
  8. G

    Messed up C++ library

    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...
  9. D

    C/C++ pthreads error: 'PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP' was not declared in this scope

    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...
  10. R

    C/C++ setreuid() returns "operation not permitted" even it was sudo'ed

    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...
  11. pouria.mzt

    C++ in FreeBSD

    Hello, I have made a software/package using C++ in FreeBSD, now I need to know how to porting it to FreeBSD ports/packages? It contains two methods to be installed: binary files and source code.
  12. mseqs

    Other Best language for a database server

    Hello everyone. So, I'm writing a little database server/manager (I know, don't reinvent the wheel, but is a research project and I got a good idea, innovative, I hope) and from the beginning I thought to write it in Java, but after some researching about "performance and memory issues" I'm not...
  13. jrm@

    dlopen error

    I'm working on porting a C++ application to FreeBSD. It's compiling, but a call to dlopen() is failing. Here's a code snippet. static void *lib=NULL; lib=dlopen(filename,RTLD_NOW); const char* blah; if(blah=dlerror()) { info(filename); cout << blah << "\n"; } The output is...
  14. fender0107401

    Solved FreeBSD and CMake: compilation is fine but end up with linking errors.

    System info: uname -a FreeBSD vm-freebsd 10.2-RELEASE-p7 FreeBSD 10.2-RELEASE-p7 #0: Mon Nov 2 14:19:39 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 % cmake --version cmake version 3.4.1 CMake suite maintained and supported by Kitware (kitware.com/cmake)...