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

fatal error: 'ZydisExportConfig.h' file not found #31

Closed
udishamir opened this issue Feb 6, 2018 · 6 comments
Closed

fatal error: 'ZydisExportConfig.h' file not found #31

udishamir opened this issue Feb 6, 2018 · 6 comments
Labels
C-bug Category: This is a bug (or a fix for a bug, when applied to PRs)

Comments

@udishamir
Copy link

udishamir commented Feb 6, 2018

Hi,

The build went well on OSX High Sierra, when trying to compile one of the examples iv'e noticed that
the install creates additional "include" under:

"/usr/local/include/".

When copying "Zydis" headers under "/usr/local/include" manually it fails with ZydisExportConfig.h

fatal error: 'ZydisExportConfig.h' file not found, did you ever encountered such an issue ?

That indeed fixed the problem, the next issue is:

When trying to compile one of your example, please see bellow:

Cheers,

/usr/local/include/Zydis/Defines.h:35:10: fatal error: 'ZydisExportConfig.h' file not found
#include <ZydisExportConfig.h>
^~~~~~~~~~~~~~~~~~~~~
1 error generated.

@athre0z athre0z added the C-bug Category: This is a bug (or a fix for a bug, when applied to PRs) label Feb 6, 2018
athre0z added a commit that referenced this issue Feb 6, 2018
@athre0z
Copy link
Member

athre0z commented Feb 6, 2018

Hi, thanks for reporting! Please check my commit on develop, it should resolve the issue.

@athre0z
Copy link
Member

athre0z commented Feb 6, 2018

Quoting from commit comment:

That indeed fixed the problem, the next issue is:

When trying to compile one of your example, please see bellow:

Cheers,

/usr/local/include/Zydis/Defines.h:35:10: fatal error: 'ZydisExportConfig.h' file not found
#include <ZydisExportConfig.h>
^~~~~~~~~~~~~~~~~~~~~
1 error generated.

How are you trying to build the examples? They are supposed to be built through the CMakeList, when ZYDIS_BUILD_EXAMPLES is enabled, which is the default.

@athre0z
Copy link
Member

athre0z commented Feb 6, 2018

Nevertheless, it is an issue that this particular include file doesn't get installed by the install rules.

@udishamir
Copy link
Author

udishamir commented Feb 6, 2018

Great, so when copying 'ZydisExportConfig.h' to all u need is to change /usr/local/include/Zydis/Defines.h line 35 and replace to quotes (as calling the header file locally not absolute) and it get solved.

Thanks

@athre0z
Copy link
Member

athre0z commented Feb 6, 2018

Yeah, but people shouldn't have to go through manually changing anything. I pushed another commit that now also installs this previously missing file.

@udishamir
Copy link
Author

Thanks !

@athre0z athre0z closed this as completed Feb 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug (or a fix for a bug, when applied to PRs)
Projects
None yet
Development

No branches or pull requests

2 participants