Troubles with WinCE Project Files

OB
Olivier Beytrison
Thu, Oct 4, 2007 1:23 PM

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/

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/
BP
Benny Prijono
Thu, Oct 4, 2007 3:58 PM

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

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
OB
Olivier Beytrison
Thu, Oct 4, 2007 4:09 PM

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/

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/
A
atik
Thu, Oct 4, 2007 5:01 PM

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

> 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
A
atik
Thu, Oct 4, 2007 5:02 PM

for .vsw file, after you select .vsw

sorry it will be .vcw

> for .vsw file, after you select .vsw sorry it will be .vcw
OB
Olivier Beytrison
Fri, Oct 5, 2007 10:39 AM

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

--

Olivier Beytrison
Telecommunication Engineer
Mobile: +41 (0)78 619 73 53
Mail: olivier@heliosnet.org
GPG: 0x4FB83528 http://pgp.mit.edu/

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/
BP
Benny Prijono
Fri, Oct 5, 2007 12:40 PM

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

--
Benny Prijono
http://www.pjsip.org

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
OB
Olivier Beytrison
Fri, Oct 5, 2007 1:37 PM

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/

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/
A
atik
Fri, Oct 5, 2007 1:50 PM

#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

> #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
OB
Olivier Beytrison
Fri, Oct 5, 2007 2:18 PM

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/

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/