[Freeswitch-users] Windows build

Gregor Nanger gregor at infomedia.si
Wed Apr 6 02:38:04 MSD 2016


Just bumping this post if someone has any hints.

I am trying to build Freeswitch with Visual studio 2015, but keep getting
error:
Error MSB4057 The target "v8:Rebuild" does not exist in the project.
[C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln] libv8
​ ​
C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln.metaproj 1
​"


Would realy like to successfuly build Freeswitch in windows. I tried with
1.6 branch.

Best regards, Gregor

2016-03-17 5:43 GMT+01:00 Sergey Safarov <s.safarov at gmail.com>:

> One week ago I successfully compiled mod_V8 on CentOS 7.
> May be switch to Linux?
>
> On Thu, Mar 17, 2016 at 12:49 AM, Gregor Nanger <gregor at infomedia.si>
> wrote:
>
>> Thank you Harald.
>>
>> I tried with latest branch 1.7 and x64 and got errors regarding mod_V8. I
>> tried what Peter suggested, but I am more in c# and web projects and do not
>> have experience in building  C++ projects. There is already prebuilt setup
>> on freeswitch site, so someone successfully build it :-)) It is not so
>> important for us at this point to make own build, so will try again later.
>>
>>
>> 2016-03-11 7:32 GMT+01:00 Harald Petrovitsch <
>> Harald.Petrovitsch at sermotec.at>:
>>
>>> Hi Gregor,
>>>
>>>
>>>
>>> I only do a
>>>
>>> Git.exe clone –bv1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git
>>> .
>>>
>>>
>>>
>>> Loaded the solution into vs2015, set configuration Win32 / Release and
>>> press f7 (need to do it two times)
>>>
>>>
>>>
>>> The build ended with
>>>
>>> ========== Build: 20 succeeded, 0 failed, 157 up-to-date, 15 skipped
>>> ==========
>>>
>>>
>>>
>>> I’ve attached a list of the generated mod folder
>>>
>>>
>>>
>>> Regards
>>>
>>> Harald
>>>
>>>
>>>
>>> *Von:* freeswitch-users-bounces at lists.freeswitch.org [mailto:
>>> freeswitch-users-bounces at lists.freeswitch.org] *Im Auftrag von *Shishko
>>> *Gesendet:* Donnerstag, 10. März 2016 07:00
>>> *An:* freeswitch-users at lists.freeswitch.org
>>>
>>> *Betreff:* Re: [Freeswitch-users] Windows build
>>>
>>>
>>>
>>> Hi Harald,
>>>
>>> what did you do to build libv8 and mod_v8? I tried with VS2015 Update 1,
>>> branch 1.6, but to no avail.
>>>
>>> Thanks
>>>
>>> On 03/07/2016 08:20 AM, Harald Petrovitsch wrote:
>>>
>>> Hi Gregor !
>>>
>>>
>>>
>>> V8 libs and mod builds fine here (visual Studio 2015 Sp1, 1.6 branch,
>>> used tortoiseGit to download it))
>>>
>>>
>>>
>>> Regards
>>>
>>> Harald
>>>
>>>
>>>
>>> *Von:* freeswitch-users-bounces at lists.freeswitch.org [
>>> mailto:freeswitch-users-bounces at lists.freeswitch.org
>>> <freeswitch-users-bounces at lists.freeswitch.org>] *Im Auftrag v**on *Gregor
>>> Nanger
>>> *Gesendet:* Montag, 07. März 2016 00:19
>>> *An:* FreeSWITCH Users Help
>>> *Betreff:* Re: [Freeswitch-users] Windows build
>>>
>>>
>>>
>>> Thank you, H
>>>
>>> ​a​
>>>
>>> rald. This works: "AFAIK, for the „'lame/lame.h'“ you have to change the
>>> include line to  only “lame.h”"
>>>
>>> B
>>>
>>> ​ut for v8 stil do  not have solution. I do not want to exclude mod_v8,
>>> since this module runs javascript. But, can you please confirm me that is
>>> not yet compatible, to stop trying to solve it.
>>>
>>>
>>> Any other suggestion what does this mean:
>>> "
>>> Error MSB4057 The target "v8:Rebuild" does not exist in the project.
>>> [C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln] libv8
>>>
>>> ​ ​
>>>
>>> C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln.metaproj 1
>>>
>>> ​"
>>>
>>>
>>>
>>> Best regards, Gregor​
>>>
>>>
>>>
>>> 2016-03-06 16:39 GMT+01:00 Peter Olsson <peter at olssononline.se>:
>>>
>>> Remove mod_v8 from the build. I don't think it's compatible with VS2015
>>> for now. However, all other modules should be ok.
>>>
>>>
>>>
>>> /Peter
>>>
>>>
>>>
>>> 2016-03-06 12:31 GMT+01:00 Gregor Nanger <gregor at infomedia.si>:
>>>
>>> ​This helped a lot, thank you. Now I have only few errors. Any hint?
>>>
>>>
>>>
>>> Error MSB4057 The target "v8:Rebuild" does not exist in the project.
>>> [C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln]
>>> libv8 C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln.metaproj 1
>>>
>>> Error MSB4057 The target "v8:Rebuild" does not exist in the project.
>>> [C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln] libv8
>>> C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln.metaproj 1
>>>
>>> Error C1083 Cannot open include file: 'lame/lame.h': No such file or
>>> directory mod_shout C:\Git\freeswitch\src\mod\formats\mod_shout\mod_shout.c
>>> 38
>>>
>>> Error LNK1181 cannot open input file 'icui18n.lib' mod_v8
>>> C:\Git\freeswitch\src\mod\languages\mod_v8\LINK 1
>>>
>>>
>>>
>>>>>>
>>>
>>>
>>> 2016-03-06 7:53 GMT+01:00 Peter Olsson <peter at olssononline.se>:
>>>
>>> One common mistake is that you allow Git to modify line endings. Make
>>> sure autocrlf is turned off - then clone the repository again from scratch.
>>>
>>>
>>>
>>> Also, I'm not sure if it will work in VS2015, but give it a try.
>>>
>>>
>>>
>>> /Peter
>>>
>>>
>>>
>>> 2016-03-06 2:06 GMT+01:00 Gregor Nanger <gregor at infomedia.si>:
>>>
>>> Hi!
>>>
>>>
>>>
>>> I want to build Freeswitch on windows with visual studio 2015.
>>>
>>>
>>>
>>> Where should I start if I get 600 errors when try to Rebuild All. I
>>> opened solution and start Rebuild All, but I get so many errors that I
>>> belive that I am doing something wrong.
>>>
>>>
>>>
>>> Mainl yre errors regarding:
>>>
>>>
>>>
>>> Cannot open source file....
>>>
>>>
>>>
>>>
>>>
>>> Best regards, Gregor
>>>
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://confluence.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>>
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://confluence.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>>
>>>
>>>
>>>
>>> --
>>>
>>> *Gregor Nanger*
>>>
>>>
>>>
>>> *CTO*
>>> t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485
>>> • Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia
>>> • www.infomedia.si
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://confluence.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>>
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://confluence.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>>
>>>
>>>
>>>
>>> --
>>>
>>> *Gregor Nanger*
>>>
>>>
>>>
>>> *CTO*
>>> t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485
>>> • Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia
>>> • www.infomedia.si
>>>
>>>
>>>
>>>
>>>
>>>
>>> _________________________________________________________________________
>>>
>>> Professional FreeSWITCH Consulting Services:
>>>
>>> consulting at freeswitch.org
>>>
>>> http://www.freeswitchsolutions.com
>>>
>>>
>>>
>>> Official FreeSWITCH Sites
>>>
>>> http://www.freeswitch.org
>>>
>>> http://confluence.freeswitch.org
>>>
>>> http://www.cluecon.com
>>>
>>>
>>>
>>> FreeSWITCH-users mailing list
>>>
>>> FreeSWITCH-users at lists.freeswitch.org
>>>
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>
>>> http://www.freeswitch.org
>>>
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://confluence.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>
>>
>>
>> --
>> Gregor Nanger
>>
>> *CTO*
>> t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485
>> • Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia
>> • www.infomedia.si
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
Gregor Nanger

*CTO*
t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485
• Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia
• www.infomedia.si
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160406/cf2f716d/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list