|November 5, 2013, 12:03||
Linking Problem in TECIO
Join Date: Mar 2011
Posts: 21Rep Power: 7
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
|November 6, 2013, 12:41||
Join Date: May 2012
Location: United States
Posts: 11Rep Power: 6
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.
|c++, tecio, tecplot360, vs2010|
|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|