[Freeswitch-users] FSClient Compile

Nyamul Hassan nyamul at gmail.com
Sat Feb 8 22:21:55 MSK 2014


BUMP

I apologize for bumping this post.  Could anyone advise what I am doing
wrong?

Regards
HASSAN



On Wed, Feb 5, 2014 at 4:24 AM, Nyamul Hassan <nyamul at gmail.com> wrote:

> Dear Mitch,
>
> I've recompiled FreeSWITCH in Visual Studio 2010 Ultimate Edition.  The
> include path is also set up as mentioned in the wiki.
>
> However, when I start compiling FSClient, VS is throwing these error:
>
> Error 1 'FreeSWITCH.Native.Api' does not contain a constructor that takes
> 0 arguments D:\data\freeswitch-me\FSClient-vs2010\Utils.cs 25 11 FSClient
>
> Error 2 'FreeSWITCH.Native.Api' does not contain a constructor that takes
> 0 arguments D:\data\freeswitch-me\FSClient-vs2010\Utils.cs 73 13 FSClient
>
> I tried googling but could not find something that has
> "FreeSWITCH.Native.Api" and "Utils.cs".
>
> Can you help out please?
>
> Regards
>  HASSAN
>
>
>
>
> On Fri, Jan 31, 2014 at 2:46 AM, Nyamul Hassan <nyamul at gmail.com> wrote:
>
>> Thanks Mitch!  The shortcut is very nice!  :-)
>>
>> Regards
>> HASSAN
>>
>>
>>
>> On Fri, Jan 31, 2014 at 1:59 AM, Mitch Capper <mitch.capper at gmail.com>wrote:
>>
>>> Also, if you are planning to open your plugin for free to others to use
>>> I would be happy to setup your system to get you up and running, we can use
>>> teamviewer to get it all setup.
>>>
>>> ~mitch
>>>
>>>
>>> On Thu, Jan 30, 2014 at 11:42 AM, Mitch Capper <mitch.capper at gmail.com>wrote:
>>>
>>>> As I mentioned you can totally do as you want:)  You want to write
>>>> FSClient plugins so you don't need to compile Freeswitch.  Just install the
>>>> stock FSClient and then copy the FS dlls out of there into the target
>>>> directory and you are good to go to compile FSClient and make plugins:)
>>>> FSClient itself needs VS C# express but that should be no problem (as
>>>> FSClient doesn't use any C++).
>>>>
>>>> ~mitch
>>>>
>>>>
>>>> On Thu, Jan 30, 2014 at 11:23 AM, Nyamul Hassan <nyamul at gmail.com>wrote:
>>>>
>>>>> Thanks Mitch for the heads up!  So, I am out of luck, as I only have
>>>>> the Express Edition of Visual Studio, and that does not come with C#.
>>>>>
>>>>> The reason I wanted to compile was to do some plugin development
>>>>> myself.  Right now, I have a particularly interest to add a small Google
>>>>> Contacts plugin, that would allow me to access all the contacts from my
>>>>> Android Phones with FSClient.
>>>>>
>>>>> Thank you once again!  It is because of the vibrant nature of this
>>>>> community, that makes me want to keep working on this again and again, in
>>>>> spite of other more widely used open source projects!  :-)
>>>>>
>>>>> Regards
>>>>> HASSAN
>>>>>
>>>>>
>>>>>
>>>>> On Thu, Jan 30, 2014 at 11:12 PM, Mitch Capper <mitch.capper at gmail.com
>>>>> > wrote:
>>>>>
>>>>>> You will need mod_managed for FSClient:)   That command is where its
>>>>>> trying to copy the FS build files to your FSClient working dir.  Make sure
>>>>>> you built Freeswitch on Release, and make sure you set the ENV variable
>>>>>> FREESWITCH_SRC_LOCATION to that path.   You can remove that from the build
>>>>>> steps (its just conveniently copying those files into place) but you will
>>>>>> need to copy them by hand then.  Keep in mind if you don't want to custom
>>>>>> build FreeSWITCH you can download the FSClient official build and just copy
>>>>>> the dlls out of there.
>>>>>>
>>>>>> ~Mitch
>>>>>>
>>>>>>
>>>>>> On Wed, Jan 29, 2014 at 5:16 PM, Nyamul Hassan <nyamul at gmail.com>wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> Is this the right forum to ask about FSClient compile problems?  If
>>>>>>> not, can you please guide me to the forum which is?
>>>>>>>
>>>>>>> If yes, I would be grateful if you could help me out here.
>>>>>>>
>>>>>>> I downloaded FreeSwitch and the build on VS2012 completed
>>>>>>> successfully (without mod_managed, mod_cephstral, mod_v8, mod_v8_skel &
>>>>>>> libv8).
>>>>>>>
>>>>>>> Whenever I start compiling FSClient, I get the following error:
>>>>>>>
>>>>>>> Error 1 The command "if not exist ..\..\"external items\Release\"
>>>>>>> md ..\..\"external items\Release\"
>>>>>>> if exist "%FREESWITCH_SRC_LOCATION%" copy
>>>>>>>  "%FREESWITCH_SRC_LOCATION%"\Win32\Release\mod\FreeSWITCH.Managed.dll
>>>>>>> ..\..\"external items\Release\"" exited with code 1. FSClient
>>>>>>>
>>>>>>> Could you please help with what I am doing wrong?
>>>>>>>
>>>>>>> I am following the instructions on
>>>>>>> http://wiki.freeswitch.org/wiki/FSClient.  I must be
>>>>>>> misunderstanding / missing something.
>>>>>>>
>>>>>>> Regards
>>>>>>> HASSAN
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _________________________________________________________________________
>>>>>>> Professional FreeSWITCH Consulting Services:
>>>>>>> consulting at freeswitch.org
>>>>>>> http://www.freeswitchsolutions.com
>>>>>>>
>>>>>>> 
>>>>>>> 
>>>>>>>
>>>>>>> Official FreeSWITCH Sites
>>>>>>> http://www.freeswitch.org
>>>>>>> http://wiki.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://wiki.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://wiki.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://wiki.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
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140209/e8a617c0/attachment.html 


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