want to compile an example code.

"Hans Schüren" <[email protected]> Sun, 04 Oct 2020 21:38:04 +0200
Newsgroups gmane.comp.freedesktop.xcb
Message-ID <[email protected]>
Hello,

i want to compile a sample code from the XCB manual.

There are the following errors. What can i do ?

I use FreeBSD and have XCB installed.

barchart.c Motif/ xcbsample.c
nomad@NomadBSD ~/programmieren> gcc -Wall xcbsample.c -o xcbsample pkg-config --cflags --libs xcb

fish: Unknown command: gcc

nomad@NomadBSD ~/programmieren [127]> cc -Wall xcbsample.c -o xcbsample pkg-config --cflags --libs xcb

cc: error: unsupported option '--cflags'

cc: error: unsupported option '--libs'

cc: error: no such file or directory: 'pkg-config'

cc: error: no such file or directory: 'xcb'

nomad@NomadBSD ~/programmieren [1]>

_______________________________________________
Xcb mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/xcb