CoolVLViewer 1.26.8.16 (Mac OS X): missing libfmodex.dylib?
Author |
Message |
Gwyneth Llewelyn
Joined: 2012-07-08 17:37:36 Posts: 15 Location: Neufreistadt, Confederation of Democratic Simulators, Second Life
|

Hiya, When launching CoolVLViewer 1.26.8.16 on Mac OS X, it crashes immediately on start with:  |  |  |  | Code: Process: Cool VL Viewer [1349] Path: /Applications/CoolVLViewer126816.app/Contents/MacOS/Cool VL Viewer Identifier: com.secondlife.snowglobe.viewer Version: Cool VL Viewer v1.26.8.0 (1.26.8.0) Code Type: X86 (Native) Parent Process: launchd [238]
Date/Time: 2013-07-07 17:01:51.607 +0100 OS Version: Mac OS X 10.7.5 (11G63) Report Version: 9
Interval Since Last Report: 32955 sec Crashes Since Last Report: 5 Per-App Interval Since Last Report: 7426 sec Per-App Crashes Since Last Report: 3 Anonymous UUID: 301FC4AE-F636-44FD-A992-E3B2868BC7FC
Crashed Thread: 0
Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information: dyld: launch, loading dependent libraries
Dyld Error Message: Library not loaded: */libfmodex.dylib Referenced from: /Applications/CoolVLViewer126816.app/Contents/MacOS/Cool VL Viewer Reason: image not found
Binary Images: 0x1000 - 0x1690ff3 +com.secondlife.snowglobe.viewer (Cool VL Viewer v1.26.8.0 - 1.26.8.0) <6453FF2F-18E2-EA79-5151-0F07CFC6F99D> /Applications/CoolVLViewer126816.app/Contents/MacOS/Cool VL Viewer 0x2656000 - 0x28befe7 +libcollada14dom.dylib (2.2.0 - compatibility 2.2.0) <90575608-7CC7-EBAF-5340-A099968CF879> /Applications/CoolVLViewer126816.app/Contents/Resources/libcollada14dom.dylib 0x2a5a000 - 0x2b38fff +libllcommon.dylib (??? - ???) <EC5034A9-3E29-11D8-7374-8082219603DE> /Applications/CoolVLViewer126816.app/Contents/Resources/libllcommon.dylib 0x2cb2000 - 0x2cc1ffd +libndofdev.dylib (??? - ???) <87B1AD1D-538A-4616-389C-F693B6928B8F> /Applications/CoolVLViewer126816.app/Contents/Resources/libndofdev.dylib 0x8fe00000 - 0x8fe32aa7 dyld (195.6 - ???) <60FD3471-A1D7-342E-99A7-3EDECDAEC6EC> /usr/lib/dyld 0x90bb9000 - 0x90ca1fff libxml2.2.dylib (10.3.0 - compatibility 10.0.0) <1841196F-68B5-309F-8ED1-6714B1DFEC83> /usr/lib/libxml2.2.dylib 0x9293d000 - 0x9293dfff com.apple.Cocoa (6.6 - ???) <5FAFE73E-6AF5-3D09-9191-0BDC8C6875CB> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa 0x956a6000 - 0x956adfff com.apple.agl (3.2.0 - AGL-3.2.0) <ED5A5B8A-0014-3897-951F-628391333256> /System/Library/Frameworks/AGL.framework/Versions/A/AGL 0x97df6000 - 0x97e04fff com.apple.opengl (1.8.1 - 1.8.1) <766AFB12-A2CB-3A55-B662-FC9FFCAE0008> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL 0x9a1db000 - 0x9a23ffff com.apple.framework.IOKit (2.0 - ???) <94827954-5906-36C4-819B-24CDAFD85C72> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
Model: iMac5,1, BootROM IM51.0090.B09, 2 processors, Intel Core 2 Duo, 2 GHz, 2.5 GB, SMC 1.8f2 Graphics: ATI Radeon X1600, ATY,RadeonX1600, PCIe, 128 MB Memory Module: BANK 0/DIMM0, 2 GB, DDR2 SDRAM, 667 MHz, 0x7F7F7F7F7F5D0000, 0x000000000000000000000000000000000000 Memory Module: BANK 1/DIMM1, 512 MB, DDR2 SDRAM, 667 MHz, 0xAD00000000000000, 0x48594D503536345336344350362D59352020 AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x87), Broadcom BCM43xx 1.0 (5.10.131.36.15) Bluetooth: Version 4.0.8f17, 2 service, 11 devices, 1 incoming serial ports Network Service: Ethernet, Ethernet, en0 Serial ATA Device: WDC WD5000AZRX-00A8LB0, 500.11 GB Parallel ATA Device: MATSHITAUJ-845D USB Device: Built-in iSight, apple_vendor_id, 0x8501, 0xfd400000 / 5 USB Device: Keyboard Hub, apple_vendor_id, 0x1006, 0xfd500000 / 3 USB Device: Microsoft® Comfort Mouse 4500, 0x045e (Microsoft Corporation), 0x076c, 0xfd510000 / 4 USB Device: Apple Keyboard, apple_vendor_id, 0x0221, 0xfd520000 / 2 USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8206, 0x7d100000 / 2 USB Device: IR Receiver, apple_vendor_id, 0x8240, 0x7d200000 / 3 |  |  |  |  |
libfmodex.dylib is missing from /Applications/CoolVLViewer126816.app/Contents/Resources/SLPlugin.app/Contents/Resources (maybe it's not necessary there) but it is correctly placed under /Applications/CoolVLViewer126816.app/Contents/Resources/ The previous version (1.26.8.8) didn't use libfmodex.dylib but merely libfmodwrapper.dylib, I think. Was there a change in LL's Snowglobe code, and this is the result of some building step which failed? I also did a fresh install inside /Applications, to see if there was any difference  But no, I get the same error.
|
2013-07-07 16:22:17 |
|
 |
Henri Beauchamp
Joined: 2009-03-17 18:42:51 Posts: 6030
|
libfmodwrapper.dylib is no more used with FMOD Ex. Bad installation ?
|
2013-07-07 16:25:47 |
|
 |
ErikaThorkveld
Joined: 2011-12-13 14:11:38 Posts: 186
|

Wow… Now that's synchronicity…  I've been trying to build my own Mac version of Cool VL Viewer 1.26.4.80 since Kathrine's builds no more work for me (with the help of a friend who knows a bit more than myself about software development) and it seems there's a problem with this library indeed. I'll quote what he told me. Here is what he says:  |  |  |  | Quote: So I tried a build of Cool VL Viewer 1.26.4.80 on Mac OS 10.5. The first problem I had to work around was that there were a lot of references to /Developer/SDKs/MacOSX10.6.sdk, which is of course not present on the Mac. Since I was basically convinced there was nothing specific to 10.6 used in the code, I just made a symbolic link from MacOSX10.5.sdk to MacOSX10.6.sdk, and it seems I was right, since it seems to work. After that, I had a problem with the boost library which made the linking phase for llcommon fail with an error about the symbol ___bzero or something. So I followed the advice Henri gave here: http://sldev.free.fr/forum/viewtopic.php?f=5&t=1186&start=10#p5684. I went to Kathrine's Bitbucket and went down the versions of the install.xml file until I found the former version of the boost library and replaced the corresponding part in the install.xml file. And again, it seemed to work: llcommon is now correctly built, and it goes far enough to produce an application bundle CoolVLViewer.app. But I'm getting another error now, and I don't know enough of the Second Life build process to understand what it's about. It's in the final phase on the 'BUILDING NATIVE TARGET CoolVLViewer OF PROJECT CoolVLViewer WITH CONFIGURATION Release' step, apparently. Here is the error I'm getting:  |  |  |  | Code: Processing ../../lib/release/libfmodex.dylib => libfmodex.dylib ... Traceback (most recent call last): File "/Users/xxx/Applications/Build/linden/indra/newview/viewer_manifest.py", line 658, in <module> main() File "/Users/xxx/Applications/Build/linden/indra/newview/../lib/python/indra/util/llmanifest.py", line 239, in main wm.do(*args['actions']) File "/Users/xxx/Applications/Build/linden/indra/newview/../lib/python/indra/util/llmanifest.py", line 656, in do self.construct() File "/Users/xxx/Applications/Build/linden/indra/newview/viewer_manifest.py", line 341, in construct self.path(os.path.join(libdir, libfile), libfile) File "/Users/xxx/Applications/Build/linden/indra/newview/../lib/python/indra/util/llmanifest.py", line 650, in path raise RuntimeError("No files match %s\n" % str(paths)) RuntimeError: No files match ['/Users/xxx/Applications/Build/linden/indra/newview/../../lib/release/libfmodex.dylib', '/Users/xxx/Applications/Build/linden/indra/newview/../../lib/release/libfmodex.dylib', '/Users/xxx/Applications/Build/linden/indra/build-darwin-i386/newview/../../lib/release/libfmodex.dylib']
make: *** [CoolVLViewer_buildpart_0] Error 1
|  |  |  |  |
As I understand it, the build process tries to look for a dynamic library for libfmod, and I just can't understand why it does that since there's the static version libfmod.a in linden/lib/release (I of course followed the advice in linden/doc/MacOSXBuildHowto.txt). The build was done in a completely clean directory, nothing else there than what has been extracted from the Cool VL Viewer source archive and fmodapi375mac.tar.gz… Any hints on a possible cause and/or solution for this issue? |  |  |  |  |
So there definitely seems to be a problem with libfmodex.dylib, and not only in the built version.
|
2013-07-08 04:55:58 |
|
 |
kathrine
Joined: 2011-10-07 10:39:20 Posts: 214
|
Henri updated to the newer FMODEx lib (Version 4.x), so you need the new FMOD libs linked from Henri's page.
Hmm, just checking why the binaries don't work..., they did when i tried on saturday, so must have broken something on packaging.
Kathrine
|
2013-07-08 06:48:43 |
|
 |
ErikaThorkveld
Joined: 2011-12-13 14:11:38 Posts: 186
|
Darn… I missed there were new ones… But that means the file doc/MacOSXBuildHowto.txt is no more up to date though, it still refers to fmodapi375mac. Trying to get the build done again with the new version… I hope it'll work, or tomorrow, I'm dead. 
|
2013-07-08 06:55:31 |
|
 |
kathrine
Joined: 2011-10-07 10:39:20 Posts: 214
|
Seems the Link line is broken for libfmodex.dylib, 'otool -L' on the real app insided Contents/MacOS shows that it is linked differently than all the other libs, which is probably the issue. All the working ones look like: The fmodex one looks like: Kathrine
|
2013-07-08 07:08:41 |
|
 |
ErikaThorkveld
Joined: 2011-12-13 14:11:38 Posts: 186
|
Gosh… I thought I had it. I did get the correct libfmod version and rerun the build script, and it went to the end, got a great '** BUILD SUCCEEDED **' message. But the built executable crashes at once…  I've included a zip of the errors I'm getting. If anyone has an idea, I must say I don't understand what's happening here. I'll try to run everything from scratch again later today, just to see if it changes anything.
|
2013-07-08 07:32:31 |
|
 |
ErikaThorkveld
Joined: 2011-12-13 14:11:38 Posts: 186
|

I did run everything from scratch again, it did build the application, but I got a new error when trying to run it: Looks like it looks for libfmodex.dylib in the current directory… And if I try to run the generated application in a directory where libfmodex.dylib is, I'm getting the same kind of error as before:  |  |  |  | Code: Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000005 Crashed Thread: 0
Thread 0 Crashed: 0 ...secondlife.snowglobe.viewer 0x00104f7e boost::signals2::detail::signal0_impl<void, boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void ()()>, boost::function<void ()(boost::signals2::connection const&)>, boost::signals2::mutex>::nolock_cleanup_connections_from(bool, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot0<void, boost::function<void ()()> >, boost::signals2::mutex> > > const&, unsigned int) const + 110 1 dyld 0x8fe0e7e3 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int) + 307 2 dyld 0x8fe0e8c9 ImageLoader::runInitializers(ImageLoader::LinkContext const&) + 57 3 dyld 0x8fe04102 dyld::initializeMainExecutable() + 146 4 dyld 0x8fe07bcf dyld::_main(mach_header const*, unsigned long, int, char const**, char const**, char const**) + 3087 5 dyld 0x8fe01872 dyldbootstrap::start(mach_header const*, int, char const**, long) + 818 6 dyld 0x8fe01037 _dyld_start + 39 |  |  |  |  |
I tried - not on purpose, just because I'm blonde - to build against the version 1.52 of the boost library, and I still get the same error for llcommon about the undefined symbol ___bzero… Can't think of anything else to try… Looks like I'm dead for tomorrow… 
|
2013-07-08 09:57:48 |
|
 |
ErikaThorkveld
Joined: 2011-12-13 14:11:38 Posts: 186
|
… or not.  Looks like Cool VL Viewer works perfectly well with Wine or CrossOver Mac, I can hardly feel any difference with the 'native' version. Seems advanced graphics like deferred rendering won't work though, but at least I have a usable solution while waiting for my system to be upgraded… Phewww… That was a close one… 
|
2013-07-08 13:16:05 |
|
 |
LaurentBechir
Joined: 2011-08-29 17:17:44 Posts: 7
|
I've faced this problem with CoolVLViewer126916 and found a way to launch it. I've put it here ; viewtopic.php?f=5&t=1186&start=20
|
2013-07-08 17:38:55 |
|
|
Who is online |
Users browsing this forum: No registered users and 60 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|