Vetals
Posts: 46
Joined: Thu Feb 28, 2013 10:37 am
Location: Eastern Europe

Fatal error: curl/types.h not available at all (SOLVED)

Sat Dec 28, 2013 6:20 pm

I want to make a radio retranslation (for myself) with icecast & streamTranscoder in order to listen any online radio that i want on my mobile phone (with Virtual Radio app, java version). Of course i need streamTranscoder if i want to have a reduced bitrate, and that's exactly what i want to.

Currently i stuck with streamTranscoder:

Because this app not available in repo, i had to compile it by myself. I manually has installed all dependencies, but still got error with last one:

Code: Select all

fatal error: curl/types.h: No such file or directory 
I've tried all methods described here:
http://stackoverflow.com/questions/1147 ... -directory

Even this reported that i don't have such file on my system:

Code: Select all

find / -name "types.h"



I think this is kind of bug in the repo it self.

Conclusion:

I dont know how to fix this and where i suppose to get this file. So i asking for help.


Thanks in advance.
Last edited by Vetals on Sat Dec 28, 2013 7:23 pm, edited 1 time in total.

User avatar
DougieLawson
Posts: 33637
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: Fatal error: curl/types.h not available at all

Sat Dec 28, 2013 6:26 pm

sudo apt-get install libcurl-dev
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+

Any DMs sent on Twitter will be answered next month.

Vetals
Posts: 46
Joined: Thu Feb 28, 2013 10:37 am
Location: Eastern Europe

Re: Fatal error: curl/types.h not available at all

Sat Dec 28, 2013 7:23 pm

I found a reason of this, but before we continue i got to say that raspbian repo has nothing to do with this error.

It's because

Code: Select all

/usr/include/curl/types.h
became deprecated.

I wasted a few hours on this. And finally i found out that i need create this file:

Code: Select all

/usr/include/curl/types.h
with content:
/* not used */
Btw, i successfully has compiled streamTranscoder.

Return to “Raspbian”

Who is online

Users browsing this forum: No registered users and 18 guests