CFD Online Logo CFD Online URL
Home > Forums > Tecplot

Linking Problem in TECIO

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   November 5, 2013, 12:03
Default Linking Problem in TECIO
New Member
Join Date: Mar 2011
Posts: 19
Rep Power: 6
nw_ds is on a distinguished road
I am having a linking problem with tecio

I am trying to build the examples given with tecio but I keep getting a linking problem .

1. create a project, add "ij_ordered.cpp" (which will call tecini112, tecdat112, teczne112 and tecend112) as a source file and made sure to include "...\tecplot360\include" directory and include TECIO.h and MASTER.h
2. Add the path to tecio.lib and use tecio.lib. The file is saved under:

a) Project --> Properties --> Linker-->General, add "..\tecplot360\bin" to the "Additional Library Directories";(this tells the linker where to search)
b) Project --> Properties --> Linker-->Input, add "tecio.lib" to the "Additional Dependencies";(this tells the linker which .lib will be used)

3. Click "Build".

Error msgs are:
error LNK2019: Unresolved external symbol _tecend112@0 referenced...
error LNk2019: Unresolved external symbol _tecdat112@12 referenced...
error LNk2019: Unresolved external symbol _teczne112@84 referenced...
error LNk2019: Unresolved external symbol _tecini112@28 referenced...

As you see, I followed the instruction given in the data-format manual but I can't get it to work.

I have VS2010 and Windows 7 x64
I am desperate

Please HELP
nw_ds is offline   Reply With Quote

Old   November 6, 2013, 12:41
New Member
Straton Spyropoulos
Join Date: May 2012
Location: United States
Posts: 8
Rep Power: 5
straton is on a distinguished road
Thank you for your posting nw_ds (did you also happen to email Tecplot support directly about this yesterday?)

Are you using the 32-bit or 64-bit library? Is your project 32-bit or 64-bit? They will need to match.

Also, is your compiler using leading underscores as "decorations"? You will need to remove the underscore decorations.
straton is offline   Reply With Quote


c++, tecio, tecplot360, vs2010

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
area does not match neighbour by ... % -- possible face ordering problem St.Pacholak OpenFOAM 9 November 22, 2011 11:02
problem loading UDF library in parallel cluster Veera Gutti FLUENT 7 July 3, 2011 09:15
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13

All times are GMT -4. The time now is 09:10.