p-quic / pquic

The PQUIC implementation, a framework that enables QUIC clients and servers to dynamically exchange protocol plugins that extend the protocol on a per-connection basis
https://pquic.org
MIT License
126 stars 20 forks source link

error while compiling #28

Closed govwin closed 3 years ago

govwin commented 3 years ago

The last make produces error. How can I compile?

$ make
[ 45%] Built target picoquic-core
[ 47%] Linking C executable picoquic_ct
/usr/bin/ld: cannot find -lprofiler
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/picoquic_ct.dir/build.make:448: picoquic_ct] Error 1
make[1]: *** [CMakeFiles/Makefile2:114: CMakeFiles/picoquic_ct.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
govwin commented 3 years ago

Saw issue #10 now. I had installed google-perftools as per https://pquic.org/ but error exists despite that. Installing libgoogle-perftools-dev solved it.