I have a difficulty in compiling opensees source.
I tried to follow the instuction in OpenSees website, but I got error messages (fatal error c1083; cannot open include file: 'tcl.h').
This is the way I have done...
1) uninstall the old version of tcl
2) download 'activeTcl 8.4.6 - binary' which is linked by the web page that gives instructions on how to compile in opensees website
3) install it under C:\Program Files\tcl - however, there was no installation wizard that asks selecting for includsion of tcl header and library files.
4) As expected, I got error messages related 'tcl.h'.
Please, let me know if you have similar experience and solution.
Hyung-suk
OpenSees compling
Moderators: silvia, selimgunay, Moderators
-
- Posts: 2
- Joined: Fri Jun 18, 2004 8:00 am
- Location: Aristotle University of Thessaloniki, Greece
OpenSees Compiling
i've also faced similar problems in the past. here are a few steps that might help you:
1. install the latest version of tcl/tk including the libraries and the .h files.
2. say your compiler where to find them. from the error number i assume that you use the visual studio, so go to menu item project>settings. in the c++ tab, category preprocessor, for the configuration you care about (debug, release or both) and for each project add in the additional include directories field the path where the above files are included, e.g. "c:\Program Files\tcl\include".
3. perhaps you'll now meet difficulties with the header files of tcl, because they include some others with a rather awkward manner for the windows filesystem (using for example \ instead of /). the simplest (but not the most elegant) way to get rid of this mismatch is to replace these paths by the exact ones, using the "" marks.
i hope this was helpful.
fotis._
1. install the latest version of tcl/tk including the libraries and the .h files.
2. say your compiler where to find them. from the error number i assume that you use the visual studio, so go to menu item project>settings. in the c++ tab, category preprocessor, for the configuration you care about (debug, release or both) and for each project add in the additional include directories field the path where the above files are included, e.g. "c:\Program Files\tcl\include".
3. perhaps you'll now meet difficulties with the header files of tcl, because they include some others with a rather awkward manner for the windows filesystem (using for example \ instead of /). the simplest (but not the most elegant) way to get rid of this mismatch is to replace these paths by the exact ones, using the "" marks.
i hope this was helpful.
fotis._