#include <tcl.h>

For developers writing C++, Fortran, Java, code who have questions or comments to make.

Moderators: silvia, selimgunay, Moderators

Post Reply
mohammmad
Posts: 45
Joined: Tue Aug 21, 2018 4:10 am
Contact:

#include <tcl.h>

Post by mohammmad » Tue Oct 09, 2018 5:59 am

Hello,
VS can not find #include <tcl.h>.
can you help me?

mohammmad
Posts: 45
Joined: Tue Aug 21, 2018 4:10 am
Contact:

Re: #include <tcl.h>

Post by mohammmad » Tue Oct 09, 2018 8:16 am

I add directory of tcl and now ti recognize #include <tcl.h>.
But can not recognize :
Tcl_FSEvalFileEx
can any one help?

chatug
Posts: 2
Joined: Fri Oct 12, 2018 12:41 am

Re: #include <tcl.h>

Post by chatug » Fri Oct 12, 2018 12:51 am

Once you have a Tcl dev package installed, you'll then possibly come across the code expecting tcl.h to be in /usr/include/, but in order to facilitate multiple versions of Tcl being installed, Ubuntu places tcl.h in /usr/include/tcl/ - note the extra directory level.

Replacing: #include <tcl.h> with #include <tcl/tcl.h> in the source code you're trying to build should get around this.
Last edited by chatug on Sun Oct 14, 2018 7:06 pm, edited 1 time in total.
Chan Gorge
topjobs
courses

mohammmad
Posts: 45
Joined: Tue Aug 21, 2018 4:10 am
Contact:

Re: #include <tcl.h>

Post by mohammmad » Sat Oct 13, 2018 8:43 pm

many thanks.

travelenterplus
Posts: 1
Joined: Wed Oct 17, 2018 11:37 pm
Contact:

Re: #include <tcl.h>

Post by travelenterplus » Wed Oct 17, 2018 11:41 pm

Thanks for discussion

Post Reply