The Desktop Client from master branch build error : "internal error"
AnsweredHi team,
@Andrey Terentyev
I need your assistance to build open source project https://github.com/networkoptix/nx_open .
after following all the steps as mentioned here, the only difference is i am building on windows 10 pro.
below is output of cmake commad :
C:\Users\…\…\NetworkOptix\nx_custom_build>cmake ..\nx_custom_build

After cmake command i run below command to build :
C:\Users\…\…\NetworkOptix\nx_custom_build>cmake --build .
Build Errors:
1. Internal compiler error :
\nx_open\libs\nx_fusion\src\nx/fusion/fusion/fusion_adaptors.h(27,1): fatal error C1001: Internal compiler error.
compiler internal memory reached.

------------------------
bwlow are my prerequirisites
-
Hello,
I have just successfully finished the build from the sources from scratch.
- Did you follow the build section of readme.md literally as advised there?
It states that build.bat should be used as an example. It contains all the necessary commands in the necessary order for both code generation and build.
What happens if you just launch the script from the source directory that is freshly downloaded from the github and does not have anything cached and left over from the previous attempts? - If you see the same internal compiler error, try the following actions(one after another):
- Update the Visual Studio 2022 with compiler and related devtools to the latest stable version
- Reboot and try again
- Track the RAM in use - if you see it spiking to the top, try to build the client on the machine with higher RAM capacity. From my personal experience it is better to have 32+ GB available.
If the build.bat scripts finishes successfully - try to replicate the same commands and figure out what's different was in your scenario.
- Did you follow the build section of readme.md literally as advised there?
-
Please disregard the above statement to have the latest version of the compiler. As it might be the root cause for some internal compiler errors.
After talking to our build engineers we figured out that to build the software you need to have the compiler version 19.38.33135 or older.
In order to accommodate that you could use a local solution of installing the MSVC toolset v143 and C++ v14.38 for v143 build tools installed as a separate components:
So the updated recommendations are:
- Use the VSC 2022 with the compiler version 19.38.33135 or older
- Reboot and try again
- Track the RAM usage
Please sign in to leave a comment.
Comments
3 comments