René's URL Explorer Experiment


Title: Cmake build of project crashing after including 1DS libs and header files · Issue #1045 · microsoft/cpp_client_telemetry · GitHub

Open Graph Title: Cmake build of project crashing after including 1DS libs and header files · Issue #1045 · microsoft/cpp_client_telemetry

X Title: Cmake build of project crashing after including 1DS libs and header files · Issue #1045 · microsoft/cpp_client_telemetry

Description: Hi all, I hope this is the correct place to post this question. I've managed to build this code base inside visual studio 19 and now I'm trying to import it into a simple C++ hello world application that is being build by cmake (I'm tryi...

Open Graph Description: Hi all, I hope this is the correct place to post this question. I've managed to build this code base inside visual studio 19 and now I'm trying to import it into a simple C++ hello world applicatio...

X Description: Hi all, I hope this is the correct place to post this question. I've managed to build this code base inside visual studio 19 and now I'm trying to import it into a simple C++ hello world ap...

Opengraph URL: https://github.com/microsoft/cpp_client_telemetry/issues/1045

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cmake build of project crashing after including 1DS libs and header files","articleBody":"Hi all, \r\n\r\nI hope this is the correct place to post this question. I've managed to build this code base inside visual studio 19 and now I'm trying to import it into a simple C++ hello world application that is being build by cmake (I'm trying to test our E2E functionality of getting data all the way to geneva before importing it into our actual codebase). It seems like no matter what I do a cmake build of the hello world program crashes with the following error: `main.obj : error LNK2001: unresolved external symbol evt_api_call_default`. The program doesn't actually make any calls to the code. All I'm trying to do for now is #inlclude \"LogManager.hpp\" and I get that error.\r\n\r\nAs far as I can tell, I've included all the libraries correctly in the CMakeLists.txt file as seen here:\r\n```\r\ncmake_minimum_required(VERSION 3.0)\r\nadd_executable(hworld main.cpp)\r\n#project(hello_world)\r\nfind_library(ONEDS NAMES ClientTelemetry Microsoft.Applications.Telemetry.Windows.native zlib\r\n                PATHS   D:/hworld/oneds/libs/EventSender\r\n                        D:/hworld/oneds/libs/win10-lib\r\n                        D:/hworld/oneds/libs/win32-lib\r\n                        D:/hworld/oneds/libs/zlib\r\n            )\r\n\r\ntarget_link_libraries (hworld ${ONEDS})\r\ntarget_include_directories(hworld PUBLIC ./oneds/public)\r\ntarget_link_libraries(hworld ${CMAKE_THREAD_LIBS_INIT})\r\n```\r\n\r\nIn searching for a solution to this, I came across an open PR about adding cmake build support to windows (https://github.com/microsoft/cpp_client_telemetry/pull/1011). Is the error happening because of this? Our code base in defender is built using cmake. We do not use visual studio for development. \r\n\r\nCould you please let me know if I'm doing something wrong or if this is not possible for now because of the cmake build not being supported yet.\r\n\r\nThanks\r\nArmin","author":{"url":"https://github.com/finalreq","@type":"Person","name":"finalreq"},"datePublished":"2022-08-22T23:24:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1045/cpp_client_telemetry/issues/1045"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:c291de07-114d-0a86-acd4-97785c0e831d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEB36:265A7D:E44BF7:13212FF:6A4C4AA2
html-safe-nonce75a37be85bc80067c9680350a2ae40a64bf54ce0da84ac26ad4665e96ea27fb9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjM2OjI2NUE3RDpFNDRCRjc6MTMyMTJGRjo2QTRDNEFBMiIsInZpc2l0b3JfaWQiOiIyMTg5NDI5MzAxMTIzNTAwNzA2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmace97cc2026ded63599e16c60c4bc45f71802f961b649620bce738ecd008e5e2bc
hovercard-subject-tagissue:1347117641
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/cpp_client_telemetry/1045/issue_layout
twitter:imagehttps://opengraph.githubassets.com/31de5043e08ebd8640c9399b4f29f8742a39b5f106d239888e284cccc3000909/microsoft/cpp_client_telemetry/issues/1045
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/31de5043e08ebd8640c9399b4f29f8742a39b5f106d239888e284cccc3000909/microsoft/cpp_client_telemetry/issues/1045
og:image:altHi all, I hope this is the correct place to post this question. I've managed to build this code base inside visual studio 19 and now I'm trying to import it into a simple C++ hello world applicatio...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefinalreq
hostnamegithub.com
expected-hostnamegithub.com
None3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c
turbo-cache-controlno-preview
go-importgithub.com/microsoft/cpp_client_telemetry git https://github.com/microsoft/cpp_client_telemetry.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id168430034
octolytics-dimension-repository_nwomicrosoft/cpp_client_telemetry
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id168430034
octolytics-dimension-repository_network_root_nwomicrosoft/cpp_client_telemetry
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release65d78903193f110d7a9d1f8587c6dc3cb911aae0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/cpp_client_telemetry/issues/1045#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fcpp_client_telemetry%2Fissues%2F1045
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fcpp_client_telemetry%2Fissues%2F1045
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2Fcpp_client_telemetry
Reloadhttps://github.com/microsoft/cpp_client_telemetry/issues/1045
Reloadhttps://github.com/microsoft/cpp_client_telemetry/issues/1045
Reloadhttps://github.com/microsoft/cpp_client_telemetry/issues/1045
Please reload this pagehttps://github.com/microsoft/cpp_client_telemetry/issues/1045
microsoft https://github.com/microsoft
cpp_client_telemetryhttps://github.com/microsoft/cpp_client_telemetry
Notifications https://github.com/login?return_to=%2Fmicrosoft%2Fcpp_client_telemetry
Fork 60 https://github.com/login?return_to=%2Fmicrosoft%2Fcpp_client_telemetry
Star 102 https://github.com/login?return_to=%2Fmicrosoft%2Fcpp_client_telemetry
Code https://github.com/microsoft/cpp_client_telemetry
Issues 109 https://github.com/microsoft/cpp_client_telemetry/issues
Pull requests 27 https://github.com/microsoft/cpp_client_telemetry/pulls
Discussions https://github.com/microsoft/cpp_client_telemetry/discussions
Actions https://github.com/microsoft/cpp_client_telemetry/actions
Models https://github.com/microsoft/cpp_client_telemetry/models
Security and quality 0 https://github.com/microsoft/cpp_client_telemetry/security
Insights https://github.com/microsoft/cpp_client_telemetry/pulse
Code https://github.com/microsoft/cpp_client_telemetry
Issues https://github.com/microsoft/cpp_client_telemetry/issues
Pull requests https://github.com/microsoft/cpp_client_telemetry/pulls
Discussions https://github.com/microsoft/cpp_client_telemetry/discussions
Actions https://github.com/microsoft/cpp_client_telemetry/actions
Models https://github.com/microsoft/cpp_client_telemetry/models
Security and quality https://github.com/microsoft/cpp_client_telemetry/security
Insights https://github.com/microsoft/cpp_client_telemetry/pulse
Cmake build of project crashing after including 1DS libs and header fileshttps://github.com/microsoft/cpp_client_telemetry/issues/1045#top
questionFurther information is requestedhttps://github.com/microsoft/cpp_client_telemetry/issues?q=state%3Aopen%20label%3A%22question%22
https://github.com/finalreq
finalreqhttps://github.com/finalreq
on Aug 22, 2022https://github.com/microsoft/cpp_client_telemetry/issues/1045#issue-1347117641
#1011https://github.com/microsoft/cpp_client_telemetry/pull/1011
questionFurther information is requestedhttps://github.com/microsoft/cpp_client_telemetry/issues?q=state%3Aopen%20label%3A%22question%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.