hi, Thanks Benny that worked. So now it is compiling fine. But I am getting all these link errors, this error is similar to one posted here http://www.pjsip.org/pipermail/pjsip/2007-May/003240.html but unfortunately there is no solution given there. 1>------ Rebuild All started: Project: pjlib_wince, Configuration: Release Windows Mobile 6 Professional SDK (ARMV4I) ------ .................... .................... .................... 16>Deleting intermediate and output files for project 'pjsua_wince', configuration 'Release|Windows Mobile 6 Professional SDK (ARMV4I)' 16>Compiling... 16>StdAfx.cpp 16>Compiling... 16>pjsua_wince.cpp 16>Compiling resources... 16>Linking... 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external symbol Pa_GetDeviceCount referenced in function pjmedia_snd_get_dev_count 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external symbol Pa_GetDeviceInfo referenced in function pjmedia_snd_get_dev_info 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external symbol Pa_GetHostApiInfo referenced in function pa_get_default_input_dev 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external symbol Pa_GetHostApiCount referenced in function pa_get_default_input_dev 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external symbol Pa_GetStreamInfo referenced in function pjmedia_snd_open_rec 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external symbol Pa_OpenStream referenced in function pjmedia_snd_open_rec 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external symbol Pa_CloseStream referenced in function pjmedia_snd_open 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external symbol Pa_StopStream referenced in function pjmedia_snd_stream_start 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external symbol Pa_StartStream referenced in function pjmedia_snd_stream_start 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external symbol Pa_Terminate referenced in function pjmedia_snd_deinit 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external symbol Pa_Initialize referenced in function pjmedia_snd_init 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external symbol PaUtil_SetDebugPrintFunction referenced in function pjmedia_snd_init 16>pjmedia_wince.lib(errno.obj) : error LNK2019: unresolved external symbol Pa_GetErrorText referenced in function pjmedia_strerror 16>pjmedia_wince.lib(resample_resample.obj) : error LNK2019: unresolved external symbol res_GetXOFF referenced in function pjmedia_resample_create 16>pjmedia_wince.lib(resample_resample.obj) : error LNK2019: unresolved external symbol res_SrcLinear referenced in function pjmedia_resample_run 16>pjmedia_wince.lib(resample_resample.obj) : error LNK2019: unresolved external symbol res_Resample referenced in function pjmedia_resample_run 16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved external symbol gsm_create referenced in function gsm_codec_open 16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved external symbol gsm_destroy referenced in function gsm_codec_close 16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved external symbol gsm_encode referenced in function gsm_codec_encode 16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved external symbol gsm_decode referenced in function gsm_codec_decode 16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved external symbol initDecode referenced in function ilbc_codec_open 16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved external symbol initEncode referenced in function ilbc_codec_open 16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved external symbol iLBC_encode referenced in function ilbc_codec_encode 16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved external symbol iLBC_decode referenced in function ilbc_codec_decode 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_encoder_destroy referenced in function get_speex_info 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_encoder_ctl referenced in function get_speex_info 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_encoder_init referenced in function get_speex_info 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_uwb_mode referenced in function pjmedia_codec_speex_init 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_wb_mode referenced in function pjmedia_codec_speex_init 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_nb_mode referenced in function pjmedia_codec_speex_init 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_decoder_destroy referenced in function spx_codec_close 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_bits_destroy referenced in function spx_codec_close 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_decoder_ctl referenced in function spx_codec_modify 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_bits_write referenced in function spx_codec_encode 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_bits_nbytes referenced in function spx_codec_encode 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_encode_int referenced in function spx_codec_encode 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_bits_reset referenced in function spx_codec_encode 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_decode_int referenced in function spx_codec_decode 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_bits_read_from referenced in function spx_codec_decode 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_decoder_init referenced in function spx_codec_open 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_bits_init referenced in function spx_codec_open 16>Windows Mobile 6 Professional SDK (ARMV4I)\Release/pjsua_wince.exe : fatal error LNK1120: 41 unresolved externals 16>Build log was saved at "file://c:\pjproject-0.8.0\pjsip-apps\src\pjsua_wince\Windows Mobile 6 Professional SDK (ARMV4I)\Release\BuildLog.htm" 16>pjsua_wince - 42 error(s), 0 warning(s) ========== Rebuild All: 9 succeeded, 1 failed, 6 skipped ========== Thanks Regards Arpit Mehta On Nov 28, 2007 6:56 AM, Benny Prijono <bennylp at pjsip.org> wrote: > > I don't have VS 2005, so my only guess is this was caused by the > project dependencies not properly set in the workspace during the > conversion process. Please add pjsua_wince project dependencies to > > > Project: libgsmcodec > > Project: libspeex > > Project: libresample > > Project: libportaudio > > Project: libmilenage > > Project: libilbccodec > > (and probably more). > > cheers, > -benny > > > > Arpit Mehta wrote: > > Hello all, > > > > I am new to this windows mobile/visual studio and this might be a very > > silly error for some of you. > > I was trying to build pjsip in visual studio 2005. Well the build > > process goes on smoothly for sometime but then at the end it does not > > link to one of the libraries > > > > 16>LINK : fatal error LNK1181: cannot open input file > > '..\..\..\third_party\lib\libportaudio-i386-win32-vc8-debug.lib' > > > > This library is not created/present in this path. > > > > > > Steps I followed > > ------------------------ > > > > --> When I load the pjsip-apps/build/wince-evc4/wince_demos.vcw > > project , visual studio 2005 converts it into the .sln > > --> Choose Debug, Windows Mobile 6 Professional as the sdk (should i > > choose 'Windows Mobile 6 Professional' or 'Mixed Platforms' in vs2005 > > configuration manager?) > > --> Did Build--> Build Solution > > > > The problem I think is that, when I choose windows mobile 6 > > professional the targets which are supposed to be built for win32 are > > obviously not built. These targets are > > Project: libgsmcodec > > Project: libspeex > > Project: libresample > > Project: libportaudio > > Project: libmilenage > > Project: libilbccodec > > > > Hence the corresponding libraries are also not built which is giving > > the link error. > > > > The build log is pasted below. The errors (which I suspect to be > > creating the problem) I got are shown with some empty space above and > > below it. Please let me know if any more information is needed. > > > > > > Thanks > > > > Regards > > > > Arpit Mehta > > > > > > 1>------ Build started: Project: pjlib_wince, Configuration: Debug > > Windows Mobile 6 Professional SDK (ARMV4I) ------ > > 2>------ Build started: Project: pjmedia_codec_wince, Configuration: > > Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ > > 2>Compiling... > > 1>Compiling... > > 1>addr_resolv_sock.c > > 2>gsm.c > > 2>speex_codec.c > > 2>l16.c > > 2>ilbc.c > > 1>unicode_win32.c > > 2>Generating Code... > > 2>Creating library... > > 1>types.c > > 1>timer.c > > 1>string.c > > 2>Build log was saved at > > "file://c:\pjproject-0.8.0\pjmedia\build\wince-evc4\Windows Mobile 6 > > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > > 2>pjmedia_codec_wince - 0 error(s), 0 warning(s) > > 3>------ Build started: Project: pjsip_ua_wince, Configuration: Debug > > Windows Mobile 6 Professional SDK (ARMV4I) ------ > > 3>Compiling... > > 3>sip_100rel.c > > 1>sock_select.c > > 1>sock_common.c > > 1>sock_bsd.c > > 1>rbtree.c > > 3>sip_xfer.c > > 1>rand.c > > 1>pool_policy_malloc.c > > 1>pool_caching.c > > 3>sip_replaces.c > > 1>pool_buf.c > > 1>pool.c > > 3>sip_reg.c > > 1>os_timestamp_win32.c > > 3>sip_inv.c > > 3>Generating Code... > > 1>os_timestamp_common.c > > 1>os_time_win32.c > > 3>Creating library... > > 3>Build log was saved at > > "file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6 > > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > > 3>pjsip_ua_wince - 0 error(s), 0 warning(s) > > 1>os_error_win32.c > > 1>os_core_win32.c > > 1>log_writer_stdout.c > > 1>Generating Code... > > 4>------ Build started: Project: pjsip_simple_wince, Configuration: > > Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ > > 4>Compiling... > > 4>errno.c > > 4>xpidf.c > > 1>Compiling... > > 1>log.c > > 1>lock.c > > 1>list.c > > 4>rpid.c > > 1>ip_helper_win32.c > > 4>publishc.c > > 4>presence_body.c > > 4>presence.c > > 1>ioqueue_select.c > > 4>pidf.c > > 4>iscomposing.c > > 1>hash.c > > 4>evsub_msg.c > > 1>guid_simple.c > > 4>evsub.c > > 1>guid.c > > 1>file_io_win32.c > > 4>Generating Code... > > 1>file_access_win32.c > > 4>Creating library... > > 4>Build log was saved at > > "file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6 > > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > > 4>pjsip_simple_wince - 0 error(s), 0 warning(s) > > 1>fifobuf.c > > 1>except.c > > 1>errno.c > > 5>------ Build started: Project: pjsip_core_wince, Configuration: > > Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ > > 5>Compiling... > > 1>ctype.c > > 5>sip_auth_aka.c > > 1>config.c > > 1>array.c > > 5>sip_util_statefull.c > > 1>Generating Code... > > 1>Creating library... > > 5>sip_util_proxy.c > > 5>sip_util.c > > 5>..\..\src\pjsip\sip_util.c(666) : warning C4102: > > 'TODO___SUPPORT_REQUEST_ADDR_RESOLUTION_FOR_TEL_URI' : unreferenced > > label > > 5>sip_uri.c > > 1>Build log was saved at > > "file://c:\pjproject-0.8.0\pjlib\build\wince-evc4\Windows Mobile 6 > > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > > 1>pjlib_wince - 0 error(s), 0 warning(s) > > 5>sip_ua_layer.c > > 5>sip_transport_udp.c > > 6>------ Build started: Project: pjlib_util_wince, Configuration: > > Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ > > 6>Compiling... > > 6>base64.c > > 5>sip_transport_tcp.c > > 6>xml.c > > 6>stun_simple_client.c > > 6>stun_simple.c > > 6>string.c > > 6>srv_resolver.c > > 5>sip_transport_loop.c > > 6>sha1.c > > 6>scanner.c > > 5>sip_transport.c > > 6>resolver.c > > 6>md5.c > > 5>sip_transaction.c > > 6>hmac_sha1.c > > 6>hmac_md5.c > > 6>getopt.c > > 5>..\..\src\pjsip\sip_transaction.c(604) : warning C4102: > > 'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label > > 5>..\..\src\pjsip\sip_transaction.c(732) : warning C4102: > > 'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label > > 5>..\..\src\pjsip\sip_transaction.c(781) : warning C4102: > > 'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label > > 5>sip_tel_uri.c > > 6>errno.c > > 6>dns_dump.c > > 5>sip_resolve.c > > 6>dns.c > > 5>..\..\src\pjsip\sip_resolve.c(286) : warning C4102: > > 'TODO___SUPPORT_DNS_NAPTR' : unreferenced label > > 5>sip_parser.c > > 6>crc32.c > > 6>Generating Code... > > 5>sip_msg.c > > 5>sip_errno.c > > 6>Creating library... > > 5>sip_endpoint.c > > 5>..\..\src\pjsip\sip_endpoint.c(886) : warning C4102: > > 'TODO___ENDPT_RESPOND_UNHANDLED_REQUEST' : unreferenced label > > 5>..\..\src\pjsip\sip_endpoint.c(856) : warning C4102: > > 'TODO___ENDPT_REPORT_WHEN_DROPPING_MESSAGE' : unreferenced label > > 5>sip_dialog.c > > 6>Build log was saved at > > "file://c:\pjproject-0.8.0\pjlib-util\build\wince-evc4\Windows Mobile > > 6 Professional SDK (ARMV4I)\Debug\BuildLog.htm" > > 6>pjlib_util_wince - 0 error(s), 0 warning(s) > > 5>..\..\src\pjsip\sip_dialog.c(508) : warning C4102: > > 'TODO___DIALOG_APP_TIMER' : unreferenced label > > 5>sip_auth_server.c > > 5>sip_auth_parser.c > > 7>------ Build started: Project: pjmedia_wince, Configuration: Debug > > Windows Mobile 6 Professional SDK (ARMV4I) ------ > > 7>Compiling... > > 7>alaw_ulaw.c > > 5>Generating Code... > > 7>wave.c > > 7>wav_writer.c > > 7>wav_playlist.c > > 7>wav_player.c > > 5>Compiling... > > 5>sip_auth_msg.c > > 7>transport_udp.c > > 5>sip_auth_client.c > > 5>..\..\src\pjsip\sip_auth_client.c(465) : warning C4102: > > 'TODO___FULL_CLONE_OF_AUTH_CLIENT_SESSION' : unreferenced label > > 5>Generating Code... > > 5>Creating library... > > 7>transport_ice.c > > 5>Build log was saved at > > "file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6 > > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > > 5>pjsip_core_wince - 0 error(s), 9 warning(s) > > 7>..\..\src\pjmedia\transport_ice.c(307) : warning C4102: > > 'TODO___RELATED_ADDR_FOR_RELAYED_ADDR' : unreferenced label > > 7>..\..\src\pjmedia\transport_ice.c(748) : warning C4102: > > 'TODO___SWITCH_SOURCE_ADDRESS' : unreferenced label > > 7>tonegen.c > > 7>stream.c > > 8>------ Skipped Build: Project: libgsmcodec, Configuration: Debug Win32 ------ > > 8>Project not selected to build for this solution configuration > > 9>------ Build started: Project: pjnath_wince, Configuration: Debug > > Windows Mobile 6 Professional SDK (ARMV4I) ------ > > 9>Compiling... > > 9>errno.c > > 9>stun_transaction.c > > 7>splitcomb.c > > 9>stun_session.c > > 7>sound_port.c > > 9>stun_msg_dump.c > > 7>silencedet.c > > 9>stun_msg.c > > 7>session.c > > 9>stun_auth.c > > 7>sdp_neg.c > > 9>nat_detect.c > > 7>..\..\src\pjmedia\sdp_neg.c(532) : warning C4102: > > 'TODO___CHECK_SDP_NEGOTIATION_WHEN_ASYMETRIC_MEDIA_IS_ALLOWED' : > > unreferenced label > > 7>sdp_cmp.c > > 7>sdp.c > > 7>rtp.c > > 9>ice_strans.c > > 7>rtcp.c > > 7>resample_speex.c > > 9>..\..\src\pjnath\ice_strans.c(490) : warning C4102: > > 'TODO___DISTINGUISH_BETWEEN_LOCAL_AND_RELAY' : unreferenced label > > 9>..\..\src\pjnath\ice_strans.c(1035) : warning C4102: > > 'TODO___TX_TO_RELAY' : unreferenced label > > 7>resample_resample.c > > 9>ice_session.c > > 7>Generating Code... > > 9>..\..\src\pjnath\ice_session.c(2165) : warning C4102: > > 'TODO___DETERMINE_IF_REQUEST_COMES_FROM_RELAYED_CANDIDATE' : > > unreferenced label > > 9>..\..\src\pjnath\ice_session.c(2286) : warning C4102: > > 'TODO___SUPPORT_RX_BIND_REQUEST_AS_INDICATION' : unreferenced label > > 9>Generating Code... > > 9>Creating library... > > 7>Compiling... > > 7>resample_port.c > > 9>Build log was saved at > > "file://c:\pjproject-0.8.0\pjnath\build\wince-evc4\Windows Mobile 6 > > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > > 9>pjnath_wince - 0 error(s), 4 warning(s) > > 7>port.c > > > > > > > > //-------------------------------> error here > > > > 7>plc_common.c > > 10>------ Skipped Build: Project: libspeex, Configuration: Debug Win32 ------ > > 10>Project not selected to build for this solution configuration > > 11>------ Skipped Build: Project: libresample, Configuration: Debug Win32 ------ > > 11>Project not selected to build for this solution configuration > > 12>------ Skipped Build: Project: libportaudio, Configuration: Debug > > Win32 ------ > > 12>Project not selected to build for this solution configuration > > 13>------ Skipped Build: Project: libmilenage, Configuration: Debug Win32 ------ > > 13>Project not selected to build for this solution configuration > > 14>------ Skipped Build: Project: libilbccodec, Configuration: Debug > > Win32 ------ > > 14>Project not selected to build for this solution configuration > > > > > > > > > > > > > > 7>pasound.c > > 7>null_port.c > > 7>mem_player.c > > 7>mem_capture.c > > 7>master_port.c > > 7>jbuf.c > > 7>g711.c > > 7>errno.c > > 7>endpoint.c > > 7>echo_suppress.c > > 7>echo_speex.c > > 7>echo_port.c > > 7>echo_common.c > > 7>conference.c > > 7>codec.c > > 7>clock_thread.c > > 7>bidirectional.c > > 7>Generating Code... > > 7>Compiling... > > 7>alaw_ulaw_table.c > > 7>Generating Code... > > 7>Creating library... > > 7>Build log was saved at > > "file://c:\pjproject-0.8.0\pjmedia\build\wince-evc4\Windows Mobile 6 > > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > > 7>pjmedia_wince - 0 error(s), 3 warning(s) > > 15>------ Build started: Project: pjsua_lib_wince, Configuration: > > Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ > > 15>Compiling... > > 15>pjsua_acc.c > > 15>..\..\src\pjsua-lib\pjsua_acc.c(417) : warning C4102: > > 'TODO___pjsua_acc_modify' : unreferenced label > > 15>..\..\src\pjsua-lib\pjsua_acc.c(1166) : warning C4102: > > 'TODO___dont_use_pjsua_pool' : unreferenced label > > 15>pjsua_pres.c > > 15>pjsua_media.c > > 15>..\..\src\pjsua-lib\pjsua_media.c(1957) : warning C4102: > > 'TODO___set_codec_param' : unreferenced label > > 15>pjsua_im.c > > 15>pjsua_core.c > > 15>..\..\src\pjsua-lib\pjsua_core.c(1667) : warning C4102: > > 'TODO___pjsua_transport_set_enable' : unreferenced label > > 15>pjsua_call.c > > 15>..\..\src\pjsua-lib\pjsua_call.c(1314) : warning C4102: > > 'TODO___create_active_inactive_sdp_based_on_unhold_arg' : unreferenced > > label > > 15>..\..\src\pjsua-lib\pjsua_call.c(2270) : warning C4102: > > 'TODO___HANDLE_FORKED_DIALOG' : unreferenced label > > 15>Generating Code... > > 15>Creating library... > > 15>Build log was saved at > > "file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6 > > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > > 15>pjsua_lib_wince - 0 error(s), 6 warning(s) > > 16>------ Build started: Project: pjsua_wince, Configuration: Debug > > Windows Mobile 6 Professional SDK (ARMV4I) ------ > > 16>Compiling... > > 16>StdAfx.cpp > > 16>Compiling... > > 16>pjsua_wince.cpp > > 16>Compiling resources... > > > > > > > > //-------------------------------> error here > > > > 16>Linking... > > 16>LINK : fatal error LNK1181: cannot open input file > > '..\..\..\third_party\lib\libportaudio-i386-win32-vc8-debug.lib' > > > > > > > > > > > > 16>Build log was saved at > > "file://c:\pjproject-0.8.0\pjsip-apps\src\pjsua_wince\Windows Mobile 6 > > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > > 16>pjsua_wince - 1 error(s), 0 warning(s) > > ========== Build: 9 succeeded, 1 failed, 0 up-to-date, 6 skipped ========== > > > > > > > > > > > > > > > -- > Benny Prijono > http://www.pjsip.org > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > -- Arpit Mehta Graduate Student Department of Computer Science Columbia University Tel: 1-646-387-5998