SwiftSearch automatically loads the NTFS indices on startup. This leads to "input lag" especially on slow systems. The progress bar I'm requesting is already implemented, but it's only displayed after pressing F5 and immediately starting a search.
P.S.
I tried doing it myself. I had no programming experience aside from writing a couple of if and while loops a couple of years ago, but I asked myself this:
How hard can it be?More-than-fifteen-hours-of-fiddling-and-trial-and-error hard...
I started with downloading SwiftSearch's source code from the master branch. Then, I installed Visual Studio Community 2019 along with the Desktop development with C++ workload.
Before doing any modifications to the source code, I thought I'd build it to see if Visual Studio is working correctly. As you might have expected, Visual Studio generated hundreds of errors and warnings. I tried Googling some of them, but I couldn't fix a single one.
Searching older discussions here led me to https://sourceforge.net/p/swiftsearch/discussion/General/thread/33d53e850b/?limit=25#beb1, but even after following every single step, SwiftSearch wouldn't get built. One of the compiler errors was: 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\string(540): error C2039: 'sprintf_s': is not a member of '`global namespace''
I tried installing more Visual Studio components like Windows Universal CRT SDK, C++ Clang tools for Windows (12.0.0 - x64/x86), and Windows Universal C Runtime but none of them helped. Then, for some reason, I thought about installing one more component: MSVC v140 - VS 2015 C++ build tools (v14.00) and to my surprise, that worked...
For any one who's struggling...
Download the latest SwiftSearch source code snapshot and extract it.
Open swiftsearch-code\Project.props with a text editor.
Install Visual Studio with the Desktop development with C++ workload along with MSVC v140 - VS 2015 C++ build tools (v14.00)
Open SwiftSearch.vcxproj with Visual Studio.
Click the Project menu then click Properties
Change the Platform Toolsetfield to Visual Studio 2015 - Windows XP (v140_xp) then click Apply. If the Platform Toolset field doesn't change, I have no idea what to do...
Click the Build menu then click Build SwiftSearch
Google the errors that occurred Done!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
SwiftSearch automatically loads the NTFS indices on startup. This leads to "input lag" especially on slow systems. The progress bar I'm requesting is already implemented, but it's only displayed after pressing F5 and immediately starting a search.
P.S.
I tried doing it myself. I had no programming experience aside from writing a couple of
if
andwhile
loops a couple of years ago, but I asked myself this:How hard can it be?
More-than-fifteen-hours-of-fiddling-and-trial-and-error hard...I started with downloading SwiftSearch's source code from the master branch. Then, I installed Visual Studio Community 2019 along with the
Desktop development with C++
workload.Before doing any modifications to the source code, I thought I'd build it to see if Visual Studio is working correctly. As you might have expected, Visual Studio generated hundreds of errors and warnings. I tried Googling some of them, but I couldn't fix a single one.
Searching older discussions here led me to https://sourceforge.net/p/swiftsearch/discussion/General/thread/33d53e850b/?limit=25#beb1, but even after following every single step, SwiftSearch wouldn't get built. One of the compiler errors was:
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\string(540): error C2039: 'sprintf_s': is not a member of '`global namespace''
I tried installing more Visual Studio components like
Windows Universal CRT SDK
,C++ Clang tools for Windows (12.0.0 - x64/x86)
, andWindows Universal C Runtime
but none of them helped. Then, for some reason, I thought about installing one more component:MSVC v140 - VS 2015 C++ build tools (v14.00)
and to my surprise, that worked...For any one who's struggling...
swiftsearch-code\Project.props
with a text editor.boost_1_72_0.7z
and copy the path toboost_1_72_0
For example,D:\Libraries\boost_1_72_0\
Project.props
like this (add the last backslash\
just in case):wtl-code-r467-trunk.zip
and copy the path towtl-code-r467-trunk\wtl\include\
For example,D:\Libraries\wtl-code-r467-trunk\wtl\include\
\
just in case):Project.props
.Desktop development with C++
workload along withMSVC v140 - VS 2015 C++ build tools (v14.00)
Project
menu then clickProperties
Platform Toolset
field toVisual Studio 2015 - Windows XP (v140_xp)
then click Apply. If thePlatform Toolset
field doesn't change, I have no idea what to do...Build
menu then clickBuild SwiftSearch
Google the errors that occurredDone!