carla icon indicating copy to clipboard operation
carla copied to clipboard

Error 6 while building Carla, make launch

Open evoevo07 opened this issue 11 months ago • 4 comments

Hello guys, I've been trying to install Carla and UE4 for a few days now, unfortunately without success. I can't seem to progress past this error. It's not addressed in other issues either. make PythonAPI was successful I hope someone can help me. Best regards

CARLA version: 0.9.15 Platform/OS: Windows

C:\carla>make launch
-[BuildUE4Plugins]: [Batch params]: --build --all
HEAD is now at 260273d Correct descriptor
-[BuildUE4Plugins]: STREETMAP has been successfully installed in "C:\carla\Unreal\CarlaUE4\Plugins\"
-[Setup]: [Batch params]: --boost-toolset msvc-14.2 --generator "" --all
-[Setup]: Asynchronous jobs:  16
-[Setup]: Boost toolset:      msvc-14.2
-[Setup]: Generator:          "Visual Studio 16 2019"
-[Setup]: Install directory:  "C:\carla\Build\"
-[Setup]: Installing zlib...
    -[install_zlib]: [Batch params]: --build-dir "C:\carla\Build\"
    -[install_zlib]: A zlib installation already exists.
    -[install_zlib]: Delete "C:\carla\Build\zlib-install\" if you want to force a rebuild.
    -[install_zlib]: Exiting...
        1 Datei(en) kopiert.
-[Setup]: Installing libpng...
    -[install_libpng]: [Batch params]: --build-dir "C:\carla\Build\" --zlib-install-dir "C:\carla\Build\zlib-install\"
    -[install_libpng]: A libpng installation already exists.
    -[install_libpng]: Delete "C:\carla\Build\libpng-1.2.37-install\" if you want to force a rebuild.
    -[install_libpng]: Exiting...
-[Setup]: Installing rpclib...
    -[install_rpclib]: [Batch params]: --build-dir "C:\carla\Build\" --generator "Visual Studio 16 2019"
    -[install_rpclib]: A rpclib installation already exists.
    -[install_rpclib]: Delete "C:\carla\Build\rpclib-install\" if you want to force a rebuild.
    -[install_rpclib]: Exiting...
-[Setup]: Installing Google Test...
    -[install_gtest]: [Batch params]: --build-dir "C:\carla\Build\" --generator "Visual Studio 16 2019"
    -[install_gtest]: A Google Test installation already exists.
    -[install_gtest]: Delete "C:\carla\Build\gtest-install\" if you want to force a rebuild.
    -[install_gtest]: Exiting...
-[Setup]: Installing "Recast & Detour"...
    -[install_recast]: [Batch params]: --build-dir "C:\carla\Build\" --generator "Visual Studio 16 2019"
    -[install_recast]: A "Recast & Detour" installation already exists.
    -[install_recast]: Delete "C:\carla\Build\recast-install\" if you want to force a rebuild.
    -[install_recast]: Exiting...
-[Setup]: Installing Boost...
    -[install_boost]: [Batch params]: --build-dir "C:\carla\Build\" --toolset msvc-14.2 --version 1.80.0 -j 16
    -[install_boost]: A Boost installation already exists.
    -[install_boost]: Delete "C:\carla\Build\boost-1.80.0-install\" if you want to force a rebuild.
    -[install_boost]: Exiting...
-[Setup]: Installing Xercesc...
    -[install_xercesc]: [Batch params]: --build-dir "C:\carla\Build\" --generator "Visual Studio 16 2019"
    -[install_xercesc]: A xerces installation already exists.
    -[install_xercesc]: Delete "C:\carla\Build\xerces-c-3.2.3-install\" if you want to force a rebuild.
    -[install_xercesc]: Exiting...
        1 Datei(en) kopiert.
        1 Datei(en) kopiert.
-[Setup]: Installing Sqlite3
    -[install_sqlite3]: [Batch params]: --build-dir "C:\carla\Build\"
    -[install_sqlite3]: A Sqlite3 installation already exists.
    -[install_sqlite3]: Delete "C:\carla\Build\sqlite3-install" if you want to force a rebuild.
    -[install_sqlite3]: Exiting...
        1 Datei(en) kopiert.
        1 Datei(en) kopiert.
-[Setup]: Installing PROJ
    -[install_proj]: [Batch params]: --build-dir "C:\carla\Build\" --generator "Visual Studio 16 2019"
    -[install_proj]: A PROJ installation already exists.
    -[install_proj]: Delete "C:\carla\Build\proj-install" if you want to force a rebuild.
    -[install_proj]: Exiting...
        1 Datei(en) kopiert.
        1 Datei(en) kopiert.
-[Setup]: Installing Eigen
    -[install_eigen]: [Batch params]: --build-dir "C:\carla\Build\"
0 Datei(en) kopiert
0 Datei(en) kopiert
        1 Datei(en) kopiert.
        1 Datei(en) kopiert.

    -[install_eigen]: Eigen has been successfully installed in "C:\carla\Build\eigen-install"
    -[install_eigen]: Exiting...
-[Setup]: Creating "CMakeLists.txt.in"...
-[Setup]:
   ###########
   # SUCCESS #
   ###########

   IMPORTANT

   All the CARLA library dependences should be installed now.
   (You can remove all "*-src" folders in C:\carla\Build\ directory)

   You only need the ASSET PACK with all the meshes and textures.

   This script provides the assets for CARLA Latest:
   You can download the assets from here:

       https://carla-assets.s3.us-east-005.backblazeb2.com/20231108_c5101a5.tar.gz

   Unzip it in the "C:\carla\Unreal\CarlaUE4\Content\Carla\" folder.
   If you want another version, search it in C:\carla\Util\ContentVersions.txt.

-[BuildLibCarla]: [Batch params]: --server --client --generator ""
-- Selecting Windows SDK version 10.0.20348.0 to target Windows 10.0.22631.
-- Build debug:   ON
-- Build release: ON
-- Build test:    ON
-- Configuring done (0.2s)
-- Generating done (0.3s)
-- Build files have been written to: C:/carla/Build/libcarla-visualstudio
Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

  1>Checking Build System
  carla_server.vcxproj -> C:\carla\Build\libcarla-visualstudio\LibCarla\cmake\server\Release\carla_server.lib
  carla_server_debug.vcxproj -> C:\carla\Build\libcarla-visualstudio\LibCarla\cmake\server\Release\carla_server_debug.lib
  1>
  -- Install configuration: "Release"
-- Selecting Windows SDK version 10.0.20348.0 to target Windows 10.0.22631.
-- Build debug:   ON
-- Build release: ON
-- Build test:    ON
-- Configuring done (0.0s)
-- Generating done (0.2s)
-- Build files have been written to: C:/carla/Build/libcarla-visualstudio
Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

  1>Checking Build System
  Map.cpp
  Waypoint.cpp
  Client.cpp
  Map.cpp
  Waypoint.cpp
  Client.cpp
  carla_client.vcxproj -> C:\carla\Build\libcarla-visualstudio\LibCarla\cmake\client\Release\carla_client.lib
  Map.cpp
  Waypoint.cpp
  Client.cpp
  Map.cpp
  Waypoint.cpp
  Client.cpp
  carla_client_debug.vcxproj -> C:\carla\Build\libcarla-visualstudio\LibCarla\cmake\client\Release\carla_client_debug.lib
  1>
  -- Install configuration: "Release"
  -- Installing: C:/carla/PythonAPI/carla/dependencies/lib/carla_client.lib
  -- Installing: C:/carla/PythonAPI/carla/dependencies/lib/carla_client_debug.lib
-[BuildLibCarla]: LibCarla server has been successfully installed in "C:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\"!
-[BuildLibCarla]: LibCarla client has been successfully installed in "C:\carla\PythonAPI\carla\dependencies\"!
-[BuildOSM2ODR]: [Batch params]: --generator "" --build --all
HEAD is now at 1835e1e9538 Remove logs
CMake Warning (dev) at CMakeLists.txt:33 (project):
  cmake_minimum_required() should be called prior to this top-level project()
  call.  Please see the cmake-commands(7) manual for usage documentation of
  both commands.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Selecting Windows SDK version 10.0.20348.0 to target Windows 10.0.22631.
CMake Deprecation Warning at CMakeLists.txt:35 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- CMAKE_BINARY_DIR: C:/carla/Build/osm2odr-visualstudio
-- CMAKE_SOURCE_DIR: C:/carla/Build/om2odr-source
--
-- Platform:
--     Host: Windows-10.0.22631 AMD64
--     Target: Windows-10.0.22631 AMD64
--     CMake: 3.29.0-rc4
--     CMake generator: Visual Studio 16 2019
--     CMake build tool: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe
--     Compiler: MSVC 19.29.30154.0
--
-- Found Proj: C:/carla/Build/proj-install/lib/proj.lib
-- Enabled features: Windows-10.0.22631 AMD64 MSVC 19.29.30154.0 Release Proj
-- Configuring done (0.2s)
-- Generating done (0.1s)
-- Build files have been written to: C:/carla/Build/osm2odr-visualstudio
Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

  osm2odr.vcxproj -> C:\carla\Build\osm2odr-visualstudio\src\Release\osm2odr.lib
  1>
  -- Install configuration: "Release"
        1 Datei(en) kopiert.
        1 Datei(en) kopiert.
