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

Windows Compilation fails due to invalid identifier PCFG_CALL_TARGET_INFO #6968

Open
ravideep1651 opened this issue Jan 24, 2024 · 1 comment

Comments

@ravideep1651
Copy link

Followed Below Steps:

git clone https://github.com/chakra-core/ChakraCore.git
cd ChakraCore
msbuild /m /p:Platform=x86 /p:Configuration=Release .\Build\Chakra.Core.sln

Getting below errors -

  "C:\Test\ChakraCore\Build\Chakra.Core.sln" (default target) (1) ->
   "C:\Test\ChakraCore\Build\..\bin\GCStress\GCStress.vcxproj.metaproj" (default target) (22) ->
   "C:\Test\ChakraCore\bin\GCStress\GCStress.vcxproj" (default target) (28) ->
   "C:\Test\ChakraCore\lib\Runtime\PlatformAgnostic\Chakra.Runtime.PlatformAgnostic.vcxproj" (default target) (40) ->
     c:\test\chakracore\lib\common\Core/GlobalSecurityPolicy.h(17): error C2061: syntax error: identifier 'PCFG_CALL_TARGET_INFO' [C:\Test\ChakraCore
   \lib\Runtime\PlatformAgnostic\Chakra.Runtime.PlatformAgnostic.vcxproj]


   "C:\Test\ChakraCore\Build\Chakra.Core.sln" (default target) (1) ->
   "C:\Test\ChakraCore\Build\..\lib\Jsrt\Chakra.Jsrt.vcxproj.metaproj" (default target) (13) ->
   "C:\Test\ChakraCore\lib\Jsrt\Chakra.Jsrt.vcxproj" (default target) (41) ->
     c:\test\chakracore\lib\common\Core/GlobalSecurityPolicy.h(17): error C2061: syntax error: identifier 'PCFG_CALL_TARGET_INFO' [C:\Test\ChakraCore
   \lib\Jsrt\Chakra.Jsrt.vcxproj]


   "C:\Test\ChakraCore\Build\Chakra.Core.sln" (default target) (1) ->
   "C:\Test\ChakraCore\Build\..\lib\Runtime\Math\Chakra.Runtime.Math.vcxproj.metaproj" (default target) (15) ->
   "C:\Test\ChakraCore\lib\Runtime\Math\Chakra.Runtime.Math.vcxproj" (default target) (43) ->
     c:\test\chakracore\lib\common\Core/GlobalSecurityPolicy.h(17): error C2061: syntax error: identifier 'PCFG_CALL_TARGET_INFO' [C:\Test\ChakraCore
   \lib\Runtime\Math\Chakra.Runtime.Math.vcxproj]


   "C:\Test\ChakraCore\Build\Chakra.Core.sln" (default target) (1) ->
   "C:\Test\ChakraCore\Build\..\lib\Runtime\Base\Chakra.Runtime.Base.vcxproj.metaproj" (default target) (17) ->
   "C:\Test\ChakraCore\lib\Runtime\Base\Chakra.Runtime.Base.vcxproj" (default target) (44) ->
     c:\test\chakracore\lib\common\Core/GlobalSecurityPolicy.h(17): error C2061: syntax error: identifier 'PCFG_CALL_TARGET_INFO' [C:\Test\ChakraCore
   \lib\Runtime\Base\Chakra.Runtime.Base.vcxproj]


   "C:\Test\ChakraCore\Build\Chakra.Core.sln" (default target) (1) ->
   "C:\Test\ChakraCore\Build\..\lib\Jsrt\Core\Chakra.Jsrt.Core.vcxproj.metaproj" (default target) (14) ->
   "C:\Test\ChakraCore\lib\Jsrt\Core\Chakra.Jsrt.Core.vcxproj" (default target) (42) ->
     c:\test\chakracore\lib\common\Core/GlobalSecurityPolicy.h(17): error C2061: syntax error: identifier 'PCFG_CALL_TARGET_INFO' [C:\Test\ChakraCore
   \lib\Jsrt\Core\Chakra.Jsrt.Core.vcxproj]
     c:\test\chakracore\lib\common\Core/GlobalSecurityPolicy.h(17): error C2061: syntax error: identifier 'PCFG_CALL_TARGET_INFO' [C:\Test\ChakraCore
   \lib\Jsrt\Core\Chakra.Jsrt.Core.vcxproj]

0 Warning(s)
19 Error(s)
@ravideep1651 ravideep1651 changed the title Windows Compilation fails due to invalid identifier Windows Compilation fails due to invalid identifier PCFG_CALL_TARGET_INFO Jan 24, 2024
@rhuanjl
Copy link
Collaborator

rhuanjl commented Apr 18, 2024

What version of Windows are you trying to build on?

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