Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22072

Compile a C file with glib dependencies

$
0
0

I'm trying to compile a C file with GCC. This file has the following dependencies:

#include <glib-object.h>
#include <thrift/c_glib/thrift.h>
#include <thrift/c_glib/protocol/thrift_binary_protocol.h>
#include <thrift/c_glib/transport/thrift_buffered_transport.h>
#include <thrift/c_glib/transport/thrift_socket.h>

I've installed the libthrift-c-glib-dev package for Debian and then I've tried to compile the file with gcc but the compiler doesn't find the dependencies What are the steps I have to do in order to be able to compile this file?


Viewing all articles
Browse latest Browse all 22072

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>