Cannot Compile OpenSees

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

Moderators: silvia, selimgunay, Moderators

Post Reply
laskar
Posts: 23
Joined: Tue Jan 09, 2007 12:55 pm
Location: IIT Bombay
Contact:

Cannot Compile OpenSees

Post by laskar »

I tried to compile Opensees on my computer and got the following error messages:

fatal error C1083: Cannot open include file: "tcl.h": No such file or diectory.

I have installed tcl/tk in the C/Program Files/tcl.

Could anyone tell me where I might be going wrong?

Thanks
Laskar.
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

do a search for tcl.h and find out where it is.
laskar
Posts: 23
Joined: Tue Jan 09, 2007 12:55 pm
Location: IIT Bombay
Contact:

Post by laskar »

It's located in the following location:

C:\Program Files\Tcl\include..
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

is there a space between Program and Files?
laskar
Posts: 23
Joined: Tue Jan 09, 2007 12:55 pm
Location: IIT Bombay
Contact:

Post by laskar »

Yes, there is a space between Program and Files. Is this the cause of the error message??
I checked the Additonal Include Directories of Opensees and Openseestk projects.. there also I have a space between Program and Files.
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

there should be a space .. not sure what the problem is .. can you try building each of the projects seperatly (right click on a project & select build) starting at actor and see which ones fail .. if they all start failing stop and report back.
laskar
Posts: 23
Joined: Tue Jan 09, 2007 12:55 pm
Location: IIT Bombay
Contact:

Post by laskar »

i tried to build all the projects separately.. the error message came for the following projects:

material
opensees
openseestk
quickmain

all the other projects were built successfully..
Arghadeep Laskar
Graduate Research Assistant
Department of Civil and Environmental Engg.
University of Houston.
lobogimp
Posts: 2
Joined: Tue Jul 10, 2007 9:49 am
Location: spain
Contact:

Hi

Post by lobogimp »

Look for in this path
C:\Tcl\include\td.h
laskar
Posts: 23
Joined: Tue Jan 09, 2007 12:55 pm
Location: IIT Bombay
Contact:

Post by laskar »

Yes the tcl.h file is located in the path
C:\Tcl\include\td.h

but when i try to build opensees it says it cannot find that file...
lobogimp
Posts: 2
Joined: Tue Jul 10, 2007 9:49 am
Location: spain
Contact:

Perdon for leiter reply

Post by lobogimp »

You need to up in your PAHT
click right botton in MyPC
click in preferences
avanced options
entorn variavles
double click in PATH
and in the end of the variable value
put ";" and them the path of the bin carpet
like this
;C:\tcl\bin
and acept
acept
acept
thats all foxs
GOOD LOOK
and perdon by my English I hop you stand my bat I'm Spanish
lish hit
Posts: 20
Joined: Thu Nov 11, 2004 8:00 pm
Location: HIT

Post by lish hit »

Your Tcl version may be a little high!

I also encountered the problem. Then,I used a low version Tcl and the compile is success.

May be helpful to you!
lish hit
Harbin Institute of Technology
e-mail:leeshhit@163.com
Structural nonlinear dynamic analysis,
structural simulation
laskar
Posts: 23
Joined: Tue Jan 09, 2007 12:55 pm
Location: IIT Bombay
Contact:

Post by laskar »

hi lish,

could you please tell me which version of tcl you used to compile opensees ver 1.7.4.

thanks..
Arghadeep Laskar
Graduate Research Assistant
Department of Civil and Environmental Engg.
University of Houston.
laskar
Posts: 23
Joined: Tue Jan 09, 2007 12:55 pm
Location: IIT Bombay
Contact:

Post by laskar »

finally i could fix my problem.. i copied the subdirectory include from C:/Program Files/Tcl/include and pasted it at another location in my C drive. Then I added this include directory in the list of "Additonal Include Directories" for all the projects in Opensees. Doing so, I could compile the codes successully.

Thanks to Frank and others for providing me with their suggestions that helped me get closer to fixing the problem.
Post Reply