Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Build Error #13

Closed
woensug-choi opened this issue Jun 13, 2024 · 2 comments
Closed

Build Error #13

woensug-choi opened this issue Jun 13, 2024 · 2 comments

Comments

@woensug-choi
Copy link

woensug-choi commented Jun 13, 2024

--- stderr: fastrtps                                                                                                                
CMake Error in src/cpp/CMakeLists.txt:
  export called with target "fastrtps" which requires target "fastcdr" that
  is not in any export set.
--- stderr: rviz_ogre_vendor                                                                         
Undefined symbols for architecture arm64:
  "_FT_Add_Default_Modules", referenced from:
      ImGuiFreeType::BuildFontAtlas(ImFontAtlas*, unsigned int) in imgui_freetype.cpp.o
  "_FT_Done_Face", referenced from:
      ImFontAtlasBuildWithFreeType(FT_LibraryRec_*, ImFontAtlas*, unsigned int) in imgui_freetype.cpp.o
  "_FT_Done_FreeType", referenced from:
      Ogre::Font::loadResource(Ogre::Resource*) in OgreFont.cpp.o
  "_FT_Done_Library", referenced from:
      ImGuiFreeType::BuildFontAtlas(ImFontAtlas*, unsigned int) in imgui_freetype.cpp.o
  "_FT_Get_Char_Index", referenced from:
      ImFontAtlasBuildWithFreeType(FT_LibraryRec_*, ImFontAtlas*, unsigned int) in imgui_freetype.cpp.o
      ImFontAtlasBuildWithFreeType(FT_LibraryRec_*, ImFontAtlas*, unsigned int) in imgui_freetype.cpp.o
  "_FT_GlyphSlot_Embolden", referenced from:
      ImFontAtlasBuildWithFreeType(FT_LibraryRec_*, ImFontAtlas*, unsigned int) in imgui_freetype.cpp.o
  "_FT_GlyphSlot_Oblique", referenced from:
      ImFontAtlasBuildWithFreeType(FT_LibraryRec_*, ImFontAtlas*, unsigned int) in imgui_freetype.cpp.o
  "_FT_Init_FreeType", referenced from:
      Ogre::Font::loadResource(Ogre::Resource*) in OgreFont.cpp.o
  "_FT_Load_Char", referenced from:
      Ogre::Font::loadResource(Ogre::Resource*) in OgreFont.cpp.o
      Ogre::Font::loadResource(Ogre::Resource*) in OgreFont.cpp.o
  "_FT_Load_Glyph", referenced from:
      ImFontAtlasBuildWithFreeType(FT_LibraryRec_*, ImFontAtlas*, unsigned int) in imgui_freetype.cpp.o
  "_FT_New_Library", referenced from:
      ImGuiFreeType::BuildFontAtlas(ImFontAtlas*, unsigned int) in imgui_freetype.cpp.o
  "_FT_New_Memory_Face", referenced from:
      Ogre::Font::loadResource(Ogre::Resource*) in OgreFont.cpp.o
      ImFontAtlasBuildWithFreeType(FT_LibraryRec_*, ImFontAtlas*, unsigned int) in imgui_freetype.cpp.o
  "_FT_Render_Glyph", referenced from:
      ImFontAtlasBuildWithFreeType(FT_LibraryRec_*, ImFontAtlas*, unsigned int) in imgui_freetype.cpp.o
  "_FT_Request_Size", referenced from:
      ImFontAtlasBuildWithFreeType(FT_LibraryRec_*, ImFontAtlas*, unsigned int) in imgui_freetype.cpp.o
  "_FT_Select_Charmap", referenced from:
      ImFontAtlasBuildWithFreeType(FT_LibraryRec_*, ImFontAtlas*, unsigned int) in imgui_freetype.cpp.o
  "_FT_Set_Char_Size", referenced from:
      Ogre::Font::loadResource(Ogre::Resource*) in OgreFont.cpp.o
ld: symbol(s) not found for architecture arm64
@Matts966
Copy link

@woensug-choi
You can use this patch.

diff --git a/ros2.repos b/ros2.repos
index 2200612..1b17ad8 100644
--- a/ros2.repos
+++ b/ros2.repos
@@ -23,18 +23,22 @@ repositories:
     type: git
     url: https://github.com/ament/uncrustify_vendor.git
     version: humble
-  eProsima/Fast-CDR:
+  foonathan_memory_vendor:
+    type: git
+    url: https://github.com/eProsima/foonathan_memory_vendor.git
+    version: v1.2.2
+  fastcdr:
     type: git
     url: https://github.com/eProsima/Fast-CDR.git
-    version: v1.0.24
-  eProsima/Fast-DDS:
+    version: v1.0.28
+  fastrtps:
     type: git
     url: https://github.com/eProsima/Fast-DDS.git
-    version: 2.6.x
-  eProsima/foonathan_memory_vendor:
+    version: v2.6.8
+  fastddsgen:
     type: git
-    url: https://github.com/eProsima/foonathan_memory_vendor.git
-    version: master
+    url: https://github.com/eProsima/Fast-DDS-Gen.git
+    version: v2.1.3
   ignition/ignition_cmake2_vendor:
     type: git
     url: https://github.com/ignition-release/ignition_cmake2_vendor.git
@@ -362,7 +366,7 @@ repositories:
     type: git
     url: https://github.com/ros2/rosidl_dds.git
     version: humble
-    
+
   ros2/sros2:
     type: git
     url: https://github.com/ros2/sros2.git

@woensug-choi
Copy link
Author

@Matts966 Thx :) btw, I've made my own version. https://github.com/IOES-Lab/ROS2_Jazzy_MacOS_Native_AppleSilicon

hanchangyo referenced this issue in hanchangyo/ros2_humble_m1 Aug 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants