PacktPublishing / Extreme-C

Extreme C, published by Packt
MIT License
310 stars 129 forks source link

unable to build calculator project on Ubuntu 22.04 #6

Open ravijotsingh58 opened 2 years ago

ravijotsingh58 commented 2 years ago

I am right now reading chapter 20 that is IPC via socket programming. I am following the instructions from book to build calculator project on Ubuntu 22.04. However, after 'cmake ..' command, i am executing 'make' command, it showing me fatal error: <cmocka.h> no such file or directory can anyone please suggest me how to fix this ?

ravijotsingh58 commented 2 years ago

after some search, sudo apt-get install libcmocka-dev fixed the issue