From: Christian B. <don...@fr...> - 2012-08-10 15:33:08
|
Am Fri, 10 Aug 2012 16:58:05 +0300 schrieb Максим Тартачник <max...@gm...>: > Hmm.... strange, > I try build library for 32 bit. Maybe I do something wrong in the > build stage. > Can you guide me what I need how I can build this lib for 32 bit No idea how this gets done for xcode. > > Thanks, > WBR > Tartachnik Maxim > > 2012/8/10 Christian Beier <don...@fr...> > > > Am Fri, 10 Aug 2012 16:09:19 +0300 > > schrieb Максим Тартачник <max...@gm...>: > > > > > Hi all, > > > > > > I have a problem very similar to this situation. > > > I builded this library and create simple project for connection to > > > the VNC host. > > > But when I try build my application for "My Mac 32-bit" I get next > > > errors: > > > > > > Undefined symbols for architecture i386: > > > > > > "_HandleRFBServerMessage", referenced from: > > > > > > _main in main.o > > > > > > "_WaitForMessage", referenced from: > > > > > > _main in main.o > > > > > > "_rfbClientCleanup", referenced from: > > > > > > _main in main.o > > > > > > "_rfbClientErr", referenced from: > > > > > > _SaveFramebufferAsPPM in main.o > > > > > > "_rfbClientLog", referenced from: > > > > > > _PrintRect in main.o > > > > > > _SaveFramebufferAsPPM in main.o > > > > > > "_rfbGetClient", referenced from: > > > > > > _main in main.o > > > > > > "_rfbInitClient", referenced from: > > > > > > _main in main.o > > > > > > ld: symbol(s) not found for architecture i386 > > > > Looks like the library is only built for 64bit, not for 32. > > > > > > > > > > > > clang: error: linker command failed with exit code 1 (use -v to > > > see invocation) > > > > > > Any idea? > > > > > > WBR > > > Maxim Tartachnik > > > > > > 2012/8/10 Christian Beier <don...@fr...> > > > > > > > Am Thu, 19 Jul 2012 12:36:10 +0300 > > > > schrieb Сергей Лилык <ser...@gm...>: > > > > > > > > > Hi all, > > > > > I downloaded and sucessfully build the library > > > > > libVNCServer/libVNCClient. My task is to send a video stream > > > > > to obtain from LibVNCServer / libVNCClient (or perhaps it > > > > > would be a set of pictures) via SIP-protocol. For SIP > > > > > librarys I try to use the Doubango (more info > > > > > http://www.doubango.org/), maybe somebody hear about it. When > > > > > I add libVNCServer/libVNCClient libraris to doubango (iDoubs > > > > > broject), build sucessed, But when I add libVNCServer / > > > > > libVNCClient to the project iDoubs, the xcode gives me this > > > > > error: > > > > > > > > > > Undefined symbols for architecture i386: > > > > > "_rfbGetClient", referenced from: > > > > > _tdav_session_video_producer_enc_cb in > > > > > libtinyDAV.a(tdav_session_video.o) > > > > > ld: symbol(s) not found for architecture i386 > > > > > collect2: ld returned 1 exit status > > > > > > > > > > Can someone explain to me what I need to do to be able to use > > > > > libVNCServer / libVNCClient in iDoubs (xcodeproj)? > > > > > NOTE: iDoubs written by 32 - architecture. > > > > > I builded libVNCServer / libVNCClient for architecture i686. > > > > > When I create a new MAC project I can use this library for 32 > > > > > - architecture. > > > > > > > > Hi, sorry for the late reply. > > > > > > > > Looks like it's not properly linked in. Is this a 32 plus 64 bit > > > > build? Maybe you're trying to make a universal binary with a lib > > > > that's only build for 64 bit? > > > > > > > > Cheers, > > > > Christian > > > > > > > > |