gazebosim / docs

High-level Gazebo documentation that gets published to https://gazebosim.org/docs/
https://gazebosim.org/docs
48 stars 116 forks source link

Compiling Ignition-citadel in macOS Catalina #3

Closed osrf-migration closed 4 years ago

osrf-migration commented 4 years ago

Original report (archived issue) by Alejandro Hernández (Bitbucket: ahcorde, GitHub: ahcorde).


macOS Catalina

Modified headers

I modified some header on my filesystem to be able to compile Ignition-Citadel

I apply this path:

--- intern.h    2019-12-16 18:17:08.131b0cd324ee19566f10bec8271b8026bf148288 +0100
+++ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Develo$
@@ -14,6 +14,10 @@
 #ifndef RUBY_INTERN_H
 #define RUBY_INTERN_H 1

+#if __cplusplus > 199711L
+#define register      // Deprecated in C++11.
+#endif  // #if __cplusplus > 199711L
+
 #if defined(__cplusplus)
 extern "C" {
 #if 0

--- config.h    2019-12-16 18:19:13.131b0cd324ee19566f10bec8271b8026bf148288 +0100
+++ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Develo$
@@ -410,6 +410,6 @@
 #define RUBY_PLATFORM_CPU "x86_64"
 #endif /* defined __x86_64__ &&! defined RUBY_PLATFORM_CPU */
 #define RUBY_PLATFORM_OS "darwin19"
-#define RUBY_ARCH"universal-"RUBY_PLATFORM_OS
-#define RUBY_PLATFORM"universal."RUBY_PLATFORM_CPU"-"RUBY_PLATFORM_OS
+#define RUBY_ARCH "universal-" RUBY_PLATFORM_OS
+#define RUBY_PLATFORM "universal." RUBY_PLATFORM_CPU "-" RUBY_PLATFORM_OS
 #endif /* INCLUDE_RUBY_CONFIG_H */

Compile

colcon build --merge-install --cmake-args -DUSE_INTERNAL_URDF=True

Running

But when I try to run some of the examples. I see big error traces:

ign gazebo -v 3 lights.sdf
[Msg] Ignition Gazebo GUI    v3.0.0
[Msg] Ignition Gazebo Server v3.0.0
[Msg] Loading SDF world file[/Users/ahcorde/ignition/install/share/ignition/ignition-gazebo3/worlds/lights.sdf].
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
/Users/ahcorde/ignition/install/lib/ruby/ignition/cmdgazebo3.rb:312: [BUG] Segmentation fault at 0x0000000000000008
ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19]

-- Crash Report log information --------------------------------------------
   See Crash Report log file under the one of following:                    
     * ~/Library/Logs/DiagnosticReports                                     
     * /Library/Logs/DiagnosticReports                                      
   for more details.                                                        
Don't forget to include the above Crash Report log file in bug reports.     

-- Control frame information -----------------------------------------------
c:0007 p:---- s:0055 e:000054 CFUNC  :call
c:0006 p:0018 s:0050 e:000049 METHOD /Users/ahcorde/ignition/install/lib/ruby/ignition/cmdgazebo3.rb:312
c:0005 p:0044 s:0044 e:000043 BLOCK  /Users/ahcorde/ignition/install/lib/ruby/ignition/cmdgazebo3.rb:329 [FINISH]
c:0004 p:---- s:0041 e:000040 CFUNC  :fork
c:0003 p:0609 s:0037 e:000036 METHOD /Users/ahcorde/ignition/install/lib/ruby/ignition/cmdgazebo3.rb:326
c:0002 p:0635 s:0019 E:001258 EVAL   /Users/ahcorde/ignition/install/bin/ign:267 [FINISH]
c:0001 p:0000 s:0003 E:001480 (none) [FINISH]

-- Ruby level backtrace information ----------------------------------------
/Users/ahcorde/ignition/install/bin/ign:267:in `<main>'
/Users/ahcorde/ignition/install/lib/ruby/ignition/cmdgazebo3.rb:326:in `execute'
/Users/ahcorde/ignition/install/lib/ruby/ignition/cmdgazebo3.rb:326:in `fork'
/Users/ahcorde/ignition/install/lib/ruby/ignition/cmdgazebo3.rb:329:in `block in execute'
/Users/ahcorde/ignition/install/lib/ruby/ignition/cmdgazebo3.rb:312:in `runGui'
/Users/ahcorde/ignition/install/lib/ruby/ignition/cmdgazebo3.rb:312:in `call'

-- Machine register context ------------------------------------------------
 rax: 0x000000000000000d rbx: 0x0000000000000000 rcx: 0x00007fff904b56b0
 rdx: 0x00007fff378bd4d0 rdi: 0x0000000000010001 rsi: 0x00007fff904b5750
 rbp: 0x00007ffee3ed4750 rsp: 0x00007ffee3ed46f0  r8: 0x00007fff904b56b0
  r9: 0x0000000000010001 r10: 0x000000000000007b r11: 0x0000000000000202
 r12: 0x0000000000000001 r13: 0xd9be88ba93485a00 r14: 0x00007fff98cb7600
 r15: 0x0000000000000000 rip: 0x00007fff377d6686 rfl: 0x0000000000010202

-- C level backtrace information -------------------------------------------
'/usr/lib/system/libsystem_platform.dylib' is not a 64-bit Mach-O file!
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/libruby.2.6.dylib(rb_vm_bugreport+0x82) [0x7fff43726854]
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/libruby.2.6.dylib(0x7fff43600c9c) [0x7fff43600c9c]
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/libruby.2.6.dylib(0x7fff436c0329) [0x7fff436c0329]
/usr/lib/system/libsystem_platform.dylib(_sigtramp+0x1d) [0x7fff6f06c42d]
[0x7fff377d6686]
[0x7fff377d6022]
[0x7fff6ee1a50e]
[0x7fff6ee1b686]
[0x7fff377d5f78]
[0x7fff377d2cc6]
[0x111e1eb9f]
[0x111dd62c9]
[0x111dd5f1c]
[0x111dd66ff]
[0x111e99cb1]
[0x111e98cb5]
[0x111eb1a17]
[0x111eb1802]
[0x111e86317]
[0x111d6e3c3]
[0x111d6e156]
[0x111d6f6ea]
[0x111d6eac7]
[0x111f3bcfb]
[0x111f2a6c4]
[0x111f2bfe7]
[0x11112a45b]
[0x11112a821]
[0x1111367f1]
[0x111137cdb]
[0x111f3b2bf]
[0x111132f59]
[0x111132e3c]
[0x10e9c13c2]
[0x10e0cb82b]
[0x7fff6ca59915]
[0x7fff6ca59255]
[0x10e0ab9fb]
[0x7fff436e9406]
[0x10e0ab45e]
[0x7fff4371c78b]
[0x7fff4370b65a]
[0x7fff437190bd]
[0x7fff43714af7]
[0x7fff436075c5]
[0x7fff4368a30e]
[0x7fff4371c78b]
[0x7fff4370b65a]
[0x7fff437190bd]
[0x7fff43606d58]
[0x7fff43606c59]
[0x10bd2a447]

-- Other runtime information -----------------------------------------------

* Loaded script: /Users/ahcorde/ignition/install/bin/ign

* Loaded features:

    0 enumerator.so
    1 thread.rb
    2 rational.so
    3 complex.so
    4 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/enc/encdb.bundle
    5 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/enc/trans/transdb.bundle
    6 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/rbconfig.rb
    7 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/compatibility.rb
    8 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/defaults.rb
    9 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/deprecate.rb
   10 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/errors.rb
   11 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/version.rb
   12 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/requirement.rb
   13 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/platform.rb
   14 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/basic_specification.rb
   15 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/stub_specification.rb
   16 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb
   17 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/uri/rfc2396_parser.rb
   18 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/uri/rfc3986_parser.rb
   19 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/uri/common.rb
   20 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/uri/generic.rb
   21 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/uri/file.rb
   22 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/uri/ftp.rb
   23 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/uri/http.rb
   24 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/uri/https.rb
   25 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/uri/ldap.rb
   26 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/uri/ldaps.rb
   27 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/uri/mailto.rb
   28 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/uri.rb
   29 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification_policy.rb
   30 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/util/list.rb
   31 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/stringio.bundle
   32 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification.rb
   33 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/exceptions.rb
   34 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/util.rb
   35 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/bundler_version_finder.rb
   36 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/dependency.rb
   37 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_gem.rb
   38 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/monitor.rb
   39 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb
   40 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_warn.rb
   41 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb
   42 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/path_support.rb
   43 /Library/Ruby/Gems/2.6.0/gems/did_you_mean-1.3.0/lib/did_you_mean/version.rb
   44 /Library/Ruby/Gems/2.6.0/gems/did_you_mean-1.3.0/lib/did_you_mean/core_ext/name_error.rb
   45 /Library/Ruby/Gems/2.6.0/gems/did_you_mean-1.3.0/lib/did_you_mean/levenshtein.rb
   46 /Library/Ruby/Gems/2.6.0/gems/did_you_mean-1.3.0/lib/did_you_mean/jaro_winkler.rb
   47 /Library/Ruby/Gems/2.6.0/gems/did_you_mean-1.3.0/lib/did_you_mean/spell_checker.rb
   48 /Library/Ruby/Gems/2.6.0/gems/did_you_mean-1.3.0/lib/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb
   49 /Library/Ruby/Gems/2.6.0/gems/did_you_mean-1.3.0/lib/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb
   50 /Library/Ruby/Gems/2.6.0/gems/did_you_mean-1.3.0/lib/did_you_mean/spell_checkers/name_error_checkers.rb
   51 /Library/Ruby/Gems/2.6.0/gems/did_you_mean-1.3.0/lib/did_you_mean/spell_checkers/method_name_checker.rb
   52 /Library/Ruby/Gems/2.6.0/gems/did_you_mean-1.3.0/lib/did_you_mean/spell_checkers/key_error_checker.rb
   53 /Library/Ruby/Gems/2.6.0/gems/did_you_mean-1.3.0/lib/did_you_mean/spell_checkers/null_checker.rb
   54 /Library/Ruby/Gems/2.6.0/gems/did_you_mean-1.3.0/lib/did_you_mean/formatters/plain_formatter.rb
   55 /Library/Ruby/Gems/2.6.0/gems/did_you_mean-1.3.0/lib/did_you_mean.rb
   56 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/optparse.rb
   57 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/versions.rb
   58 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/exception.rb
   59 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/syntax_error.rb
   60 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/psych.bundle
   61 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/omap.rb
   62 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/set.rb
   63 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/class_loader.rb
   64 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/strscan.bundle
   65 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/scalar_scanner.rb
   66 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/nodes/node.rb
   67 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/nodes/stream.rb
   68 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/nodes/document.rb
   69 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/nodes/sequence.rb
   70 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/nodes/scalar.rb
   71 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/nodes/mapping.rb
   72 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/nodes/alias.rb
   73 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/nodes.rb
   74 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/streaming.rb
   75 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/visitors/visitor.rb
   76 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/visitors/to_ruby.rb
   77 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/visitors/emitter.rb
   78 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/handler.rb
   79 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/tree_builder.rb
   80 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/visitors/yaml_tree.rb
   81 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/json/ruby_events.rb
   82 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/visitors/json_tree.rb
   83 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/visitors/depth_first.rb
   84 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/visitors.rb
   85 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/parser.rb
   86 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/coder.rb
   87 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/core_ext.rb
   88 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/stream.rb
   89 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/json/yaml_events.rb
   90 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/json/tree_builder.rb
   91 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/json/stream.rb
   92 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/handlers/document_stream.rb
   93 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych.rb
   94 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/yaml.rb
   95 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/fiddle.bundle
   96 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fiddle/function.rb
   97 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fiddle/closure.rb
   98 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fiddle.rb
   99 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fiddle/value.rb
  100 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fiddle/pack.rb
  101 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fiddle/struct.rb
  102 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fiddle/cparser.rb
  103 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fiddle/import.rb
  104 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/cgi/escape.bundle
  105 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/cgi/util.rb
  106 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/erb.rb
  107 /Users/ahcorde/ignition/install/lib/ruby/ignition/cmdgazebo3.rb

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: https://www.ruby-lang.org/bugreport.html

[IMPORTANT]
Don't forget to include the Crash Report log file under
DiagnosticReports directory in bug reports.

[Msg] Create service on [/world/lights/create]
[Msg] Remove service on [/world/lights/remove]
[Msg] Pose service on [/world/lights/set_pose]
[Msg] Loaded level [3]
[Msg] Serving world controls on [/world/lights/control] and [/world/lights/playback/control]
[Msg] Serving GUI information on [/world/lights/gui/info]
[Msg] World [lights] initialized with [1ms] physics profile.
[Msg] Found no publishers on /stats, adding root stats topic
[Msg] Found no publishers on /clock, adding root clock topic
[Msg] Serving scene information on [/world/lights/scene/info]
[Msg] Serving graph information on [/world/lights/scene/graph]
[Msg] Serving full state on [/world/lights/state]
[Msg] Publishing scene information on [/world/lights/scene/info]
[Msg] Publishing entity deletions on [/world/lights/scene/deletion]
[Msg] Publishing state changes on [/world/lights/state]
[Msg] Publishing pose messages on [/world/lights/pose/info]
[Msg] Publishing dynamic pose messages on [/world/lights/dynamic_pose/info]
Escalating to SIGKILL on [Ignition Gazebo Server]

osrf-migration commented 4 years ago

Original comment by Alejandro Hernández (Bitbucket: ahcorde, GitHub: ahcorde).


I splitted the launch in server and client

the server seems to work without any problem

$ ign gazebo -s -v 4 -r shapes.sdf
[Msg] Ignition Gazebo Server v3.0.0
[Msg] Loading SDF world file[/Users/ahcorde/ignition/install/share/ignition/ignition-gazebo3/worlds/shapes.sdf].
[Dbg] [EntityComponentManager.cc:627] Using components of type [2251689575469537287] / [ign_gazebo_components.World].
[Dbg] [EntityComponentManager.cc:627] Using components of type [13994732549916512682] / [ign_gazebo_components.Name].
[Dbg] [EntityComponentManager.cc:627] Using components of type [12592746352568925681] / [ign_gazebo_components.Gravity].
[Dbg] [EntityComponentManager.cc:627] Using components of type [13224937992534617849] / [ign_gazebo_components.MagneticField].
[Dbg] [EntityComponentManager.cc:627] Using components of type [8753193699724811771] / [ign_gazebo_components.Wind].
[Dbg] [EntityComponentManager.cc:627] Using components of type [12173050716021724529] / [ign_gazebo_components.WorldLinearVelocity].
[Dbg] [EntityComponentManager.cc:627] Using components of type [15943768124495574352] / [ign_gazebo_components.WorldLinearVelocitySeed].
[Dbg] [EntityComponentManager.cc:627] Using components of type [3297509811873971798] / [ign_gazebo_components.ParentEntity].
[Dbg] [EntityComponentManager.cc:627] Using components of type [17100615127981600159] / [ign_gazebo_components.Scene].
[Dbg] [EntityComponentManager.cc:627] Using components of type [8064491505919932473] / [ign_gazebo_components.Level].
[Dbg] [EntityComponentManager.cc:627] Using components of type [2668898242563798256] / [ign_gazebo_components.DefaultLevel].
[Dbg] [EntityComponentManager.cc:627] Using components of type [11371360182141354106] / [ign_gazebo_components.LevelEntityNames].
[Dbg] [SimulationRunner.cc:745] Loaded system [ignition::gazebo::systems::Physics] for entity [1]
[Msg] Create service on [/world/shapes/create]
[Msg] Remove service on [/world/shapes/remove]
[Msg] Pose service on [/world/shapes/set_pose]
[Dbg] [SimulationRunner.cc:745] Loaded system [ignition::gazebo::systems::UserCommands] for entity [1]
[Dbg] [SimulationRunner.cc:745] Loaded system [ignition::gazebo::systems::SceneBroadcaster] for entity [1]
[Dbg] [EntityComponentManager.cc:627] Using components of type [6687176221774458630] / [ign_gazebo_components.Model].
[Dbg] [EntityComponentManager.cc:627] Using components of type [6612894081701502240] / [ign_gazebo_components.Pose].
[Dbg] [EntityComponentManager.cc:627] Using components of type [8546580419506082455] / [ign_gazebo_components.Static].
[Dbg] [EntityComponentManager.cc:627] Using components of type [9712747055438129860] / [ign_gazebo_components.WindMode].
[Dbg] [EntityComponentManager.cc:627] Using components of type [5081358965268446661] / [ign_gazebo_components.Link].
[Dbg] [EntityComponentManager.cc:627] Using components of type [8112400427272910195] / [ign_gazebo_components.Inertial].
[Dbg] [EntityComponentManager.cc:627] Using components of type [16454635107327670381] / [ign_gazebo_components.Visual].
[Dbg] [EntityComponentManager.cc:627] Using components of type [13011964647677164955] / [ign_gazebo_components.CastShadows].
[Dbg] [EntityComponentManager.cc:627] Using components of type [17121648710877364109] / [ign_gazebo_components.Geometry].
[Dbg] [EntityComponentManager.cc:627] Using components of type [9853217982010720764] / [ign_gazebo_components.Material].
[Dbg] [EntityComponentManager.cc:627] Using components of type [17938588655714334139] / [ign_gazebo_components.Collision].
[Dbg] [EntityComponentManager.cc:627] Using components of type [9225962031573086509] / [ign_gazebo_components.CollisionElement].
[Dbg] [EntityComponentManager.cc:627] Using components of type [10522242218202596205] / [ign_gazebo_components.CanonicalLink].
[Dbg] [EntityComponentManager.cc:627] Using components of type [3866641186784191835] / [ign_gazebo_components.Light].
[Msg] Loaded level [3]
[Msg] Serving world controls on [/world/shapes/control] and [/world/shapes/playback/control]
[Msg] Serving GUI information on [/world/shapes/gui/info]
[Msg] World [shapes] initialized with [1ms] physics profile.
[Msg] Found no publishers on /stats, adding root stats topic
[Msg] Found no publishers on /clock, adding root clock topic
[Dbg] [SimulationRunner.cc:394] Creating PostUpdate worker threads: 2
[Dbg] [SimulationRunner.cc:407] Creating postupdate worker thread (0)
[Msg] Serving scene information on [/world/shapes/scene/info]
[Msg] Serving graph information on [/world/shapes/scene/graph]
[Msg] Serving full state on [/world/shapes/state]
[Msg] Publishing scene information on [/world/shapes/scene/info]
[Msg] Publishing entity deletions on [/world/shapes/scene/deletion]
[Msg] Publishing state changes on [/world/shapes/state]
[Msg] Publishing pose messages on [/world/shapes/pose/info]
[Msg] Publishing dynamic pose messages on [/world/shapes/dynamic_pose/info]

Client

but the client is still not working

