AndreRenaud/PDFGen

MINGW COMPILATION

moseswis opened this issue · 7 comments

how do i get it to run on windows codeblocks...
undefined reference to `pdf_create'

It looks like you haven't included pdfgen.c into the project, or it isn't getting compiled in. Are there any more details you can provide?

It looks like your compiler doesn't support anonymous structs
Can you tell me what compiler you're using? It's possible you can pass it some compile flag to enable this feature.

According to some quick Googling, adding -fms-extensions to your CFLAGS might be the answer.
https://youtrack.jetbrains.com/issue/CPP-21841

I'm going to close this issue - it looks like you got it going.