Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Error compile source code

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Tue Mar 25, 2008 7:44 pm    Post subject: Error compile source code Reply with quote

Hello!

So I download the source code of icecast 2.3.1 in order to translate it into multiple languages (French, Spanish, etc. .. (7 language altogether), but as I try to compile I get an error that appears who said that it would file a missing compilation (include Can not open file: 'pthread.h': No such file or directory)

You have the missing file ?

Software: Microsoft Visual Studio 2008

Thanks you
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Mar 25, 2008 7:48 pm    Post subject: Reply with quote

Look for pthreads-win32.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Tue Mar 25, 2008 7:58 pm    Post subject: Reply with quote

The single file are:

icecast3.2.1\src\thread\thread.h
icecast3.2.1\src\thread\thread.c

No pthread.h

error
Code:
 
Compiling...
main.c
c:\users\TheDev\desktop\icecast3.2.1\src\thread\thread.h(24) : fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory


Thank you
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Mar 25, 2008 8:17 pm    Post subject: Reply with quote

we don't ship a pthreads implementation for different platforms. Most platforms already ship one, but windows does not, so you need to download it yourself.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Tue Mar 25, 2008 9:00 pm    Post subject: Reply with quote

So I found the file on the internet

But i still have this error
Does it need to put it into a specific directory
I put them in the win32 directory of the source of icecast

???

Thank you
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Mar 25, 2008 10:41 pm    Post subject: Reply with quote

You probably don't want to mix those files into icecast but in theory it shouldn't matter just as long as it searches those directories for the headers and libs. BTW, try the trunk code instead of 2.3.1

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber