Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?

Notes on Environment Variables for the jBASE compiler


Due to the recent deprecation of Windows SDK for Windows 7 compiler, jBASE has begun utilizing the C compiler for Visual Studio 2017.  

One of the issues that users have encountered is a warning that PATH is too long and has been truncated.

If you remove the "redundant" entries from your PATH, together with the INCLUDE entries, that will help cut down on the size.

Depending on how you installed Visual Studio and/or the BuildTools, the “BuildTools” string may be replaced by “Professional”, for instance.

The “C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps” setting may be added to the Path in the user variables, but does not always exist.

Please also be aware that the Environment Variable settings for the Visual Studio 2017 Build Tools are not 100% reliable, as the folders contain build version numbers which are liable to change over time as Microsoft issues updates.


Note:

As of this writing, 'MSVCRT.lib' currently resides in “C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.15.26726\lib\x64”.

That folder was previously “..\MSVC\14.14.26428\lib\x64”.



There have been similar changes for one of the “LIB” and “INCLUDE” folders.


Below are the PATH and INCLUDE Environment Variables that can be adjusted.

The "PATH" System Environment C variable that gets installed by the jBASE compiler installer has: 

C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.14.26428\bin\HostX64\x64; 
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\CommonExtensions\Microsoft\TestWindow; 
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\bin\Roslyn; 
C:\Program Files (x86)\Windows Kits\10\bin\10.0.17134.0\x64; 
C:\Program Files (x86)\Windows Kits\10\bin\x64;
C:\Program Files(x86)\Microsoft Visual Studio\2017\BuildTools\\MSBuild\15.0\bin; 
C:\Windows\Microsoft.NET\Framework64\v4.0.30319; C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\;
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools\ 



jBASE requires:

C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.14.26428\bin\HostX64\x64; 
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\bin; 
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\;
C:\Program Files (x86)\Windows Kits\10\bin\10.0.17134.0\x64



The "INCLUDE" that gets installed has: 

C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.14.26428\include; 
C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\ucrt; 
C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\shared; 
C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um; 
C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\winrt; 
C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\cppwinrt 


jBASE requires:

C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.14.26428\include; 
C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\ucrt; 
C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\shared 



The "LIB" should be: 

C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.14.26428\lib\x64; 
C:\Program Files (x86)\Windows Kits\10\lib\10.0.17134.0\ucrt\x64; 
C:\Program Files (x86)\Windows Kits\10\lib\10.0.17134.0\um\x64 



Was this article helpful?