Hello!
I've checked out the SVN this morning in order to have the last
development version with the PRACK / UPDATE support.
Unfortunately, when i try to open the eVC4 Project file for the
wince_demo, I have a lot of errors about other project files which are
reported as "corrupted".
Any solution about this ?
Non-working project files :
pjlib-util/build/wince-evc4/pjlib_util_wince.vcp
pjmedia/build/wince-evc4/pjmedia_codec_wince.vcp
pjmedia/build/wince-evc4/pjmedia_wince.vcp
pjsip/build/wince-evc4/pjsip_core_wince.vcp
pjsip/build/wince-evc4/pjsip_simple_wince.vcp
pjsip/build/wince-evc4/pjsip_ua_wince.vcp
pjsip/build/wince-evc4/pjsua_lib_wince.vcp
Thanks for your help
Regards,
Olivier B.
--
Olivier Beytrison
Telecommunication Engineer
Mobile: +41 (0)78 619 73 53
Mail: olivier@heliosnet.org
GPG: 0x4FB83528 http://pgp.mit.edu/
Olivier Beytrison wrote:
Hello!
I've checked out the SVN this morning in order to have the last
development version with the PRACK / UPDATE support.
Unfortunately, when i try to open the eVC4 Project file for the
wince_demo, I have a lot of errors about other project files which are
reported as "corrupted".
Any solution about this ?
Strangely all the eVC4 projects are fine here. Could you just delete
them and re-fetch from SVN again?
cheers,
-benny
Non-working project files :
pjlib-util/build/wince-evc4/pjlib_util_wince.vcp
pjmedia/build/wince-evc4/pjmedia_codec_wince.vcp
pjmedia/build/wince-evc4/pjmedia_wince.vcp
pjsip/build/wince-evc4/pjsip_core_wince.vcp
pjsip/build/wince-evc4/pjsip_simple_wince.vcp
pjsip/build/wince-evc4/pjsip_ua_wince.vcp
pjsip/build/wince-evc4/pjsua_lib_wince.vcp
Thanks for your help
Regards,
Olivier B.
--
Benny Prijono
http://www.pjsip.org
Okay, I just fetched the whole project again, double-checked that there
were no read-only file or such things. But still the same things happen.
Maybe I should add that i use VS2005 so the project has to be
"converted" from eVC4 to VS2005.
this process was working fine on the "stable" version 0.5.10.4, but just
fails on the svn trunk release.
And thanks to M$, I didn't find any kind of "error log" why the
conversion failed.
Maybe if anyone else use VS2005 for Mobile Device development he could
say if he's facing the same problem.
Thx Benny for your help
regards,
Olivier B.
Benny Prijono a écrit :
Olivier Beytrison wrote:
Hello!
I've checked out the SVN this morning in order to have the last
development version with the PRACK / UPDATE support.
Unfortunately, when i try to open the eVC4 Project file for the
wince_demo, I have a lot of errors about other project files which are
reported as "corrupted".
Any solution about this ?
Strangely all the eVC4 projects are fine here. Could you just delete
them and re-fetch from SVN again?
cheers,
-benny
Non-working project files :
pjlib-util/build/wince-evc4/pjlib_util_wince.vcp
pjmedia/build/wince-evc4/pjmedia_codec_wince.vcp
pjmedia/build/wince-evc4/pjmedia_wince.vcp
pjsip/build/wince-evc4/pjsip_core_wince.vcp
pjsip/build/wince-evc4/pjsip_simple_wince.vcp
pjsip/build/wince-evc4/pjsip_ua_wince.vcp
pjsip/build/wince-evc4/pjsua_lib_wince.vcp
Thanks for your help
Regards,
Olivier B.
--
Olivier Beytrison
Telecommunication Engineer
Mobile: +41 (0)78 619 73 53
Mail: olivier@heliosnet.org
GPG: 0x4FB83528 http://pgp.mit.edu/
Maybe if anyone else use VS2005 for Mobile Device development he could
say if he's facing the same problem.
convert working fine with VS2005, i just checkout fresh SVN and i did
following, open VS2005 then File > Open > Project/solution > browse
for .vsw file, after you select .vsw file it will ask convert , i
select , yes to all. done
compile looks fine, except i am getting this linking error at the ending :)
Linking...
libportaudio.lib(pa_debugprint.obj) : error LNK2019: unresolved
external symbol vsnprintf referenced in function PaUtil_DebugPrint
Pocket PC 2003 (ARMV4)\Release/pjsua_wince.exe : fatal error LNK1120:
1 unresolved externals
btw i was also getting this warning before
....\portaudio\src\common\pa_debugprint.c(94) : warning C4013:
'vsnprintf' undefined; assuming extern returning int
thanks
atik
for .vsw file, after you select .vsw
sorry it will be .vcw
Well, after checking out the project directly from my computer (and not
from my linuxbox) things works perfectly.
thx atik and Benny for your help
Regards,
Olivier B.
atik a écrit :
for .vsw file, after you select .vsw
sorry it will be .vcw
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
--
Olivier Beytrison
Telecommunication Engineer
Mobile: +41 (0)78 619 73 53
Mail: olivier@heliosnet.org
GPG: 0x4FB83528 http://pgp.mit.edu/
Olivier Beytrison wrote:
Well, after checking out the project directly from my computer (and not
from my linuxbox) things works perfectly.
Ah I see.
This is because the svn eol-style was set to "native" for those EVC4
project files, so when you checkout pjsip on Linux, svn will convert
CRLF in the project files to LF, which is complained by VS2005.
I've fixed this in r1472.
Btw did you not get the vsnprintf link error that Atik reported?
This is the part in PortAudio where it fails:
third_party/portaudio/src/common/pa_debugprint.c:77
#if (_MSC_VER) && (_MSC_VER < 1400)
#define VSNPRINTF _vsnprintf
#else
#define VSNPRINTF vsnprintf
#endif
IMO _vsnprintf (with underscore) should be used for all VS versions,
but it looks like you VS with version more recent than 1400. Do you
know what is the value of _MSC_VER in your VS?
regards,
-benny
thx atik and Benny for your help
Regards,
Olivier B.
atik a écrit :
for .vsw file, after you select .vsw
sorry it will be .vcw
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
--
Benny Prijono
http://www.pjsip.org
Benny Prijono a écrit :
Ah I see.
This is because the svn eol-style was set to "native" for those EVC4
project files, so when you checkout pjsip on Linux, svn will convert
CRLF in the project files to LF, which is complained by VS2005.
I've fixed this in r1472.
Btw did you not get the vsnprintf link error that Atik reported?
This is the part in PortAudio where it fails:
third_party/portaudio/src/common/pa_debugprint.c:77
#if (_MSC_VER) && (_MSC_VER < 1400)
#define VSNPRINTF _vsnprintf
#else
#define VSNPRINTF vsnprintf
#endif
IMO _vsnprintf (with underscore) should be used for all VS versions,
but it looks like you VS with version more recent than 1400. Do you
know what is the value of _MSC_VER in your VS?
Can't tell you yet, in fact so far I was just able to open successfully
the project, but i can't compile it yet. Had to install the DXSDK and
PSDK, but i'm about to try it again right now, so I'll keep you informed
for the _MSC_VER i have the 1400
Regards,
Olivier
regards,
-benny
--
Olivier Beytrison
Telecommunication Engineer
Mobile: +41 (0)78 619 73 53
Mail: olivier@heliosnet.org
GPG: 0x4FB83528 http://pgp.mit.edu/
#if (_MSC_VER) && (_MSC_VER < 1400)
#define VSNPRINTF _vsnprintf
#else
#define VSNPRINTF vsnprintf
#endif
it works, link without error, i did change
#else
#define VSNPRINTF _vsnprintf
and _MSC_VER is 1400 not less :) , its show this while i mouse over it.
#define _MSC_VER 1400
thanks
atik
Guess I'm about to become crazy with this stuff, I miss the ease of
developing under linux :p
anyway, after installing the platform sdk and directx sdk, I still had
the "DSound.h" error, so i had to add manually the include and lib path
to VS2005. after that, PortAudio compiled successfully without any
warnings, but suddenly ...
Error 1 error LNK2019: unresolved external symbol Pa_GetHostApiCount
referenced in function pjmedia_snd_init pjmedia_wince.lib
Error 2 error LNK2019: unresolved external symbol Pa_Initialize
referenced in function pjmedia_snd_init pjmedia_wince.lib
Error 3 error LNK2019: unresolved external symbol
PaUtil_SetDebugPrintFunction referenced in function pjmedia_snd_init
pjmedia_wince.lib
etc. etc. until error no. 42 (nice number actually)
some kind of lib path error (same kind of error as when "ld" fails to
find a .so/.a lib under linux). Unfortunately, I'm just so new to Win32
development and VS2005 that if someone could just point me where to look
at, it would save me a lot of time :)
Thx for everything
Olivier B.
--
Olivier Beytrison
Telecommunication Engineer
Mobile: +41 (0)78 619 73 53
Mail: olivier@heliosnet.org
GPG: 0x4FB83528 http://pgp.mit.edu/
what edition of VS you are using?
Visual Studio 2005 Professional Service Pack 1 (_MSC_VER 1400)
hope it helps
Regards,
Olivier B.
atik a écrit :
what edition of VS you are using?
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
--
Olivier Beytrison
Telecommunication Engineer
Mobile: +41 (0)78 619 73 53
Mail: olivier@heliosnet.org
GPG: 0x4FB83528 http://pgp.mit.edu/
Visual Studio 2005 Professional Service Pack 1 (_MSC_VER 1400)
yes, it should work :) i was asking coz in VS2005 Express Edition
Pocket PC SDK doesnt work . did it import the project file
successfully? did you import wince_demos.vcw file form
pjsip-apps\build\wince-evc4\wince_demos.vcw
if not then open VS >> File >> Open >> Project/Solution >> brouse &
select wince_demos.vcw >> open, it will ask to convert , click yes to
all.., now from solution explorer select pjsua_wince and build it.
btw what version of DirectX SDK you are using? my version is AUG 2007.
atik
atik a écrit :
Visual Studio 2005 Professional Service Pack 1 (_MSC_VER 1400)
yes, it should work :) i was asking coz in VS2005 Express Edition
Pocket PC SDK doesnt work . did it import the project file
successfully? did you import wince_demos.vcw file form
pjsip-apps\build\wince-evc4\wince_demos.vcw
if not then open VS >> File >> Open >> Project/Solution >> brouse &
select wince_demos.vcw >> open, it will ask to convert , click yes to
all.., now from solution explorer select pjsua_wince and build it.
That's what I was doing, conversion was working fine, and now i just use
my .sln file to open the project.
btw what version of DirectX SDK you are using? my version is AUG 2007.
Same as yours
I still get the same errors, and each time I open the project, I have to
re-add the include and lib dir of the DX SDK.
Btw, did you use the config_site_sample.h or did you tweak it to your
needs ?
Olivier
atik
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
--
Olivier Beytrison
Telecommunication Engineer
Mobile: +41 (0)78 619 73 53
Mail: olivier@heliosnet.org
GPG: 0x4FB83528 http://pgp.mit.edu/
ok, don't ask me why, but suddenly everything work ... I didn't do
anything but it works ...
That's definitively Microsoft for you :s
anyway, thx Atik for your valuable help :)
Olivier Beytrison
Telecommunication Engineer
Mobile: +41 (0)78 619 73 53
Mail: olivier@heliosnet.org
GPG: 0x4FB83528 http://pgp.mit.edu/
I still get the same errors, and each time I open the project, I have to
re-add the include and lib dir of the DX SDK.
i just found out i never use DIrectX SDK for PocketPC settings, its in
only WIN32.
Btw, did you use the config_site_sample.h or did you tweak it to your
needs ?
in config_site.h only
#ifndef CONFIG_SITE_H_
#define CONFIG_SITE_H_
#include <pj/config_site_sample.h>
#endif /CONFIG_SITE_H_/
and no more tweak
atik
atik wrote:
Visual Studio 2005 Professional Service Pack 1 (_MSC_VER 1400)
yes, it should work :) i was asking coz in VS2005 Express Edition
Pocket PC SDK doesnt work . did it import the project file
successfully? did you import wince_demos.vcw file form
pjsip-apps\build\wince-evc4\wince_demos.vcw
Wait a second. Atik, Olivier, do you use VS2005 or VS2005 for
Windows Mobile? Sorry I never use VS2005 for WM so I can't tell the
difference.
If you use VS 2005 for Win32, including Express Edition, then you
can just use pjproject-vs8.sln from the root directory.
I assume you only need to import the eVC4 projects if you're
developing for Windows Mobile or WinCE, using VS2005.
cheers,
-benny
Yeah, that's it.
I think we are both using VS2005 with the Windows Mobile SDK Installed.
That's why we have to open and import/convert the eVC4 project file.
Benny Prijono a écrit :
atik wrote:
Visual Studio 2005 Professional Service Pack 1 (_MSC_VER 1400)
yes, it should work :) i was asking coz in VS2005 Express Edition
Pocket PC SDK doesnt work . did it import the project file
successfully? did you import wince_demos.vcw file form
pjsip-apps\build\wince-evc4\wince_demos.vcw
Wait a second. Atik, Olivier, do you use VS2005 or VS2005 for
Windows Mobile? Sorry I never use VS2005 for WM so I can't tell the
difference.
If you use VS 2005 for Win32, including Express Edition, then you
can just use pjproject-vs8.sln from the root directory.
I assume you only need to import the eVC4 projects if you're
developing for Windows Mobile or WinCE, using VS2005.
cheers,
-benny
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
--
Olivier Beytrison
Telecommunication Engineer
Mobile: +41 (0)78 619 73 53
Mail: olivier@heliosnet.org
GPG: 0x4FB83528 http://pgp.mit.edu/
Wait a second. Atik, Olivier, do you use VS2005 or VS2005 for
Windows Mobile? Sorry I never use VS2005 for WM so I can't tell the
difference.
in addition, for Pocket PC SDK, you need to use VS 2005 Standard or
Professional Edition ( Express Editions are not supported ) as
Microsoft website said :)
If you use VS 2005 for Win32, including Express Edition, then you
can just use pjproject-vs8.sln from the root directory.
yes pjproject-vs8.sln works fine except this warning ...
\pjsip-apps\src\pjsua\main.c(54) : warning C4702: unreachable code, looks like
btw for Windows Mobile i am getting some warning but Not in compiling WIN32
short_term.c(60) : warning C4244: '=' : conversion from 'long' to
'word', possible loss of data
preprocess.c(91) : warning C4244: '=' : conversion from 'longword' to
'word', possible loss of data
lpc.c(80) : warning C4244: '=' : conversion from 'longword' to 'word',
possible loss of data
long_term.c(276) : warning C4244: '=' : conversion from 'longword' to
'word', possible loss of data
decode.c(29) : warning C4244: '=' : conversion from 'longword' to
'word', possible loss of data
add.c(26) : warning C4244: 'return' : conversion from 'longword' to
'word', possible loss of data
also this
pa_win_wmme.c(596) : warning C4133: 'function' : incompatible types -
from 'TCHAR [32]' to 'const char *'
thanks
atik
atik wrote:
Wait a second. Atik, Olivier, do you use VS2005 or VS2005 for
Windows Mobile? Sorry I never use VS2005 for WM so I can't tell the
difference.
in addition, for Pocket PC SDK, you need to use VS 2005 Standard or
Professional Edition ( Express Editions are not supported ) as
Microsoft website said :)
Okay, thanks for the info. I've reported the _vsnprintf to PortAudio
list, hopefully someone will take the fix.
If you use VS 2005 for Win32, including Express Edition, then you
can just use pjproject-vs8.sln from the root directory.
yes pjproject-vs8.sln works fine except this warning ...
\pjsip-apps\src\pjsua\main.c(54) : warning C4702: unreachable code, looks like
You can ignore this.
btw for Windows Mobile i am getting some warning but Not in compiling WIN32
short_term.c(60) : warning C4244: '=' : conversion from 'long' to
'word', possible loss of data
preprocess.c(91) : warning C4244: '=' : conversion from 'longword' to
'word', possible loss of data
lpc.c(80) : warning C4244: '=' : conversion from 'longword' to 'word',
possible loss of data
long_term.c(276) : warning C4244: '=' : conversion from 'longword' to
'word', possible loss of data
decode.c(29) : warning C4244: '=' : conversion from 'longword' to
'word', possible loss of data
add.c(26) : warning C4244: 'return' : conversion from 'longword' to
'word', possible loss of data
This is when building libgsmcodec, is it? I haven't managed to port
gsm to WinCE yet, and last time I used it it crashed the
application. So for now lets just assume that it's non working.
also this
pa_win_wmme.c(596) : warning C4133: 'function' : incompatible types -
from 'TCHAR [32]' to 'const char *'
It looks like PA device info is broken for WinCE. :(
-benny
thanks
atik
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
--
Benny Prijono
http://www.pjsip.org