ipop-project / Legacy-Documentation

[Deprecated] Documentation for releases 15.07 and earlier. Latest documentation can be found in https://github.com/ipop-project/ipop-project.github.io/wiki .
http://ipop-project.org/
59 stars 12 forks source link

Windows7 build tutorial does not work [solution] #13

Open zunzu opened 8 years ago

zunzu commented 8 years ago

Hello, The step by step tutorial does not work anymore. Its outdated I think I have built latest webrtc alone but I did not yet manage to build ipop

Does ipop work with latest webrtc?

kcratie commented 8 years ago

Zunzu - Unfortunately, at this time none of the IPOP build documentations will succeed. Recent changes to the libjingle repo breaks the build (@ver=3.52). One of which was the move from http to https that you mentioned. We are in the process of moving to the current webrtc build but this requires code changes on our part. Please keep an eye out as we expect to roll out these changes over the course of the next few weeks.

ubap commented 8 years ago

Thank you for your answer. I managed to build it. I pretty much just followed the Windows 7 build tutorial. The changes that I made:

  1. Set up an additional environmental variable:

    set GYP_DEFINES=target_arch=ia32
  2. Before running gclient sync command edit .gclient file, chang line 3 from:

    "url"         : "http://webrtc.googlecode.com/svn/branches/3.52",

    to

    "url"         : "https://webrtc.googlecode.com/svn/branches/3.52",
  3. Run gclient sync, it will fail. Update trunk/DEPS file. Line 13 from http to https:

    "chromium_trunk" : "https://src.chromium.org/svn/trunk",

    Run gclient sync again, now it should work.

  4. In the Get additional dependencies point 1, move Pre-built.2 folder content.
  5. In the Building the code point 1, I added two more warning codes: 4013, 4267. Edit: Looks like ignoring code 4013 is not necessary. I didn't run any comand with --force.
  6. Modify 137 line of tincan.cc. Remove InitializeSSL parameter.

    talk_base::InitializeSSL();

    Looks like callback is/was not supported on windows?

  7. Rebuilding ipoptap.dll is necessary.

I hope it might help someone to start.

Regards, ubap (formerly posting as @zunzu)

laurentius77 commented 8 years ago

I have also difficulties in building from source in Linux. I will try to adapt your knowledge in building Ipop for Linux - I hope to be close. Any help or hint will be welcomed. Thanks everybody!