Author Topic: Cant find directory xlsxwriter.h when compiling.  (Read 2088 times)

Offline slavek123

  • Single posting newcomer
  • *
  • Posts: 2
Cant find directory xlsxwriter.h when compiling.
« 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?

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1553
Re: Cant find directory xlsxwriter.h when compiling.
« Reply #1 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

Offline slavek123

  • Single posting newcomer
  • *
  • Posts: 2
Re: Cant find directory xlsxwriter.h when compiling.
« Reply #2 on: December 26, 2022, 10:20:58 pm »
Thanks Miguel!