Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dash not working on Mac #120

Open
jackjansen opened this issue Oct 16, 2023 · 1 comment
Open

Dash not working on Mac #120

jackjansen opened this issue Oct 16, 2023 · 1 comment

Comments

@jackjansen
Copy link
Collaborator

Dash isn't working on the Mac anymore.
This may have started happening long ago, possibly when we started incorporating the Dash libraries in VR2G-nativeLibraries (because I cannot imagine that I didn't test them). But maybe I didn't test and the problem started earlier.

Problem is that some dynamic libraries are missing:


[vrt_create_ext] failure: can't load '/Users/jack/src/VRTogether/VR2Gather/Assets/ExternalAssets/VR2G-nativeLibraries/VRTNativeLibraries/Plugins/mac//GPACMuxMP4.smd' (dlopen(/Users/jack/src/VRTogether/VR2Gather/Assets/ExternalAssets/VR2G-nativeLibraries/VRTNativeLibraries/Plugins/mac//GPACMuxMP4.smd, 0x0082): Library not loaded: /opt/msprod/sysroot/osx//lib/libgpac.dylib
  Referenced from: <AFF98D41-F2E1-30CB-B96B-9A8103E985CE> /Users/jack/src/VRTogether/VR2Gather/Assets/ExternalAssets/VR2G-nativeLibraries/VRTNativeLibraries/Plugins/mac/GPACMuxMP4.smd
  Reason: tried: '/opt/msprod/sysroot/osx//lib/libgpac.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/msprod/sysroot/osx//lib/libgpac.dylib' (no such file), '/opt/msprod/sysroot/osx//lib/libgpac.dylib' (no such file), '/usr/local/lib/libgpac.dylib' (no such file), '/usr/lib/libgpac.dylib' (no such file, not in dyld cache))
AsyncB2DWriter#0(http://192.168.37.30:8082/4ae6bcc1-7aaf-4b63-aec4-16583bda6c6f/206e7ac1-c635-4f5e-a27c-8e65f58481d9/pcc/) Exception:AsyncB2DWriter#0: vrt_create: failed to create uploader http://192.168.37.30:8082/4ae6bcc1-7aaf-4b63-aec4-16583bda6c6f/206e7ac1-c635-4f5e-a27c-8e65f58481d9/pcc/pointcloud.mpd
UnityEngine.StackTraceUtility:ExtractStackTrace () (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37)
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
VRT.Transport.Dash.AsyncB2DWriter:.ctor (string,string,string,int,int,Cwipc.StreamSupport/OutgoingStreamDescription[]) (at Assets/Transport/Dash/Bin2Dash/Workers/Writers/AsyncB2DWriter.cs:84)
VRT.UserRepresentation.PointCloud.PointCloudPipelineSelf:_InitForSelfUser (VRT.Core.VRTConfig/_User/_PCSelfConfig,bool) (at Assets/UserRepresentation/PointClouds/Scripts/PointCloudPipelineSelf.cs:226)
VRT.UserRepresentation.PointCloud.PointCloudPipelineSelf:Init (bool,object,VRT.Core.VRTConfig/_User,bool) (at Assets/UserRepresentation/PointClouds/Scripts/PointCloudPipelineSelf.cs:76)
VRT.Pilots.Common.PlayerControllerBase:SetRepresentation (VRT.Core.UserRepresentationType,bool,bool) (at Assets/Pilots/Common/Players/PlayerControllerBase.cs:181)
VRT.Pilots.Common.PlayerControllerBase:_SetupCommon (VRT.Orchestrator.Wrapping.User) (at Assets/Pilots/Common/Players/PlayerControllerBase.cs:97)
VRT.Pilots.Common.PlayerControllerSelf:SetUpPlayerController (bool,VRT.Orchestrator.Wrapping.User) (at Assets/Pilots/Common/Players/PlayerControllerSelf.cs:29)
VRT.Pilots.Common.SessionPlayersManager:InstantiatePlayers () (at Assets/Pilots/Common/Players/SessionPlayersManager.cs:166)
VRT.Pilots.Common.SessionPlayersManager/<InstantiatePlayersAfterDelay>d__21:MoveNext () (at Assets/Pilots/Common/Players/SessionPlayersManager.cs:118)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)
@jackjansen
Copy link
Collaborator Author

I think the needed files are in src/VRTogether/MotionSpell/msprod/sysroot/osx/lib. Need to find out which ones are actually needed.

Also need to check there isn't a problem on Windows (I think not) and Linux (unsure).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant