Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[osgearth] osgEarth/Controls is missing #44303

Open
yanzixiang opened this issue Mar 11, 2025 · 1 comment
Open

[osgearth] osgEarth/Controls is missing #44303

yanzixiang opened this issue Mar 11, 2025 · 1 comment
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@yanzixiang
Copy link

yanzixiang commented Mar 11, 2025

osgEarth/Controls is missing

I'm trying to use vcpkg to compile the simdissdk
https://github.com/USNavalResearchLaboratory/simdissdk

Environment

  • OS: [Windows]
  • Compiler: MSVC 2022

To Reproduce
Steps to reproduce the behavior:

  1. ./vcpkg install osgearth[core,blend2d,tools] --recurse
  2. go to dir vcpkg\installed\x64-windows\include\osgEarth,
    the file Controls is missing
  3. if copy vcpkg\buildtrees\osgearth\src\gearth-3.7-856020e42d.clean\src\osgEarth\Controls
    to vcpkg\installed\x64-windows\include\osgEarth
    the source code will compile,
    but the link will fail with this kind of error
无法解析的外部符号 "__declspec(dllimport) public: __cdecl osgEarth::Util::Controls::ControlNode::ControlNode(class osgEarth::Util::Controls::Control *,float)" (__imp_??0ControlNode@Controls@Util@osgEarth@@QEAA@PEAVControl@123@M@Z),函数 "public: bool __cdecl simVis::View::addSceneControl(class osgEarth::Util::Controls::Control *,class osgEarth::GeoPoint const &,float)" (?addSceneControl@View@simVis@@QEAA_NPEAVControl@Controls@Util@osgEarth@@AEBVGeoPoint@6@M@Z) 中引用了该符号

Expected behavior
the code will compile and link happily

@paul-levy

@WangWeiLin-MV WangWeiLin-MV changed the title osgEarth/Controls is missing [osgearth] osgEarth/Controls is missing Mar 11, 2025
@WangWeiLin-MV WangWeiLin-MV added the requires:repro The issue is not currently repro-able label Mar 11, 2025
@WangWeiLin-MV
Copy link
Contributor

Being testing locally.

@WangWeiLin-MV WangWeiLin-MV added category:port-bug The issue is with a library, which is something the port should already support and removed requires:repro The issue is not currently repro-able labels Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
Development

No branches or pull requests

2 participants