wsygzyr / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

Problem with installing and running Gtalk API "libjingle" provided for developers #203

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi Jun,

Thanks a lot for reply. 

1. My Operating system is : Windows 7 Professional.
2. Yes, I have read the instructions provided in the README file. And I have 
followed the instructions step by step.

First, I have downloaded "libjingle-0.5.8-with-bug-fixes.zip" file and 
extracted in C:\src .

Second, I have installed python 2.7 and not python 3.X version as specified in 
file. 

Third, I have downloaded "scons-local-2.0.1.zip" file and extracted to 
"C:\src\libjingle\scons-local"

Forth, I have set the new Environment Variable "SCONS_DIR" as 
"C:\src\libjingle\scons-local\scons-local-2.0.1" which contains the SCONS 
directory.

Fifth, I have downloaded swtoolkit and extracted to "C:\src". and further I 
have called hammer.bat ( and not added swtoolkit to path manually).

Six, I have downloaded "expat-2.0.1" & "srtp-cvs.zip", then extracted to 
"C:\src\libjingle\talk\third_party" location with names "expat-2.0.1" and 
"srtp" respectively. 

Seven, I have copied "config.hw" from location "talk\third_party\srtp" and 
pasted it to location "C:\src\libjingle\talk\third_party\srtp\crypto\include" 
and then renamed "config.hw" to "config.h".

I have already installed Microsoft visual Studio 2010 express edition before 
starting this project. " which also installs Microsoft SDK. (Frankly I am not 
sure about this.)"

Then I have opened the Command Prompt and have opened the directory 
"C:\src\libjingle\talk\" then I have typed command :
C:\src\swtoolkit\hammer.bat (to generate build directory.)

It has compiled almost every file but at one instance I have got error of 
missing "atlbase.h" file. I encountered this error when it was trying to 
compile devicemanager.c file

BY googling this error I came to know that Microsft SDK has this file in 
"include" directory but in my case it was missing. So then I have downloaded 
and installed "Microsoft Platform SDK for Windows Server 2003 R2" which 
contains "atlbase.h" file. So I have then copied all the required header files 
from "Microsoft Platform SDK for Windows Server 2003 R2\include" to my original 
"C:\Program Files\Microsoft SDKs\Windows\v7.0A\Include" directory. (I have 
copied all the header files because once I have stopped getting error for 
(atlbase.h) then I have started getting Error for other header files).

So, now after resolving issues of "atlbase.h" when again I typed the command 
"C:\src\swtoolkit\hammer.bat" on command prompt, I am still getting some bunch 
of errors indicated in word file attached named "error_on_cmd.doc". Please help 
me  to resolve the errors I have got.

I have also attached "C:\src" directory of My Computer.  Please review it as 
well and resolve my queries.

I would be very much thankful of you.

Regards,
Jignesh Kapadiya

Original issue reported on code.google.com by jignesh....@gmail.com on 24 Aug 2011 at 5:36

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry, I could not attach the src directory because of size limitation.

Original comment by jignesh....@gmail.com on 24 Aug 2011 at 5:39

GoogleCodeExporter commented 9 years ago
You might want to try version 0.6.x. I also met millions of errors with 0.5.x 
and still don't know why. But 0.6.x is much easier to build and I successfully 
built it on my Win 7 machine. 

Original comment by tangketa...@gmail.com on 9 Nov 2011 at 8:04

GoogleCodeExporter commented 9 years ago
I don't have the exact config to confirm what you have, but I think the problem 
could be cause by the following action:

"So I have then copied all the required header files from "Microsoft Platform 
SDK for Windows Server 2003 R2\include" to my original "C:\Program 
Files\Microsoft SDKs\Windows\v7.0A\Include" directory."

Could you please check your PATH in your system environment to see if the SDK 
file path is already set.

Also, please try out the latest version of libjingle.

Original comment by jun...@google.com on 3 Jan 2012 at 10:03

GoogleCodeExporter commented 9 years ago

Original comment by jun...@google.com on 3 Jan 2012 at 10:30