[Freeswitch-users] freeswitch startup issue
Michael Jerris
mike at jerris.com
Sat Jul 15 14:00:26 PDT 2006
It would appear you are using the express edition of the compiler..
please make sure you have completely installed the platform sdk from the
instructions on the express eddition download site:
http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/ , and
followed all the other steps necessary for express eddition to use it,
the instructions are a bit confusing, but when you follow them closely,
they should work every time
After you get through that, do a fresh checkout of freeswitch (not quite
sure what happened to yours).
Make sure you have an internet connection on your first build, it
downloads some required files and creates switch_version.h after doing
some version lookups that require access to the subversion repository.
open up w32/vsnet/freeswitch.sln
Select the main solution node at the top of the solution explorer
Right Click -> select build.
If you continue to have issues after that, can you paste the ENTIRE
initial build log in so I can take a look and/or catch me on IRC and let
me into the box to take a look.
Also, I just commited the updates to the installer this morning that
includes all the more recent modules, I hope to do a daily snapshot msi
for download soon.
Mike
________________________________
From: ivancoder [mailto:ivancoder at gmail.com]
Sent: Saturday, July 15, 2006 4:39 PM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] freeswitch startup issue
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20060715/a873aa89/attachment-0007.html
-------------- next part --------------
_______________________________________________
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
More information about the FreeSWITCH-users
mailing list