Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile errors #53

Open
mbpictures opened this issue May 4, 2020 · 3 comments
Open

Compile errors #53

mbpictures opened this issue May 4, 2020 · 3 comments

Comments

@mbpictures
Copy link

Hi!

When I try to compile at UE4.24 I get the following errors:

A:\Unreal Engine\VRZeppelin\Plugins\CashGen\Source\CashGen/Public/CGObjectPool.h(25): error C2061: syntax error: identifier 'function'
A:\Unreal Engine\VRZeppelin\Plugins\CashGen\Source\CashGen/Public/CGObjectPool.h(89): note: see reference to class template instantiation 'TCGObjectPool<T>' being compiled
A:\Unreal Engine\VRZeppelin\Plugins\CashGen\Source\CashGen/Public/CGObjectPool.h(66): error C2061: syntax error: identifier 'function'
A:\Unreal Engine\VRZeppelin\Plugins\CashGen\Source\CashGen/Public/CGObjectPool.h(81): note: see reference to class template instantiation 'TCGObjectPool<T>::Impl' being compiled
A:\Unreal Engine\VRZeppelin\Plugins\CashGen\Source\CashGen/Public/CGObjectPool.h(25): error C2039: 'function': is not a member of 'std'
A:\Programme\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\INCLUDE\condition_variable(27): note: see declaration of 'std'
A:\Unreal Engine\VRZeppelin\Plugins\CashGen\Source\CashGen/Public/CGObjectPool.h(130): note: see reference to class template instantiation 'TCGObjectPool<T>' being compiled
        with
        [
            T=FCGMeshData
        ]
A:\Unreal Engine\VRZeppelin\Plugins\CashGen\Source\CashGen/Public/Struct/CGJob.h(27): note: see reference to class template instantiation 'TCGBorrowedObject<FCGMeshData>' being compiled

Error executing A:\Programme\EpicGames\UE_4.24\Engine\Build\Windows\cl-filter\cl-filter.exe (tool returned code: 2)
Module.CashGen.cpp (0:02.36 at +0:28)
A:\Unreal Engine\VRZeppelin\Plugins\CashGen\Source\CashGen\Public\CGObjectPool.h(25): error C2061: syntax error: identifier 'function'
A:\Unreal Engine\VRZeppelin\Plugins\CashGen\Source\CashGen\Public\CGObjectPool.h(89): note: see reference to class template instantiation 'TCGObjectPool<T>' being compiled
A:\Unreal Engine\VRZeppelin\Plugins\CashGen\Source\CashGen\Public\CGObjectPool.h(66): error C2061: syntax error: identifier 'function'
A:\Unreal Engine\VRZeppelin\Plugins\CashGen\Source\CashGen\Public\CGObjectPool.h(81): note: see reference to class template instantiation 'TCGObjectPool<T>::Impl' being compiled
A:\Unreal Engine\VRZeppelin\Plugins\CashGen\Source\CashGen\Public\CGObjectPool.h(25): error C2039: 'function': is not a member of 'std'
A:\Programme\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\INCLUDE\condition_variable(27): note: see declaration of 'std'
A:\Unreal Engine\VRZeppelin\Plugins\CashGen\Source\CashGen\Public\CGObjectPool.h(130): note: see reference to class template instantiation 'TCGObjectPool<T>' being compiled
        with
        [
            T=FCGMeshData
        ]
A:\Unreal Engine\VRZeppelin\Plugins\CashGen\Source\CashGen/Public/Struct/CGJob.h(27): note: see reference to class template instantiation 'TCGBorrowedObject<FCGMeshData>' being compiled
A:/Unreal Engine/VRZeppelin/Plugins/CashGen/Source/CashGen/Private/CGTerrainGeneratorWorker.cpp(42): error C2660: 'TCGObjectPool<T>::Borrow': function does not take 1 arguments
        with
        [
            T=FCGMeshData
        ]
A:\Unreal Engine\VRZeppelin\Plugins\CashGen\Source\CashGen\Public\CGObjectPool.h(25): note: see declaration of 'TCGObjectPool<T>::Borrow'
        with
        [
            T=FCGMeshData
        ]

Do u have an idea how to fix it?

@midgen
Copy link
Owner

midgen commented May 5, 2020

What platform are you building for?

@mbpictures
Copy link
Author

mbpictures commented May 5, 2020

Windows Editor. It appeared right after copying your plugin in the Plugins folder and restarting the engine. I tried to compile with Visual Studio and got this error

@midgen
Copy link
Owner

midgen commented May 8, 2020

Not sure why I wasn't seeing the issue, should be fixed in this commit :

64a0b04

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

No branches or pull requests

2 participants