Hi there!

 

I’m having a

Error      1             error LNK2019: unresolved external symbol
__imp__su_root_source_create referenced in function
_farsight_netsocket_stun_init
C:\SofiaSIP\sofia-sip-1.12.11\win32\ClientWithMedia\farsight-netsocket-stun.
obj                ClientWithMedia

Error      2             error LNK1120: 1 unresolved externals
C:\SofiaSIP\sofia-sip-1.12.11\win32\Debug\ClientWithMedia.exe
1             1             ClientWithMedia

 

Generated from this line

static void

farsight_netsocket_stun_init (FarsightNetsocketStun *object)

{

    FarsightNetsocketStun *self = FARSIGHT_NETSOCKET_STUN (object);

    GSource *gsource;

 

    /* create a su event loop and connect it to glib */

    su_init();

    self->root = su_root_source_create(self); ß-------

    su_root_threading(self->root, 1);

    gsource = su_root_gsource(self->root);

    g_source_attach(gsource, NULL);

 

    self->dispose_run = FALSE;

}

 

When trying to link the Sofsip-cli in windows. The strange thing is that if
I click on that function it redirects me to its declaration in su_source.h
so I don’t know how to specify it in VS2010. There is another thread in this
forum from someone saying it was solved including su_source.h but as far as
I know the file has a working #include <sofia-sip/su_source.h>, so I’m a bit
lost. Anyone could help?

 

I also changed it to su_glib_source_create with exactly the same problem.

 

Thanks in advance!!

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to