1. I didn’t really see those instructions – and was getting errors like could not find windows.h -> anyway those got resolved by looking at this post (http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=7004&SiteID=1) and copying over files as suggested.

 

2. That got me past basic installation type errors. But then I hit errors like could not find switch_version.h -> I saw a file called switch_version.h.in so I renamed it

 

3. Then I got errors of the type to prevent FreeSwitchCoreLib from being created:

c:\ccode\freeswitch\snapshot_freeswitch\src\switch_core.c(2875) : error C2275: 'switch_xml_t' : illegal use of this type as an expression

        c:\ccode\freeswitch\snapshot_freeswitch\src\include\switch_types.h(704) : see declaration of 'switch_xml_t'

c:\ccode\freeswitch\snapshot_freeswitch\src\switch_core.c(2875) : error C2146: syntax error : missing ';' before identifier 'xml'

c:\ccode\freeswitch\snapshot_freeswitch\src\switch_core.c(2875) : error C2065: 'xml' : undeclared identifier

c:\ccode\freeswitch\snapshot_freeswitch\src\switch_core.c(2875) : warning C4047: '=' : 'int' differs in levels of indirection from 'void *'

c:\ccode\freeswitch\snapshot_freeswitch\src\switch_core.c(2875) : error C2065: 'cfg' : undeclared identifier

c:\ccode\freeswitch\snapshot_freeswitch\src\switch_core.c(2875) : warning C4047: '=' : 'int' differs in levels of indirection from 'void *'

c:\ccode\freeswitch\snapshot_freeswitch\src\switch_core.c(2898) : warning C4047: 'function' : 'switch_xml_t *' differs in levels of indirection from 'int *__w64 '

c:\ccode\freeswitch\snapshot_freeswitch\src\switch_core.c(2898) : warning C4024: 'switch_xml_open_cfg' : different types for formal and actual parameter 2

c:\ccode\freeswitch\snapshot_freeswitch\src\switch_core.c(2898) : warning C4047: '=' : 'int' differs in levels of indirection from 'switch_xml_t'

c:\ccode\freeswitch\snapshot_freeswitch\src\switch_core.c(2901) : warning C4047: 'function' : 'switch_xml_t' differs in levels of indirection from 'int'

c:\ccode\freeswitch\snapshot_freeswitch\src\switch_core.c(2901) : warning C4024: 'switch_xml_child' : different types for formal and actual parameter 1

c:\ccode\freeswitch\snapshot_freeswitch\src\switch_core.c(2911) : warning C4047: 'function' : 'switch_xml_t' differs in levels of indirection from 'int'

c:\ccode\freeswitch\snapshot_freeswitch\src\switch_core.c(2911) : warning C4024: 'switch_xml_free' : different types for formal and actual parameter 1

switch_loadable_module.c

c:\ccode\freeswitch\snapshot_freeswitch\src\switch_loadable_module.c(671) : error C2220: warning treated as error - no 'object' file generated

c:\ccode\freeswitch\snapshot_freeswitch\src\switch_loadable_module.c(671) : warning C4244: '=' : conversion from '__w64 int' to 'uint32_t', possible loss of data

c:\ccode\freeswitch\snapshot_freeswitch\src\switch_loadable_module.c(686) : warning C4389: '==' : signed/unsigned mismatch

 

Any insight will be much appreciated.

 

Thanks,

Ivan

 


From: Michael Jerris [mailto:mike@jerris.com]
Sent: Saturday, July 15, 2006 2:40 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] freeswitch startup issue

 

You only need to install platform sdk if using the MSVC 2005 express edition as it does not come with the platform sdk.  The Profesional version does.  I just installed the Windows 2003 version of the platform SDK (yes even on windows XP).  When you download the express edition, there are a set of instructions that explain what exactly you need to install and what settings you need to change.

 

Mike

 

 


From: David R. Kompel [mailto:drk@drkngs.net]
Sent: Friday, July 14, 2006 5:49 PM
To: 'Anthony Minessale'; freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] freeswitch startup issue

Which parts and what version of PLAT-SDK should be installed?

 

Thanks,

--Dave

 


From: Anthony Minessale [mailto:anthmct@yahoo.com]
Sent: Friday, July 14, 2006 1:10 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] freeswitch startup issue

 

No problem,

 

This is flame-retardant list so don't worry.

 

I'll have someone follow up with more detailed instructions when they are free but in the meantime:

 

1) Get MSVC 2005 or the light one + the Platform SDK
2) check out via svn or download the source to your box

3)  from the source dir open w32/vsnet/Freeswitch.sln

4) right click on the project and choose build

 

That should build the entire thing

 

Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

MSN:anthony_minessale@hotmail.com
JABBER:anthony.minessale@gmail.com

FreeSWITCH Developer Conference
sip:888@66.250.68.194
pstn:712-432-7800

 

----- Original Message ----
From: ivancoder <ivancoder@gmail.com>
To: freeswitch-users@lists.freeswitch.org
Sent: Friday, July 14, 2006 1:54:17 PM
Subject: Re: [Freeswitch-users] freeswitch startup issue

Its been a while since I’ve done any c programming  (mostly have been doing java for a while) – ideally, I was hoping to just have an install that I could double click and run and test but it looks like the code is not in that stage yet..

can someone post some setup instructions for a developer setup in windows (should something like install visual studio, download code, hit compile and it will build everything that’s needed work?) – flame away if you think I should figure this out by myself – but I’m guessing there’s quite a few people that haven’t done c in a while..

 

 


From: Anthony Minessale [mailto:anthmct@yahoo.com]
Sent: Friday, July 14, 2006 8:23 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] freeswitch startup issue

 

Hi,

 

You can call make nodepends to deactivate all the autobuilding features but it's much harder

to build then.

 

as for the mission .so

 

add $prefix/lib to your LD_LIBRARY_PATH

 

If you build to the default location /usr/local/freeswitch

add /usr/local/freeswitch/lib to ld.so.conf and run ldconfig

 

or set it from the command line

 

$ LD_LIBRARY_PATH=/usr/local/freeswitch/lib /usr/local/freeswitch/bin/freeswitch

 

or set it as an environment variable from a prompt or in your shell rc file

 

export LD_LIBRARY_PATH=/usr/local/freeswitch/lib

 


 

Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

MSN:anthony_minessale@hotmail.com
JABBER:anthony.minessale@gmail.com

FreeSWITCH Developer Conference
sip:888@66.250.68.194
pstn:712-432-7800

 

----- Original Message ----
From: Abdul Qadir <ablqadir@yahoo.com>
To: freeswitch-users@lists.freeswitch.org
Sent: Thursday, July 13, 2006 12:08:52 AM
Subject: [Freeswitch-users] freeswitch startup issue

Hi !
  Luckly freeswitch installed on my system after downloading other libraries. But when i run freeswitch I get this error

./freeswitch: error while loading shared libraries: /usr/local/freeswitch/lib/libfreeswitch.so.1: cannot restore segment prot after reloc: Permission denied

Any idea how to solve this problem.


Best Regards,
Abdul Qadir


Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

 

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org