Re: [Libosmscout-development] Is there any Windows CGI demo available?
Library for OpenStreetMap offline rendering and routing
Status: Beta
Brought to you by:
tteuling
From: David H. R. <dav...@gm...> - 2021-12-22 17:39:57
|
Here is the vcpkg list [image: image.png] I'll try with cmd instead. On Wed, 22 Dec 2021 at 18:33, Tim Teulings <ti...@fr...> wrote: > Hello David, > > > 1) vcpkg install of all libs. OK! > > OK. > > > 2) cmake -G "Visual Studio 16 2019" -A x64 -DOSMSCOUT_BUILD_DOC_API=OFF > > -DCMAKE_SYSTEM_VERSION=10.0.18362.0 > > -DCMAKE_TOOLCHAIN_FILE=c:\vcpkg\scripts\buildsystems\vcpkg.cmake -Wno-dev > > > I get this: > > > > image.png > > Strange. So it looks like the libraries are still not be found. We > should fix the error below first before this is further investigated. > > Please call "vcpkg list" to check if software was successfully build and > installed (with the correct architecture). > > I assume that vcpkg was used correctly and cmake may have a problem, but > it is wise to be sure :-) > > > and this error after that: > > image.png > > means: -DMAKE_SYSTEM_VERSION=10 is not known as a cmdlet name, function, > > script file or exec. > > See https://cmake.org/cmake/help/latest/variable/CMAKE_SYSTEM_VERSION.html > > or > > https://gitlab.kitware.com/cmake/cmake/-/issues/16713 > > As far as I remember this would have influence of the Windows SDK > versions you choose (and maybe visibility of OS header symbols). > > Your error looks like it is an error fro the power shell itself. I used > DOS (cmd.exe) for my examples (I'm old, I was there before powershell > was invented ;-)). Check if powershell needs some quoting or use a dos > shell. > > Note that you now can use the *dlls and *.exe form the build for first > experiments. > -- > Gruß... > Tim > > > > _______________________________________________ > Libosmscout-development mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libosmscout-development > |