i have this simple code in wayland :
#include <stdio.h>
#include <wayland-client.h>
int
main(int argc, char *argv[])
{
struct wl_display *display = wl_display_connect(NULL);
if (!display) {
fprintf(stderr, "Failed to connect to Wayland display.\n");
return 1;
}...
hello on my server clang 11.0.1 version is installed but my project is compiled with clang14, when I write the command " pkg install clang14 " I get an error like clang14 not found.
please help me solve this problem, thank you.
Hi all,
I'm trying to build i386:wine-devel
9.3.
Nevertheless, poudriere bulk -j wine-build emulators/wine-devel runs out of memory (linkage process indeed) when build gcc-13 and llvm-15.
My hardware : 9 Go RAM + 12 Go swap.
Anyone has an idea to workaround this ?
Note: Building...
Hello everyone!
Trying to build this (https://github.com/ArboreusSystems/arboreus_library/blob/master/arboreus_library/c_src/a_time/a_time_now_handler.c) and having this error. On MacOS everything is building perfectly. What is the difference?
This is error:
ld: error: undefined symbol: ftime...
Hi Forum,
since some days i dig into MIPS Code and try to compile it. No success in building a MIPS Qemu System, i try now to build code for MIPS
with a Cross-Chain. For this i have installed mips-packages from the ports tree.
mips-binutils-2
mips-gcc9
The tools popup as...
I couldn't find anything on google on how to configure VS code on FreeBSD to use clang/llvm/gcc.
I have clang/llvm and gcc installed on FreeBSD 13.1
I have installed this extension:
https://marketplace.visualstudio.com/items?itemName=Kr4is.cpptools-extension-pack
Which installs the following...
Hello!
I haven't been in touch with the "FreeBSD world" for several months and I kind of missed the latest news.
Is it currently possible to compile with GCC a code in a temporary FreeBSD container? (in other words: there are images based on FreeBSD that can be expanded in Dockerfile ?)
Thanks!
Hello everyone,
following https://wiki.freebsd.org/Arduino I created the Makefile but upon running make install flash clean cleandepend I get the following error:
kodcode@inspiron:~/ArduinoMake $ make install flash clean cleandepend
avr-gcc -mmcu=atmega328p -g -std=gnu99 -Os -fno-exceptions...
I have a cross-platform project using devel/cmake and C++20. This project compiles fine under Windows, Linux and MacOS.
The project uses Google's protobuf library. On FreeBSD, I installed those from devel/protobuf.
The problem I'm facing is that the project requires lang/gcc11 as clang is...
Greetings everyone and sorry for bothering the community, but I got terribly messed up and I think I need your help very much.
I have just installed FreeBSD for the first time willing to make it my default OS for music production and other working purposes, but unfortunately got confused with...
Issue: Using any compiler to compile any C code with "-fsanitize=address" results in the following error:
/usr/local/bin/ld: cannot find -lasan
collect2: error: ld returned 1 exit statu
I get this error even when I try gcc main.c -fsanitize=address on
int main() {
return 0;
}
using...
Hello. I would like to use a framework initially built on Linux. They use a command update-alternatives to specify that gcc points to gcc9 for example. Is there some equivalent on FreeBSD or I should modify the Makefiles or link gcc9 to gcc?
Maybe just exporting the command would be...
Sorry for the newbie question. I am just starting to learn C programming.
I am running pfSense, a modified (smaller) FreeBSD 10.3 version to implement a router/firewall. I would like to compile some simple C programs, like the classical:
#include<stdio.h>
int main()
{
printf("\nHello...
I wanted to install GDC at my FreeBSD, but when I typed sudo gmake install, those error occurred:
/usr/home/vmware/gdc/gcc-7.3.0/libphobos/libdruntime/core/stdc/stdlib.d:204:9: error: undefined identifier 'wchar_t'
int mbtowc(scope wchar_t* pwc, scope const char* s, size_t n);
^...
I am wanting to run the examples in the Stevens book, Advanced Programming in the Unix Environment. I'd rather not pollute my running system with extraneous files that are not required for the system to function. My question and followups for the masters out there:
What's a safe way to install...
I'm trying to build a simple Qt5 program and getting such error.
The Makefile is created by qmake and contains:....
CC = gcc
CXX = g++
....Let's see what is gcc:% ll /usr/local/bin/gcc
lrwxr-xr-x 1 root wheel 4 Oct 19 00:40 /usr/local/bin/gcc@ -> gcc6Then I ran make and...
I have two files from a book I'm trying to compile. One is the main file usehotel.c. The second is the function definitions for a header file, hotel.c. I've tried the -o option different ways and I can't get it to work. I don't want the file names to change to a.out after compilation.
I've...
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.