Skip to content

I am not able to run ./build.sh for ReJITEnterLeaveHooks on my OSX #16

@nikolodien

Description

@nikolodien

I get the following error when I try to run build.sh on my mac for ReJITEnterLeaveHooks.

 CORECLR_PATH : <path to the artifacts folder in the runtime repo>
  BuildOS      : OSX
  BuildArch    : x64
  BuildType    : Release
  Building CorProfiler.so ... In file included from ClassFactory.cpp:4:
./ClassFactory.h:6:10: fatal error: 'unknwn.h' file not found
#include "unknwn.h"
         ^~~~~~~~~~
1 error generated.
In file included from CorProfiler.cpp:4:
./CorProfiler.h:7:10: fatal error: 'cor.h' file not found
#include "cor.h"
         ^~~~~~~
1 error generated.
In file included from dllmain.cpp:4:
./ClassFactory.h:6:10: fatal error: 'unknwn.h' file not found
#include "unknwn.h"
         ^~~~~~~~~~
1 error generated.
ILRewriter.cpp:4:10: fatal error: 'cor.h' file not found
#include "cor.h"
         ^~~~~~~
1 error generated.

Before doing this, I followed the steps on https://github.com/dotnet/runtime/blob/master/docs/workflow/building/coreclr/README.md to build coreCLR

After that I set the requisite environment variables to point to this repo which contains the build

Trying to find what am I missing here,

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