Touching "Win32\Release\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate".ĭone Building Project "C:\Users\bellenot\rootdev\blah\build\ZERO_CHECK.vcxproj" (default targets). Lah\build\ZERO_CHECK.vcxproj" (2) on node 1 (default targets).Ĭreating directory "Win32\Release\ZERO_CHECK\".Ĭreating directory "C:\Users\bellenot\rootdev\blah\build\Release\".Ĭreating directory "Win32\Release\ZERO_CHECK\ZERO_CHECK.tlog\".Ĭreating "Win32\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.ĭeleting file "Win32\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild". Project "C:\Users\bellenot\rootdev\blah\build\ALL_BUILD.vcxproj" (1) is building "C:\Users\bellenot\rootdev\b Project "C:\Users\bellenot\rootdev\blah\build\ALL_BUILD.vcxproj" on node 1 (default targets). Build files have been written to: C:/Users/bellenot/rootdev/blah/buildĬ:\Users\bellenot\rootdev\blah\build>cmake -build. Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/4/bin/Host圆4/x86/cl.exe - works Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/4/bin/Host圆4/x86/cl.exe Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/4/bin/Host圆4/x86/cl.exe - works Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/4/bin/Host圆4/x86/cl.exe The CXX compiler identification is MSVC 9.0 The C compiler identification is MSVC 9.0 Selecting Windows SDK version 2.0 to target Windows 3. OK, so I just tested it, and it works: C:\Users\bellenot\rootdev\blah\build>cmake -G"Visual Studio 16 2019" -A Win32 -Thost=圆4 -DCMAKE_VERBOSE_MAKEFILE=ON. Please read tips for efficient and successful posting and posting codeĬompiler: Microsoft ® C/C Optimizing Compiler Version 5 for x86 ![]() ![]() Please let me know if you know how to fix the problem or where to look. I’ve spent a couple of hours trying to find an example that I can get to work, but so far have come up empty. Std::cout << "Hello World!" << std::endl Target_link_libraries(ROOT_HelloWorld PUBLIC)Īnd my ROOT_HellowWorld.cpp is just this: // A simple program to test root. List(APPEND CMAKE_PREFIX_PATH $ENV/include)Īdd_executable(ROOT_HelloWorld ROOT_HelloWorld.cpp) My CMakeList.txt is just this: cmake_minimum_required(VERSION 3.10) ![]() ROOT_HelloWorld.obj : error LNK2019: unresolved external symbol "public: _thiscall TVersionCheck::TVersionCheck(int)" referenced in function "void _cdecl ROOT::Internal::`dynamic initializer for 'gVersionCheck''(void)" Ĭ:\root\vs\tutorials\Sandbox\ROOT_1\Bin\Debug\ROOT_HelloWorld.exe : fatal error LNK1120: 1 unresolved externals NET FrameworkĬopyright (C) Microsoft Corporation. ![]() Microsoft (R) Build Engine version 16.4.0 e901037fe for. This is the error: C:\root\vs\tutorials\Sandbox\ROOT_1\Bin>cmake -build. Now, I want to reference ROOT libraries in my custom application. Use cmake to generate a project and build root from the command line.Install pre-reqs, including Git, Python 3 (32-bit), CMake.It’s been a challenge and there are a lot of pieces that I’m not yet familiar with but I’ve so far managed to: I’ve been trying for a few days to get ROOT working on a Windows 10 machine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |