Skip to content

Build Error has occurred. (Cmake, Visual Studio 2017) #397

@Eskeptor

Description

@Eskeptor

The project was built on my system using boost_1_80_0 and cmake version 3.25.0-rc3.
I clone Git and build with CMake, but there is an error.


Z:\JeonYC\99.Library\freeopcua-master\freeopcua-master\build>cmake --build Z:\JeonYC\99.Library\freeopcua-master\freeopcua-master\build
.NET Framework용 Microsoft (R) Build Engine 버전 15.9.21+g9802d43bc3
Copyright (C) Microsoft Corporation. All rights reserved.

Checking Build System
Building Custom Rule Z:/JeonYC/99.Library/freeopcua-master/freeopcua-master/CMakeLists.txt
rawsize_auto.cpp
Z:\JeonYC\99.Library\freeopcua-master\freeopcua-master\include\opc/ua/protocol/variant.h(87): fatal error C1001: 컴파일
러에서
내부 오류가 발생했습니다. [Z:\JeonYC\99.Library\freeopcua-master\freeopcua-master\build\opcuaprotocol.vcxproj]
(컴파일러 파일 'd:\agent_work\2\s\src\vctools\compiler\cxxfe\sl\p1\c\types.c', 줄 4563)
이 문제를 해결하려면 위 목록에 나오는 위치 부근의 프로그램을 단순화하거나 변경하십시오.
자세한 내용을 보려면 Visual C++ [도움말] 메뉴에서 [기술 지원] 명령을
선택하거나 기술 지원 도움말 파일을 참조하십시오.
Z:\JeonYC\99.Library\freeopcua-master\freeopcua-master\include\opc/ua/protocol/variant.h(93): note: 컴파일 중인 클래스 템플릿 인스
턴스화 'OpcUa::has_begin_end'에 대한 참조를 확인하세요.
serialize_auto.cpp


This Error is An internal error has occurred in the compiler.

An error occurs even if you build using Visual Studio instead of cmake.
(C1001: Internal Error has occurred)
(Z:\JeonYC\99.Library\freeopcua-master\freeopcua-master\include\opc/ua/protocol/variant.h(87): fatal error C1001: Internal Error has occurred)

How to fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions