oksunp / vvopensource

Automatically exported from code.google.com/p/vvopensource
0 stars 0 forks source link

pthread_mutexattr_destroy$UNIX2003 called from function #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Compile vvopensource (svn revision 97) to target iOS 4.2
2. Start a Unviversal Window based application in XCode. 
3. Followed instructions on home page to add things like SDK paths and linker 
flags.
4. Instantiage a new `OSCMessage` class in 
`application:didFinishLaunchingWithOptions` method in `AppDelegate_iPad.m` as a 
simple test.
5. Build and run for iPad Simulator 4.2 

What is the expected output? What do you see instead?
Simulator won't launch application.  Console shows:

Detected an attempt to call a symbol in system libraries that is not present on 
the iPhone:
pthread_mutexattr_destroy$UNIX2003 called from function -[OSCNode init] in 
image vvopensource-ios42test.
If you are encountering this problem running a simulator binary within gdb, 
make sure you 'set start-with-shell off' first.

What version of the product are you using? On what operating system?
- XCode 3.2.5, iOS SDK 4.2
- vvopensource (svn r97)

Please provide any additional information below.
- Even if I remove the code from `application:didFinishLaunchingWithOptions`, 
this error persists.
- This happens for both iPhone and iPad simulators.
- This error goes away and the template view launches if I remove linking of 
`vvopensource` related libraries.

Original issue reported on code.google.com by anotherd...@gmail.com on 2 Dec 2010 at 11:27

GoogleCodeExporter commented 8 years ago
"Simulator won't launch application."

i'm not at all surprised- you just got done telling me in this thread:

http://code.google.com/p/vvopensource/issues/detail?id=8&can=1

...that you aren't compiling the simulator libs against the 4.2 SDK.  maybe 
this will clear things up:

http://www.vidvox.net/rays_oddsnends/WatchTheSDKs.mov

Original comment by raycut...@gmail.com on 3 Dec 2010 at 12:45

GoogleCodeExporter commented 8 years ago
Got it working; thanks for the video.  This issue can be closed off now.

Original comment by anotherd...@gmail.com on 6 Dec 2010 at 3:02

GoogleCodeExporter commented 8 years ago

Original comment by raycut...@gmail.com on 2 Jan 2011 at 7:59