CoatiSoftware / Sourcetrail

Sourcetrail - free and open-source interactive source explorer
https://www.sourcetrail.com/
GNU General Public License v3.0
14.94k stars 1.41k forks source link

Start failure on W10 20H2 AMD x64 #1208

Open Radiomix2000 opened 3 years ago

Radiomix2000 commented 3 years ago

D:\WP\Programming\Sourcetrail_2021_1_30_64bit_Portable\Sourcetrail_2021_1_30_64bit>D:\WP\Programming\Sourcetrail_2021_1_30_64bit_Portable\Sourcetrail_2021_1_30_64bit\Sourcetrail.exe Warning: QT_DEVICE_PIXEL_RATIO is deprecated. Instead use: QT_AUTO_SCREEN_SCALE_FACTOR to enable platform plugin controlled per-screen factors. QT_SCREEN_SCALE_FACTORS to set per-screen factors. QT_SCALE_FACTOR to set the application global scale factor. 11:58:41 | LogManager.cpp:40 LogManager::setLoggingEnabled() | INFO: Enabled logging for Sourcetrail 64 bit, version 2021.1.30 11:58:41 | SharedMemoryGarbageCollector.cpp:59 SharedMemoryGarbageCollector::run() | INFO: start shared memory garbage collection 11:58:46 | INFO: send MessageStatus Starting Sourcetrail 64 bit, version 2021.1.30 11:58:46 | ApplicationSettingsPrefiller.cpp:31 ApplicationSettingsPrefiller::prefillJavaRuntimePath() | INFO: Prefilling Java path 11:58:46 | StatusBarController.cpp:87 StatusBarController::setStatus() | INFO: STATUS Starting Sourcetrail 64 bit, version 2021.1.30 11:58:46 | ApplicationSettingsPrefiller.cpp:84 ApplicationSettingsPrefiller::prefillMavenExecutablePath() | INFO: Prefilling Maven path 11:58:46 | INFO: send MessageStatus Load settings: D:/WP/Programming/Sourcetrail_2021_1_30_64bit_Portable/Sourcetrail_2021_1_30_64bit/user/ApplicationSettings.xml 11:58:46 | ApplicationSettingsPrefiller.cpp:57 ApplicationSettingsPrefiller::prefillJreSystemLibraryPaths() | INFO: Prefilling JRE system library path 11:58:46 | ApplicationSettingsPrefiller.cpp:110 ApplicationSettingsPrefiller::prefillCxxHeaderPaths() | INFO: Prefilling header search paths 11:58:46 | CxxVs10To14HeaderPathDetector.cpp:101 CxxVs10To14HeaderPathDetector::getVsInstallPathUsingRegistry() | INFO: Found working registry key for VS install path: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0 11:58:46 | ApplicationSettingsPrefiller.cpp:134 ApplicationSettingsPrefiller::prefillCxxFrameworkPaths() | INFO: Prefilling framework search paths 11:58:46 | ERROR: Process error: The system cannot find the file specified.

Any suggestions to help to solve this error? Visual Studio is installed, if this is necessary

GBali89 commented 3 years ago

Hello,

I have seen the same problem on a colleague's PC. We solved it by manually editing the settings file, which in your case would be:

D:/WP/Programming/Sourcetrail_2021_1_30_64bit_Portable/Sourcetrail_2021_1_30_64bit/user/ApplicationSettings.xml

We had to add the paths to the VC include directories manually. The relevant part looks like this:

<?xml version="1.0" encoding="utf-8" ?>
<config>
        ...
    <indexing>
        <cxx>
            <has_prefilled_framework_search_paths>1</has_prefilled_framework_search_paths>
            <has_prefilled_header_search_paths>1</has_prefilled_header_search_paths>
            <header_search_paths>
                <header_search_path>C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.16.27023/include</header_search_path>
                <header_search_path>C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.16.27023/atlmfc/include</header_search_path>
                <header_search_path>C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Auxiliary/VS/include</header_search_path>
                <header_search_path>C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Auxiliary/VS/UnitTest/include</header_search_path>
            </header_search_paths>
        </cxx>
        ...
    </indexing>
    ...
</config>

I hope this helps.

Radiomix2000 commented 3 years ago

Thank you! This helps!