pelicanmapping / rocky

3D Geospatial SDK (C++17 / Vulkan / VSG)
MIT License
91 stars 15 forks source link

"The ordinal 125 could not be located in... gdlad.dll" #24

Closed fkane closed 7 months ago

fkane commented 7 months ago

I probably did something dumb, but having a hard time getting rdemo.exe to run successfully.

This results in a popup at startup saying "The ordinal 125 could not be located in the dynamic link library e:\rocky\install\bin\gdlad.dll"

Is this a bad dependency, or did I mess up?

jasonbeverage commented 7 months ago

Hey Frank, try building the RelWithDebInfo target instead and see if that works. If you ran bootstrap.vcpkg it's setting the build type to RelWithDebInfo so it's picking up release dependencies and not debug. I think if you build in debug you'll need to change the bootstrap script to Debug and use a separate directory from your release build. Give that a shot and see if you have any luck.

fkane commented 7 months ago

Hm, now it's complaining about non-debug DLL's not being present in the install/bin directory I'm running from (like gdal.dll) despite building INSTALL again. That's why I went straight to Debug.

Something must have gotten horked during the build process; I'll try starting again from scratch.

jasonbeverage commented 7 months ago

In your build directory there will also be a directory called vcpkg_installed. You need to add the vcpkg_installed\bin directory to your path.

fkane commented 7 months ago

Ah! Might want to include that step in the build instructions (as well as a reminder to only build RelWIthDebInfo)

That got me further, but now it's complaining about the sqlite3_column_table_name entry point not being located within gdal.dll within the build\vcpkg_installed\x64-windows\bin directory I added to the path.

I guess I'll tackle this again in a bit; we can probably close this issue though as it's drifted pretty far from the original problem now.

Thank you!

fkane commented 7 months ago

Got the rdemo project working on a different PC after including build\vcpkg_installed\x64-windows\bin in the path. All good! Thanks.