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

Error converting XMLSec library #36

Open
HealthOneNZ opened this issue Feb 22, 2024 · 4 comments
Open

Error converting XMLSec library #36

HealthOneNZ opened this issue Feb 22, 2024 · 4 comments

Comments

@HealthOneNZ
Copy link

I'm using your excellent tool to convert the XMLSec library for Win64 use.

I have downloaded the source from https://www.zlatkovic.com/pub/libxml/64bit/zlib-1.2.8-win32-x86_64.7z, unpacked it and am using Chet to process the libxml2 directory.

I get an error

Parsing header files...
C:\Temp\xmlsec\libxml2\include\libxml2\libxml\c14n.h:20:10: fatal error: 'libxml/xmlversion.h' file not found
Parsed header files with 1 error(s)

It looks to be choking on the c14n.h file where line 20 has an include directive
#include <libxml/xmlversion.h>

I'm not sure why it has the path, as this IS the path of the file currently being processed. How can the path be ignored ?

@jarroddavis68
Copy link
Contributor

jarroddavis68 commented Feb 22, 2024

set path to the root of libxml include folder. For example:
c:\temp\libxml\include, so when a reference to <libxml/xmlversion.h> is made it can find it correctly.

@HealthOneNZ
Copy link
Author

Thanks, I added
C:\Temp\xmlsec\libxml2\include\libxml2\ which is the parent directory of the libxml directory

I know get an error for one of the C standard library files

Parsing header files...
C:\Temp\xmlsec\libxml2\include\libxml2\libxml\tree.h:15:10: fatal error: 'stdio.h' file not found
Parsed header files with 1 error(s)

Can I tell it to exclude these types of files

@HealthOneNZ
Copy link
Author

OK, I've just checked the "Ignore parse errors" option so it has skipped over this.
Fingers crossed I can get this to work :)

@jarroddavis68
Copy link
Contributor

Thanks, I added C:\Temp\xmlsec\libxml2\include\libxml2\ which is the parent directory of the libxml directory

I know get an error for one of the C standard library files

Parsing header files...
C:\Temp\xmlsec\libxml2\include\libxml2\libxml\tree.h:15:10: fatal error: 'stdio.h' file not found
Parsed header files with 1 error(s)

Can I tell it to exclude these types of files

This is most likely because you do not have a C compiler installed. I have VS2022, can be clang/gcc etc. It will skip all the standard headers like this. You can just have the vs build tools is enough.

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