Title: undefined reference to `ucnv_close_52' · Issue #381 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: undefined reference to `ucnv_close_52' · Issue #381 · IfcOpenShell/IfcOpenShell
X Title: undefined reference to `ucnv_close_52' · Issue #381 · IfcOpenShell/IfcOpenShell
Description: I am trying to create a custom parser for different IFC formats and I get this error whenever I try to build it. I am using cmake, here is my CMakeLists.txt: cmake_minimum_required(VERSION 2.8.3) project(ifc_parser) set(BUILD_TYPE Releas...
Open Graph Description: I am trying to create a custom parser for different IFC formats and I get this error whenever I try to build it. I am using cmake, here is my CMakeLists.txt: cmake_minimum_required(VERSION 2.8.3) p...
X Description: I am trying to create a custom parser for different IFC formats and I get this error whenever I try to build it. I am using cmake, here is my CMakeLists.txt: cmake_minimum_required(VERSION 2.8.3) p...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/381
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":" undefined reference to `ucnv_close_52'","articleBody":"I am trying to create a custom parser for different IFC formats and I get this error whenever I try to build it. \r\n\r\nI am using cmake, here is my CMakeLists.txt:\r\n```\r\n\r\ncmake_minimum_required(VERSION 2.8.3)\r\n\r\nproject(ifc_parser)\r\n\r\nset(BUILD_TYPE Release)\r\n\r\nset(CMAKE_CXX_FLAGS\r\n \"${CMAKE_CXX_FLAGS_RELEASE} ${SSE_FLAGS} -std=c++11\"\r\n)\r\n\r\nset(IFC_PARSER_SOURCE_FILES\r\n src/IfcParser.cpp \r\n )\r\n\r\ninclude_directories(include/ifc_parser)\r\n\r\n\r\nadd_executable(ifc_parser\r\n ${IFC_PARSER_SOURCE_FILES})\r\ntarget_link_libraries(ifc_parser /usr/local/lib/libIfcParse.a)\r\n```\r\nAnd this is the error: \r\n```\r\n\r\n/usr/local/lib/libIfcParse.a(IfcCharacterDecoder.cpp.o): In function `IfcParse::IfcCharacterDecoder::IfcCharacterDecoder(IfcParse::IfcSpfStream*)':\r\nIfcCharacterDecoder.cpp:(.text+0x1e): undefined reference to `ucnv_close_52'\r\nIfcCharacterDecoder.cpp:(.text+0x32): undefined reference to `ucnv_close_52'\r\nIfcCharacterDecoder.cpp:(.text+0x76): undefined reference to `ucnv_getDefaultName_52'\r\nIfcCharacterDecoder.cpp:(.text+0x9b): undefined reference to `ucnv_open_52'\r\nIfcCharacterDecoder.cpp:(.text+0xb6): undefined reference to `ucnv_open_52'\r\nIfcCharacterDecoder.cpp:(.text+0xcb): undefined reference to `ucnv_open_52'\r\nIfcCharacterDecoder.cpp:(.text+0xe3): undefined reference to `ucnv_open_52'\r\n/usr/local/lib/libIfcParse.a(IfcCharacterDecoder.cpp.o): In function `IfcParse::IfcCharacterDecoder::~IfcCharacterDecoder()':\r\nIfcCharacterDecoder.cpp:(.text+0x105): undefined reference to `ucnv_close_52'\r\nIfcCharacterDecoder.cpp:(.text+0x11a): undefined reference to `ucnv_close_52'\r\nIfcCharacterDecoder.cpp:(.text+0x12e): undefined reference to `ucnv_close_52'\r\n/usr/local/lib/libIfcParse.a(IfcCharacterDecoder.cpp.o): In function `IfcWrite::IfcCharacterEncoder::IfcCharacterEncoder(std::string const&)':\r\nIfcCharacterDecoder.cpp:(.text+0x1af): undefined reference to `ucnv_open_52'\r\n/usr/local/lib/libIfcParse.a(IfcCharacterDecoder.cpp.o): In function `IfcWrite::IfcCharacterEncoder::~IfcCharacterEncoder()':\r\nIfcCharacterDecoder.cpp:(.text+0x1f9): undefined reference to `ucnv_close_52'\r\n/usr/local/lib/libIfcParse.a(IfcCharacterDecoder.cpp.o): In function `IfcWrite::IfcCharacterEncoder::operator std::string()':\r\nIfcCharacterDecoder.cpp:(.text+0x4de): undefined reference to `ucnv_getNextUChar_52'\r\n/usr/local/lib/libIfcParse.a(IfcCharacterDecoder.cpp.o): In function `IfcParse::IfcCharacterDecoder::addChar(std::basic_stringstream\u003cchar, std::char_traits\u003cchar>, std::allocator\u003cchar> >&, int const&)':\r\nIfcCharacterDecoder.cpp:(.text+0xe23): undefined reference to `icu_52::UnicodeString::UnicodeString(int)'\r\nIfcCharacterDecoder.cpp:(.text+0xe3d): undefined reference to `icu_52::UnicodeString::extract(char*, int, UConverter*, UErrorCode&) const'\r\nIfcCharacterDecoder.cpp:(.text+0xe45): undefined reference to `icu_52::UnicodeString::~UnicodeString()'\r\nIfcCharacterDecoder.cpp:(.text+0x151c): undefined reference to `icu_52::UnicodeString::~UnicodeString()'\r\n/usr/local/lib/libIfcParse.a(IfcCharacterDecoder.cpp.o): In function `IfcParse::IfcCharacterDecoder::operator std::string()':\r\nIfcCharacterDecoder.cpp:(.text+0x1981): undefined reference to `ucnv_close_52'\r\nIfcCharacterDecoder.cpp:(.text+0x19f3): undefined reference to `ucnv_open_52'\r\nIfcCharacterDecoder.cpp:(.text+0x1a21): undefined reference to `ucnv_getNextUChar_52'\r\nIfcCharacterDecoder.cpp:(.text+0x1fd6): undefined reference to `ucnv_getNextUChar_52'\r\n/usr/local/lib/libIfcParse.a(IfcCharacterDecoder.cpp.o): In function `IfcParse::IfcCharacterDecoder::~IfcCharacterDecoder()':\r\nIfcCharacterDecoder.cpp:(.text+0x14e): undefined reference to `ucnv_flushCache_52'\r\n\r\n```\r\n\r\nI have built IFCOpenShell with ICU (version 61)","author":{"url":"https://github.com/alejandronespereira","@type":"Person","name":"alejandronespereira"},"datePublished":"2018-05-08T15:38:25Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/381"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9e727b2c-d5a7-a4dd-830a-743008c8cf38 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 866C:3B1B50:1B20A1:247905:6B04B3B5 |
| html-safe-nonce | 31ba6d3ae378c53e53dc0471cb8844f5d15365fdb7b7b794cd2a9725d8de8f2e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjZDOjNCMUI1MDoxQjIwQTE6MjQ3OTA1OjZCMDRCM0I1IiwidmlzaXRvcl9pZCI6IjM3NjQ2MDE4NzM5NzQ0NzM2NTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bcb0cd89bf1bbd268f2b7944d61385eb654d39058b344d688ff46a3104a57bf9 |
| hovercard-subject-tag | issue:321239556 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IfcOpenShell/IfcOpenShell/381/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e3d96b9a3e929afbf76239206fc06fa7a1ce9eeaa795e3792d5055eedb870bbb/IfcOpenShell/IfcOpenShell/issues/381 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e3d96b9a3e929afbf76239206fc06fa7a1ce9eeaa795e3792d5055eedb870bbb/IfcOpenShell/IfcOpenShell/issues/381 |
| og:image:alt | I am trying to create a custom parser for different IFC formats and I get this error whenever I try to build it. I am using cmake, here is my CMakeLists.txt: cmake_minimum_required(VERSION 2.8.3) p... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alejandronespereira |
| hostname | github.com |
| expected-hostname | github.com |
| None | 378bd702ac792b3550e484ad39d9a898fcd25bb52ba6962b0c9cc457c1ea71c7 |
| turbo-cache-control | no-preview |
| go-import | github.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git |
| octolytics-dimension-user_id | 13692563 |
| octolytics-dimension-user_login | IfcOpenShell |
| octolytics-dimension-repository_id | 40473201 |
| octolytics-dimension-repository_nwo | IfcOpenShell/IfcOpenShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 40473201 |
| octolytics-dimension-repository_network_root_nwo | IfcOpenShell/IfcOpenShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b032e77f1ea437ede6c115446a0a467709b468e7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width