Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: slavek123 on December 26, 2022, 10:14:25 am

Title: Cant find directory xlsxwriter.h when compiling.
Post by: slavek123 on December 26, 2022, 10:14:25 am
Hello,

I got a problem when i'm trying to compile my code. This is the error I get: fatal error: xlsxwriter.h: No such file or directory|
I installed the library on my windows with git, but it doesn't seems to work.

Can someone help me with this?
Title: Re: Cant find directory xlsxwriter.h when compiling.
Post by: Miguel Gimenez on December 26, 2022, 10:55:21 am
You must add the path to xlsxwriter.h to Menu -> Project -> Build options -> Search directories -> Compiler

Example on Windows:
Code
C:\Libraries\xlsxwriter-0.9.5\include
Title: Re: Cant find directory xlsxwriter.h when compiling.
Post by: slavek123 on December 26, 2022, 10:20:58 pm
Thanks Miguel!