Skip to content

Windows Compilation fails due to invalid identifier PCFG_CALL_TARGET_INFO #6968

Open

Description

@ravideep1651

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)

Activity

  1. changed the title [-]Windows Compilation fails due to invalid identifier [/-] on Jan 24, 2024
  2. rhuanjl commented on Apr 18, 2024

    @rhuanjl
    Collaborator

    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions