CFD Online Logo CFD Online URL
Home > Forums > Visualization & Post-Processing Software > Tecplot

Linking Problem in TECIO

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

LinkBack Thread Tools Search this Thread Display Modes
Old   November 5, 2013, 12:03
Default Linking Problem in TECIO
New Member
Join Date: Mar 2011
Posts: 25
Rep Power: 14
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: 11
Rep Power: 13
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
area does not match neighbour by ... % -- possible face ordering problem St.Pacholak OpenFOAM 10 February 7, 2024 22:50
problem loading UDF library in parallel cluster Veera Gutti FLUENT 8 July 26, 2016 08:24
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 05:43
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 07:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 20:13

All times are GMT -4. The time now is 04:36.