$ ign gazebo -g
objc[43104]: Class OgreConfigWindowDelegate is implemented in both /usr/local/opt/ogre1.9/lib/libOgreMain.1.9.0.dylib (0x1434a1dc0) and /usr/local/opt/ogre2.1/lib/libOgreMain.2.1.0.dylib (0x14d2c1838). One of the two will be used. Which one is undefined.
[GUI] [Err] [Ogre2RenderEngine.cc:278] Failed to load render-engine
[GUI] [Err] [BaseRenderEngine.cc:55] Render-engine must be loaded first
/Users/ahcorde/ignition/install/lib/ruby/ignition/cmdgazebo3.rb:312: [BUG] Segmentation fault at 0x0000000000000000
ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19]

-- Crash Report log information --------------------------------------------
   See Crash Report log file under the one of following:                    
     * ~/Library/Logs/DiagnosticReports                                     
     * /Library/Logs/DiagnosticReports                                      
   for more details.                                                        
Don't forget to include the above Crash Report log file in bug reports.     

-- Control frame information -----------------------------------------------
c:0005 p:---- s:0048 e:000047 CFUNC  :call
c:0004 p:0018 s:0043 e:000042 METHOD /Users/ahcorde/ignition/install/lib/ruby/ignition/cmdgazebo3.rb:312
c:0003 p:0814 s:0037 e:000036 METHOD /Users/ahcorde/ignition/install/lib/ruby/ignition/cmdgazebo3.rb:357
c:0002 p:0635 s:0019 E:001738 EVAL   /Users/ahcorde/ignition/install/bin/ign:267 [FINISH]
c:0001 p:0000 s:0003 E:001910 (none) [FINISH]

-- Ruby level backtrace information ----------------------------------------
/Users/ahcorde/ignition/install/bin/ign:267:in `<main>'
/Users/ahcorde/ignition/install/lib/ruby/ignition/cmdgazebo3.rb:357:in `execute'
/Users/ahcorde/ignition/install/lib/ruby/ignition/cmdgazebo3.rb:312:in `runGui'
/Users/ahcorde/ignition/install/lib/ruby/ignition/cmdgazebo3.rb:312:in `call'

-- Machine register context ------------------------------------------------
 rax: 0x000070000dbffa00 rbx: 0x00007fb3cdc210c8 rcx: 0x0000000000000000
 rdx: 0x0000000000000000 rdi: 0x000070000dbffa00 rsi: 0x0000000000000000
 rbp: 0x000070000dbffa20 rsp: 0x000070000dbffa00  r8: 0x000007fb3c8deed3
  r9: 0x0000000000000002 r10: 0x00007fb3c8d00000 r11: 0x00007fb3ca3a1f60
 r12: 0x00007fb3cdc20990 r13: 0x00007fb3cf55c190 r14: 0x000070000dbffa60
 r15: 0x000070000dbffa48 rip: 0x0000000142c18282 rfl: 0x0000000000010246

-- C level backtrace information -------------------------------------------
'/usr/lib/system/libsystem_platform.dylib' is not a 64-bit Mach-O file!
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/libruby.2.6.dylib(rb_vm_bugreport+0x82) [0x7fff43726854]
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/libruby.2.6.dylib(0x7fff43600c9c) [0x7fff43600c9c]
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/libruby.2.6.dylib(0x7fff436c0329) [0x7fff436c0329]
/usr/lib/system/libsystem_platform.dylib(_sigtramp+0x1d) [0x7fff6f06c42d]

osrf-migration commented 4 years ago

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


Nice, we could add these to the OSX source install tutorial, maybe under a new section for Catalina. I wonder if we would be able to fix these files upstream. Thoughts, @scpeters ?

osrf-migration commented 4 years ago

Original comment by Alejandro Hernández (Bitbucket: ahcorde, GitHub: ahcorde).


https://osrf-migration.github.io/ignition-gh-pages/#!/ignitionrobotics/docs/pull-requests/53/added-catalina-install-instructions/diff

osrf-migration commented 4 years ago

Original comment by Alejandro Hernández (Bitbucket: ahcorde, GitHub: ahcorde).


osrf-migration commented 4 years ago

Original comment by Alejandro Hernández (Bitbucket: ahcorde, GitHub: ahcorde).