cookyshi / libjingle

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

Compiling on Windows with Visual Studio #270

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to compile on Windows using Visual Studio
2.
3.

What is the expected output? What do you see instead?
all_programs compiles.
talk\base\posix.cc (30): include file: 'sys/wait.h' : No such file or directory

What version of the product are you using? On what operating system?
Latest SVN
XP Visual Studio 2005 and 2008

Please provide any additional information below.
Also, previously working programs (in Visual C++) can no longer compile with 
the new header files.

Original issue reported on code.google.com by jhiswin on 4 Jan 2012 at 6:40

GoogleCodeExporter commented 9 years ago
What tools(dev env) do libjingle's developer use?

Original comment by tree1...@gmail.com on 10 Jan 2012 at 1:36

GoogleCodeExporter commented 9 years ago
They use MinGW GCC, swtoolkit, SConS, if I'm looking at the sources correctly.
I was able to get it to compile by removing compilation of posix from the scons 
files, as well as tweaking compilation options in Visual Studio (there's some 
linking issues).

Original comment by jhiswin on 10 Jan 2012 at 4:37

GoogleCodeExporter commented 9 years ago
Centralize all VS build related issues to #242

Original comment by jun...@google.com on 11 Jan 2012 at 5:21

GoogleCodeExporter commented 9 years ago
I want to note that this is not using a Visual Studio solution.  This is using 
the hammer tool with swtoolkit, but using the VS compiler.
I statically link to libjingle, but I compile using hammer.

Original comment by jhiswin on 12 Jan 2012 at 11:07