Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Start failure on W10 20H2 AMD x64 #1208

Open
Radiomix2000 opened this issue Aug 14, 2021 · 2 comments
Open

Start failure on W10 20H2 AMD x64 #1208

Radiomix2000 opened this issue Aug 14, 2021 · 2 comments

Comments

@Radiomix2000
Copy link

Radiomix2000 commented Aug 14, 2021

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
Copy link

GBali89 commented Sep 16, 2021

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
Copy link
Author

Thank you! This helps!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants