Title: Link error in dirobj.obj when static linking is used · Issue #440 · stepcode/stepcode · GitHub
Open Graph Title: Link error in dirobj.obj when static linking is used · Issue #440 · stepcode/stepcode
X Title: Link error in dirobj.obj when static linking is used · Issue #440 · stepcode/stepcode
Description: I am trying to use stepcode using static library linking, but if face two LNK2019 errors about unresolved external symbols in dirobj.obj in steputils-static.lib. One symbol is PathCanonicalizeA and the other one is PathIsDirectoryA. When...
Open Graph Description: I am trying to use stepcode using static library linking, but if face two LNK2019 errors about unresolved external symbols in dirobj.obj in steputils-static.lib. One symbol is PathCanonicalizeA and...
X Description: I am trying to use stepcode using static library linking, but if face two LNK2019 errors about unresolved external symbols in dirobj.obj in steputils-static.lib. One symbol is PathCanonicalizeA and...
Opengraph URL: https://github.com/stepcode/stepcode/issues/440
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Link error in dirobj.obj when static linking is used","articleBody":"I am trying to use stepcode using static library linking, but if face two LNK2019 errors about unresolved external symbols in dirobj.obj in steputils-static.lib. One symbol is PathCanonicalizeA and the other one is PathIsDirectoryA. \r\nWhen I change to dynamic libraries the problem is solved and it runs without any problem. \r\n I am using VS2022 with C++17, on Windows 10. Any idea of what could be the problem? \r\n\r\n\r\nError\tLNK2019\tunresolved external symbol __imp_PathCanonicalizeA referenced in function \"public: static class std::basic_string\u003cchar,struct std::char_traits\u003cchar\u003e,class std::allocator\u003cchar\u003e \u003e __cdecl DirObj::Normalize(class std::basic_string\u003cchar,struct std::char_traits\u003cchar\u003e,class std::allocator\u003cchar\u003e \u003e const \u0026)\" (?Normalize@DirObj@@SA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBV23@@Z)\r\n\r\nError\tLNK2019\tunresolved external symbol __imp_PathIsDirectoryA referenced in function \"public: static bool __cdecl DirObj::IsADirectory(char const *)\" (?IsADirectory@DirObj@@SA_NPEBD@Z)\t\t\r\n\r\n","author":{"url":"https://github.com/Aderiani","@type":"Person","name":"Aderiani"},"datePublished":"2022-05-06T13:18:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/440/stepcode/issues/440"}
| 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:fed86481-0496-a02b-a86b-666a80fecf0c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8942:DA633:80F4C3F:A63F68A:6975CFB1 |
| html-safe-nonce | 0dd9db34eb91d87a9469a1a1efb3d77b168572e919dc130d5454a5fdee223e31 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTQyOkRBNjMzOjgwRjRDM0Y6QTYzRjY4QTo2OTc1Q0ZCMSIsInZpc2l0b3JfaWQiOiI1MTgwOTA2MTI3NjUzOTgyMTI5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e3e23b3c5226c280df1881a7e27c765c8e489953a389c712262ed6dec2ef70e5 |
| hovercard-subject-tag | issue:1227860987 |
| 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/stepcode/stepcode/440/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ddf0f1d91eb6e78ab43ab089d1c5991956ca925adff8c5be6636d6ac792cc6f4/stepcode/stepcode/issues/440 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ddf0f1d91eb6e78ab43ab089d1c5991956ca925adff8c5be6636d6ac792cc6f4/stepcode/stepcode/issues/440 |
| og:image:alt | I am trying to use stepcode using static library linking, but if face two LNK2019 errors about unresolved external symbols in dirobj.obj in steputils-static.lib. One symbol is PathCanonicalizeA and... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Aderiani |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/stepcode/stepcode git https://github.com/stepcode/stepcode.git |
| octolytics-dimension-user_id | 1761770 |
| octolytics-dimension-user_login | stepcode |
| octolytics-dimension-repository_id | 1975387 |
| octolytics-dimension-repository_nwo | stepcode/stepcode |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1975387 |
| octolytics-dimension-repository_network_root_nwo | stepcode/stepcode |
| 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 | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width