-[BuildOSM2ODR]: OSM2ODR has been successfully installed in "C:\carla\PythonAPI\carla\dependencies\"
-[BuildCarlaUE4]: [Batch params]: --build --all
--build
--all
ECHO ist ausgeschaltet (OFF).
-[BuildCarlaUE4]: Building Unreal Editor...
Using 'git status' to determine working set for adaptive non-unity build (C:\Program Files\UnrealOrdner).
Waiting for 'git status' command to complete
Building CarlaUE4Editor...
Using Visual Studio 2019 14.29.30154 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133) and Windows 10.0.18362.0 SDK (C:\Program Files (x86)\Windows Kits\10).
[Upgrade]
[Upgrade] Using backward-compatible build settings. The latest version of UE4 sets the following values by default, which may require code changes:
[Upgrade]     bLegacyPublicIncludePaths = false                 => Omits subfolders from public include paths to reduce compiler command line length. (Previously: true).
[Upgrade]     ShadowVariableWarningLevel = WarningLevel.Error   => Treats shadowed variable warnings as errors. (Previously: WarningLevel.Warning).
[Upgrade]     PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs   => Set in build.cs files to enables IWYU-style PCH model. See https://docs.unrealengine.com/en-US/Programming/BuildTools/UnrealBuildTool/IWYU/index.html. (Previously: PCHUsageMode.UseSharedPCHs).
[Upgrade] Suppress this message by setting 'DefaultBuildSettings = BuildSettingsVersion.V2;' in CarlaUE4Editor.Target.cs, and explicitly overriding settings that differ from the new defaults.
[Upgrade]
Building 2 actions with 16 processes...
  [1/2] UE4Editor-CarlaTools.dll
     Creating library C:\carla\Unreal\CarlaUE4\Plugins\CarlaTools\Intermediate\Build\Win64\UE4Editor\Development\CarlaTools\UE4Editor-CarlaTools.suppressed.lib and object C:\carla\Unreal\CarlaUE4\Plugins\CarlaTools\Intermediate\Build\Win64\UE4Editor\Development\CarlaTools\UE4Editor-CarlaTools.suppressed.exp
  osm2odr.lib(OptionsIO.obj) : error LNK2019: unresolved external symbol deflateEnd referenced in function "public: __cdecl std::unique_ptr<class zstr::detail::z_stream_wrapper,struct std::default_delete<class zstr::detail::z_stream_wrapper> >::~unique_ptr<class zstr::detail::z_stream_wrapper,struct std::default_delete<class zstr::detail::z_stream_wrapper> >(void)" (??1?$unique_ptr@Vz_stream_wrapper@detail@zstr@@U?$default_delete@Vz_stream_wrapper@detail@zstr@@@std@@@std@@QEAA@XZ)
  osm2odr.lib(SUMOSAXReader.obj) : error LNK2001: unresolved external symbol deflateEnd
  osm2odr.lib(OutputDevice_File.obj) : error LNK2001: unresolved external symbol deflateEnd
  osm2odr.lib(OptionsIO.obj) : error LNK2019: unresolved external symbol inflate referenced in function "public: virtual int __cdecl zstr::istreambuf::underflow(void)" (?underflow@istreambuf@zstr@@UEAAHXZ)
  osm2odr.lib(SUMOSAXReader.obj) : error LNK2001: unresolved external symbol inflate
  osm2odr.lib(OptionsIO.obj) : error LNK2019: unresolved external symbol inflateEnd referenced in function "public: __cdecl std::unique_ptr<class zstr::detail::z_stream_wrapper,struct std::default_delete<class zstr::detail::z_stream_wrapper> >::~unique_ptr<class zstr::detail::z_stream_wrapper,struct std::default_delete<class zstr::detail::z_stream_wrapper> >(void)" (??1?$unique_ptr@Vz_stream_wrapper@detail@zstr@@U?$default_delete@Vz_stream_wrapper@detail@zstr@@@std@@@std@@QEAA@XZ)
  osm2odr.lib(SUMOSAXReader.obj) : error LNK2001: unresolved external symbol inflateEnd
  osm2odr.lib(OutputDevice_File.obj) : error LNK2001: unresolved external symbol inflateEnd
  osm2odr.lib(OptionsIO.obj) : error LNK2001: unresolved external symbol deflateInit2_
  osm2odr.lib(SUMOSAXReader.obj) : error LNK2001: unresolved external symbol deflateInit2_
  osm2odr.lib(OutputDevice_File.obj) : error LNK2001: unresolved external symbol deflateInit2_
  osm2odr.lib(OptionsIO.obj) : error LNK2019: unresolved external symbol inflateInit2_ referenced in function "public: virtual int __cdecl zstr::istreambuf::underflow(void)" (?underflow@istreambuf@zstr@@UEAAHXZ)
  osm2odr.lib(SUMOSAXReader.obj) : error LNK2001: unresolved external symbol inflateInit2_
  osm2odr.lib(OutputDevice_File.obj) : error LNK2001: unresolved external symbol inflateInit2_
  osm2odr.lib(OutputDevice_File.obj) : error LNK2019: unresolved external symbol deflate referenced in function "public: int __cdecl zstr::ostreambuf::deflate_loop(int)" (?deflate_loop@ostreambuf@zstr@@QEAAHH@Z)
  osm2odr.lib(OutputDevice_File.obj) : error LNK2019: unresolved external symbol deflateReset referenced in function "public: virtual __cdecl zstr::ostreambuf::~ostreambuf(void)" (??1ostreambuf@zstr@@UEAA@XZ)
  proj.lib(networkfilemanager.obj) : error LNK2019: unresolved external symbol sqlite3_close referenced in function "private: void __cdecl osgeo::proj::DiskChunkCache::commitAndClose(void)" (?commitAndClose@DiskChunkCache@proj@osgeo@@AEAAXXZ)
  proj.lib(factory.obj) : error LNK2001: unresolved external symbol sqlite3_close
  proj.lib(networkfilemanager.obj) : error LNK2019: unresolved external symbol sqlite3_exec referenced in function "private: void __cdecl osgeo::proj::DiskChunkCache::commitAndClose(void)" (?commitAndClose@DiskChunkCache@proj@osgeo@@AEAAXXZ)
  proj.lib(networkfilemanager.obj) : error LNK2019: unresolved external symbol sqlite3_last_insert_rowid referenced in function "public: void __cdecl osgeo::proj::NetworkChunkCache::insert(struct projCtx_t *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned __int64,class std::vector<unsigned char,class std::allocator<unsigned char> > &&)" (?insert@NetworkChunkCache@proj@osgeo@@QEAAXPEAUprojCtx_t@@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_K$$QEAV?$vector@EV?$allocator@E@std@@@6@@Z)
  proj.lib(networkfilemanager.obj) : error LNK2019: unresolved external symbol sqlite3_get_table referenced in function "private: bool __cdecl osgeo::proj::DiskChunkCache::initialize(void)" (?initialize@DiskChunkCache@proj@osgeo@@AEAA_NXZ)
  proj.lib(networkfilemanager.obj) : error LNK2019: unresolved external symbol sqlite3_free_table referenced in function "private: bool __cdecl osgeo::proj::DiskChunkCache::initialize(void)" (?initialize@DiskChunkCache@proj@osgeo@@AEAA_NXZ)  proj.lib(networkfilemanager.obj) : error LNK2019: unresolved external symbol sqlite3_open_v2 referenced in function "private: bool __cdecl osgeo::proj::DiskChunkCache::initialize(void)" (?initialize@DiskChunkCache@proj@osgeo@@AEAA_NXZ)
  proj.lib(factory.obj) : error LNK2001: unresolved external symbol sqlite3_open_v2
  proj.lib(networkfilemanager.obj) : error LNK2019: unresolved external symbol sqlite3_errmsg referenced in function "public: __cdecl <lambda_955a4537b24ed2886ef2fe20e6a31475>::operator()(class std::unique_ptr<class osgeo::proj::SQLiteStatement,struct std::default_delete<class osgeo::proj::SQLiteStatement> > &)const " (??R<lambda_955a4537b24ed2886ef2fe20e6a31475>@@QEBA@AEAV?$unique_ptr@VSQLiteStatement@proj@osgeo@@U?$default_delete@VSQLiteStatement@proj@osgeo@@@std@@@std@@@Z)  proj.lib(factory.obj) : error LNK2001: unresolved external symbol sqlite3_errmsg
  proj.lib(networkfilemanager.obj) : error LNK2019: unresolved external symbol sqlite3_prepare_v2 referenced in function "public: __cdecl <lambda_955a4537b24ed2886ef2fe20e6a31475>::operator()(class std::unique_ptr<class osgeo::proj::SQLiteStatement,struct std::default_delete<class osgeo::proj::SQLiteStatement> > &)const " (??R<lambda_955a4537b24ed2886ef2fe20e6a31475>@@QEBA@AEAV?$unique_ptr@VSQLiteStatement@proj@osgeo@@U?$default_delete@VSQLiteStatement@proj@osgeo@@@std@@@std@@@Z)
  proj.lib(factory.obj) : error LNK2001: unresolved external symbol sqlite3_prepare_v2
  proj.lib(networkfilemanager.obj) : error LNK2019: unresolved external symbol sqlite3_bind_blob referenced in function "public: __cdecl <lambda_955a4537b24ed2886ef2fe20e6a31475>::operator()(class std::unique_ptr<class osgeo::proj::SQLiteStatement,struct std::default_delete<class osgeo::proj::SQLiteStatement> > &)const " (??R<lambda_955a4537b24ed2886ef2fe20e6a31475>@@QEBA@AEAV?$unique_ptr@VSQLiteStatement@proj@osgeo@@U?$default_delete@VSQLiteStatement@proj@osgeo@@@std@@@std@@@Z)
  proj.lib(networkfilemanager.obj) : error LNK2019: unresolved external symbol sqlite3_bind_int64 referenced in function "public: __cdecl <lambda_955a4537b24ed2886ef2fe20e6a31475>::operator()(class std::unique_ptr<class osgeo::proj::SQLiteStatement,struct std::default_delete<class osgeo::proj::SQLiteStatement> > &)const " (??R<lambda_955a4537b24ed2886ef2fe20e6a31475>@@QEBA@AEAV?$unique_ptr@VSQLiteStatement@proj@osgeo@@U?$default_delete@VSQLiteStatement@proj@osgeo@@@std@@@std@@@Z)
  proj.lib(networkfilemanager.obj) : error LNK2019: unresolved external symbol sqlite3_bind_null referenced in function "public: void __cdecl osgeo::proj::NetworkFilePropertiesCache::insert(struct projCtx_t *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,struct osgeo::proj::FileProperties &)" (?insert@NetworkFilePropertiesCache@proj@osgeo@@QEAAXPEAUprojCtx_t@@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAUFileProperties@23@@Z)
  proj.lib(networkfilemanager.obj) : error LNK2019: unresolved external symbol sqlite3_bind_text referenced in function "public: void __cdecl osgeo::proj::SQLiteStatement::bindText(char const *)" (?bindText@SQLiteStatement@proj@osgeo@@QEAAXPEBD@Z)
  proj.lib(factory.obj) : error LNK2001: unresolved external symbol sqlite3_bind_text
  proj.lib(networkfilemanager.obj) : error LNK2019: unresolved external symbol sqlite3_step referenced in function "public: __cdecl <lambda_955a4537b24ed2886ef2fe20e6a31475>::operator()(class std::unique_ptr<class osgeo::proj::SQLiteStatement,struct std::default_delete<class osgeo::proj::SQLiteStatement> > &)const " (??R<lambda_955a4537b24ed2886ef2fe20e6a31475>@@QEBA@AEAV?$unique_ptr@VSQLiteStatement@proj@osgeo@@U?$default_delete@VSQLiteStatement@proj@osgeo@@@std@@@std@@@Z)
  proj.lib(factory.obj) : error LNK2001: unresolved external symbol sqlite3_step
  proj.lib(networkfilemanager.obj) : error LNK2019: unresolved external symbol sqlite3_column_blob referenced in function "public: class std::shared_ptr<class std::vector<unsigned char,class std::allocator<unsigned char> > > __cdecl osgeo::proj::NetworkChunkCache::get(struct projCtx_t *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned __int64)" (?get@NetworkChunkCache@proj@osgeo@@QEAA?AV?$shared_ptr@V?$vector@EV?$allocator@E@std@@@std@@@std@@PEAUprojCtx_t@@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@5@_K@Z)
  proj.lib(networkfilemanager.obj) : error LNK2019: unresolved external symbol sqlite3_column_int64 referenced in function "public: __cdecl <lambda_955a4537b24ed2886ef2fe20e6a31475>::operator()(class std::unique_ptr<class osgeo::proj::SQLiteStatement,struct std::default_delete<class osgeo::proj::SQLiteStatement> > &)const " (??R<lambda_955a4537b24ed2886ef2fe20e6a31475>@@QEBA@AEAV?$unique_ptr@VSQLiteStatement@proj@osgeo@@U?$default_delete@VSQLiteStatement@proj@osgeo@@@std@@@std@@@Z)
  proj.lib(networkfilemanager.obj) : error LNK2019: unresolved external symbol sqlite3_column_text referenced in function "public: void __cdecl osgeo::proj::NetworkFilePropertiesCache::insert(struct projCtx_t *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,struct osgeo::proj::FileProperties &)" (?insert@NetworkFilePropertiesCache@proj@osgeo@@QEAAXPEAUprojCtx_t@@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAUFileProperties@23@@Z)
  proj.lib(factory.obj) : error LNK2001: unresolved external symbol sqlite3_column_text
  proj.lib(networkfilemanager.obj) : error LNK2019: unresolved external symbol sqlite3_column_bytes referenced in function "public: class std::shared_ptr<class std::vector<unsigned char,class std::allocator<unsigned char> > > __cdecl osgeo::proj::NetworkChunkCache::get(struct projCtx_t *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned __int64)" (?get@NetworkChunkCache@proj@osgeo@@QEAA?AV?$shared_ptr@V?$vector@EV?$allocator@E@std@@@std@@@std@@PEAUprojCtx_t@@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@5@_K@Z)
  proj.lib(networkfilemanager.obj) : error LNK2019: unresolved external symbol sqlite3_finalize referenced in function "public: class std::unique_ptr<class osgeo::proj::SQLiteStatement,struct std::default_delete<class osgeo::proj::SQLiteStatement> > & __cdecl std::unique_ptr<class osgeo::proj::SQLiteStatement,struct std::default_delete<class osgeo::proj::SQLiteStatement> >::operator=<struct std::default_delete<class osgeo::proj::SQLiteStatement>,0>(class std::unique_ptr<class osgeo::proj::SQLiteStatement,struct std::default_delete<class osgeo::proj::SQLiteStatement> > &&)" (??$?4U?$default_delete@VSQLiteStatement@proj@osgeo@@@std@@$0A@@?$unique_ptr@VSQLiteStatement@proj@osgeo@@U?$default_delete@VSQLiteStatement@proj@osgeo@@@std@@@std@@QEAAAEAV01@$$QEAV01@@Z)
  proj.lib(factory.obj) : error LNK2001: unresolved external symbol sqlite3_finalize
  proj.lib(networkfilemanager.obj) : error LNK2019: unresolved external symbol sqlite3_reset referenced in function "private: bool __cdecl osgeo::proj::DiskChunkCache::checkConsistency(void)" (?checkConsistency@DiskChunkCache@proj@osgeo@@AEAA_NXZ)
  proj.lib(factory.obj) : error LNK2001: unresolved external symbol sqlite3_reset
  proj.lib(factory.obj) : error LNK2019: unresolved external symbol sqlite3_libversion referenced in function "public: void __cdecl osgeo::proj::io::DatabaseContext::Private::open(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,struct projCtx_t *)" (?open@Private@DatabaseContext@io@proj@osgeo@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEAUprojCtx_t@@@Z)
  proj.lib(factory.obj) : error LNK2019: unresolved external symbol sqlite3_libversion_number referenced in function "public: void __cdecl osgeo::proj::io::DatabaseContext::Private::open(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,struct projCtx_t *)" (?open@Private@DatabaseContext@io@proj@osgeo@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEAUprojCtx_t@@@Z)
  proj.lib(factory.obj) : error LNK2019: unresolved external symbol sqlite3_bind_double referenced in function "public: class std::list<class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > >,class std::allocator<class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > > > __cdecl osgeo::proj::io::DatabaseContext::Private::run(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::list<struct osgeo::proj::io::SQLValues,class std::allocator<struct osgeo::proj::io::SQLValues> > const &,bool)" (?run@Private@DatabaseContext@io@proj@osgeo@@QEAA?AV?$list@V?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@V?$allocator@V?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@@2@@std@@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@7@AEBV?$list@USQLValues@io@proj@osgeo@@V?$allocator@USQLValues@io@proj@osgeo@@@std@@@7@_N@Z)
  proj.lib(factory.obj) : error LNK2019: unresolved external symbol sqlite3_column_count referenced in function "public: class std::list<class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > >,class std::allocator<class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > > > __cdecl osgeo::proj::io::DatabaseContext::Private::run(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::list<struct osgeo::proj::io::SQLValues,class std::allocator<struct osgeo::proj::io::SQLValues> > const &,bool)" (?run@Private@DatabaseContext@io@proj@osgeo@@QEAA?AV?$list@V?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@V?$allocator@V?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@@2@@std@@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@7@AEBV?$list@USQLValues@io@proj@osgeo@@V?$allocator@USQLValues@io@proj@osgeo@@@std@@@7@_N@Z)
  proj.lib(factory.obj) : error LNK2019: unresolved external symbol sqlite3_column_double referenced in function "public: class std::list<class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > >,class std::allocator<class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > > > __cdecl osgeo::proj::io::DatabaseContext::Private::run(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::list<struct osgeo::proj::io::SQLValues,class std::allocator<struct osgeo::proj::io::SQLValues> > const &,bool)" (?run@Private@DatabaseContext@io@proj@osgeo@@QEAA?AV?$list@V?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@V?$allocator@V?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@@2@@std@@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@7@AEBV?$list@USQLValues@io@proj@osgeo@@V?$allocator@USQLValues@io@proj@osgeo@@@std@@@7@_N@Z)
  proj.lib(factory.obj) : error LNK2019: unresolved external symbol sqlite3_column_type referenced in function "public: class std::list<class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > >,class std::allocator<class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > > > __cdecl osgeo::proj::io::DatabaseContext::Private::run(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::list<struct osgeo::proj::io::SQLValues,class std::allocator<struct osgeo::proj::io::SQLValues> > const &,bool)" (?run@Private@DatabaseContext@io@proj@osgeo@@QEAA?AV?$list@V?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@V?$allocator@V?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@@2@@std@@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@7@AEBV?$list@USQLValues@io@proj@osgeo@@V?$allocator@USQLValues@io@proj@osgeo@@@std@@@7@_N@Z)
  proj.lib(factory.obj) : error LNK2019: unresolved external symbol sqlite3_create_function referenced in function "private: void __cdecl osgeo::proj::io::DatabaseContext::Private::registerFunctions(void)" (?registerFunctions@Private@DatabaseContext@io@proj@osgeo@@AEAAXXZ)
  proj.lib(factory.obj) : error LNK2019: unresolved external symbol sqlite3_value_double referenced in function "void __cdecl osgeo::proj::io::PROJ_SQLITE_intersects_bbox(struct sqlite3_context *,int,struct sqlite3_value * *)" (?PROJ_SQLITE_intersects_bbox@io@proj@osgeo@@YAXPEAUsqlite3_context@@HPEAPEAUsqlite3_value@@@Z)
  proj.lib(factory.obj) : error LNK2019: unresolved external symbol sqlite3_value_int64 referenced in function "void __cdecl osgeo::proj::io::PROJ_SQLITE_intersects_bbox(struct sqlite3_context *,int,struct sqlite3_value * *)" (?PROJ_SQLITE_intersects_bbox@io@proj@osgeo@@YAXPEAUsqlite3_context@@HPEAPEAUsqlite3_value@@@Z)
  proj.lib(factory.obj) : error LNK2019: unresolved external symbol sqlite3_value_type referenced in function "void __cdecl osgeo::proj::io::PROJ_SQLITE_intersects_bbox(struct sqlite3_context *,int,struct sqlite3_value * *)" (?PROJ_SQLITE_intersects_bbox@io@proj@osgeo@@YAXPEAUsqlite3_context@@HPEAPEAUsqlite3_value@@@Z)
  proj.lib(factory.obj) : error LNK2019: unresolved external symbol sqlite3_result_double referenced in function "void __cdecl osgeo::proj::io::PROJ_SQLITE_pseudo_area_from_swne(struct sqlite3_context *,int,struct sqlite3_value * *)" (?PROJ_SQLITE_pseudo_area_from_swne@io@proj@osgeo@@YAXPEAUsqlite3_context@@HPEAPEAUsqlite3_value@@@Z)
  proj.lib(factory.obj) : error LNK2019: unresolved external symbol sqlite3_result_int referenced in function "void __cdecl osgeo::proj::io::PROJ_SQLITE_intersects_bbox(struct sqlite3_context *,int,struct sqlite3_value * *)" (?PROJ_SQLITE_intersects_bbox@io@proj@osgeo@@YAXPEAUsqlite3_context@@HPEAPEAUsqlite3_value@@@Z)
  proj.lib(factory.obj) : error LNK2019: unresolved external symbol sqlite3_result_null referenced in function "void __cdecl osgeo::proj::io::PROJ_SQLITE_intersects_bbox(struct sqlite3_context *,int,struct sqlite3_value * *)" (?PROJ_SQLITE_intersects_bbox@io@proj@osgeo@@YAXPEAUsqlite3_context@@HPEAPEAUsqlite3_value@@@Z)
  proj.lib(sqlite3_utils.obj) : error LNK2019: unresolved external symbol sqlite3_initialize referenced in function "public: static class std::unique_ptr<class osgeo::proj::SQLite3VFS,struct std::default_delete<class osgeo::proj::SQLite3VFS> > __cdecl osgeo::proj::SQLite3VFS::create(bool,bool,bool)" (?create@SQLite3VFS@proj@osgeo@@SA?AV?$unique_ptr@VSQLite3VFS@proj@osgeo@@U?$default_delete@VSQLite3VFS@proj@osgeo@@@std@@@std@@_N00@Z)
  proj.lib(sqlite3_utils.obj) : error LNK2019: unresolved external symbol sqlite3_config referenced in function "public: static class std::unique_ptr<class osgeo::proj::SQLite3VFS,struct std::default_delete<class osgeo::proj::SQLite3VFS> > __cdecl osgeo::proj::SQLite3VFS::create(bool,bool,bool)" (?create@SQLite3VFS@proj@osgeo@@SA?AV?$unique_ptr@VSQLite3VFS@proj@osgeo@@U?$default_delete@VSQLite3VFS@proj@osgeo@@@std@@@std@@_N00@Z)
  proj.lib(sqlite3_utils.obj) : error LNK2019: unresolved external symbol sqlite3_vfs_find referenced in function "int __cdecl osgeo::proj::VFSClose(struct sqlite3_file *)" (?VFSClose@proj@osgeo@@YAHPEAUsqlite3_file@@@Z)
  proj.lib(sqlite3_utils.obj) : error LNK2019: unresolved external symbol sqlite3_vfs_register referenced in function "public: static class std::unique_ptr<class osgeo::proj::SQLite3VFS,struct std::default_delete<class osgeo::proj::SQLite3VFS> > __cdecl osgeo::proj::SQLite3VFS::create(bool,bool,bool)" (?create@SQLite3VFS@proj@osgeo@@SA?AV?$unique_ptr@VSQLite3VFS@proj@osgeo@@U?$default_delete@VSQLite3VFS@proj@osgeo@@@std@@@std@@_N00@Z)
  proj.lib(sqlite3_utils.obj) : error LNK2019: unresolved external symbol sqlite3_vfs_unregister referenced in function "public: __cdecl std::unique_ptr<class osgeo::proj::SQLite3VFS,struct std::default_delete<class osgeo::proj::SQLite3VFS> >::~unique_ptr<class osgeo::proj::SQLite3VFS,struct std::default_delete<class osgeo::proj::SQLite3VFS> >(void)" (??1?$unique_ptr@VSQLite3VFS@proj@osgeo@@U?$default_delete@VSQLite3VFS@proj@osgeo@@@std@@@std@@QEAA@XZ)
  proj.lib(proj_json_streaming_writer.obj) : error LNK2019: unresolved external symbol sqlite3_vsnprintf referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl CPLSPrintf(char const *,...)" (?CPLSPrintf@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEBDZZ)
  C:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\lib\sqlite3.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
  C:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\lib\zlibstatic.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
  C:\carla\Unreal\CarlaUE4\Plugins\CarlaTools\Binaries\Win64\UE4Editor-CarlaTools.dll : fatal error LNK1120: 45 unresolved externals
make: *** [CarlaUE4Editor] Error 6

evoevo07 avatar Mar 22 '24 11:03 evoevo07

@evoevo07 I changed .\Util\BuildTools\BuildOSM2ODR.bat line 112 from

cmake -G %GENERATOR% %PLATFORM%^

to

cmake -G %GENERATOR% -A x64^

Than run make PaythonAPI and make launch again. before this clean make command or delete build folder.

siddharthjain38 avatar Mar 22 '24 19:03 siddharthjain38

I believe I have identified my problem. The PythonAPI build failed during the make process because the dist folder is missing. Now, I have to resolve this issue.

evoevo07 avatar Mar 24 '24 13:03 evoevo07

Not really a solution, but I switched to linux and now everything works fine.

evoevo07 avatar Mar 27 '24 12:03 evoevo07

It seems like sqlite is not being downloaded. Could you remove from Build folder sqlite-* folders and make launch again

Blyron avatar Apr 29 '24 14:04 Blyron

Are you happy with the conclusion and happy to close this issue?

Blyron avatar May 03 '24 07:05 Blyron

@Blyron Thanks for supporting, but I can't test it, because I switched to Linux. I think I will close the issue.

evoevo07 avatar May 03 '24 08:05 evoevo07