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: patch-diff.githubusercontent.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:f5709afa-0b93-04c0-9424-06fe27e15f9f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 851A:2AED63:3FC9F1A:52FFB11:69751DCF |
| html-safe-nonce | f12f9aaaeab93332fcac443951797899d78a777869b4cd6c1c28129a1243318c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTFBOjJBRUQ2MzozRkM5RjFBOjUyRkZCMTE6Njk3NTFEQ0YiLCJ2aXNpdG9yX2lkIjoiODQ3ODkyODE3NDcwNjkyNTAwNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 55fbd20ab37aa2451fceb14c7b9f06d67459f3f171662d227b6528e64dc9441d |
| 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