| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Tue Mar 25, 2008 7:44 pm Post subject: Error compile source code |
|
|
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

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Mar 25, 2008 7:48 pm Post subject: |
|
|
Look for pthreads-win32.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Tue Mar 25, 2008 7:58 pm Post subject: |
|
|
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

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Mar 25, 2008 8:17 pm Post subject: |
|
|
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 |
|
 |
Anonymous Guest
|
Posted: Tue Mar 25, 2008 9:00 pm Post subject: |
|
|
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

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Mar 25, 2008 10:41 pm Post subject: |
|
|
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 |
|
 |
|