473,325 Members | 2,771 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Can't get linker to resolve __iob

I'm converting a project from vs2003 to vs2005. The project links against a
thirdparty library (pvrtc.lib, the PowerVR tc compression library), which
apparently was built with some older version of the MS C++ compiler. It is a
static library that has embedded libc.lib dependencies. In my project I want
to link against the MT DLL library (msvcrt), and so in my vs2003 version of
the project I simply specify /NODEFAULTLIB:libc.lib, and things link fine.

When I converted to vs2005, the project file (vcproj file) seems ok, and the
project settings are the same, NODEFAULTLIB:libc.lib is still specified and I
can verify that I am still linking against msvcrt(d).lib, and yet I keep
getting unresolved references to __iob from some of the object files embedded
in the pvrtc.lib library.

I'm completely at a loss here, as __iob is defined in msvcrt(d).lib. So
something is going wrong.

Any ideas? Thanks in advance,

-Eric Twietmeyer

Nov 22 '06 #1
1 2878


I'm having the same problem with __iob :( Please post if you find a
solution.
Eric Twietmeyer wrote:
I'm converting a project from vs2003 to vs2005. The project links against a
thirdparty library (pvrtc.lib, the PowerVR tc compression library), which
apparently was built with some older version of the MS C++ compiler. It is a
static library that has embedded libc.lib dependencies. In my project I want
to link against the MT DLL library (msvcrt), and so in my vs2003 version of
the project I simply specify /NODEFAULTLIB:libc.lib, and things link fine.

When I converted to vs2005, the project file (vcproj file) seems ok, and the
project settings are the same, NODEFAULTLIB:libc.lib is still specified and I
can verify that I am still linking against msvcrt(d).lib, and yet I keep
getting unresolved references to __iob from some of the object files embedded
in the pvrtc.lib library.

I'm completely at a loss here, as __iob is defined in msvcrt(d).lib. So
something is going wrong.

Any ideas? Thanks in advance,

-Eric Twietmeyer
Nov 25 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Eric | last post by:
Hello I receive (only in Release build) the following linker warning: LINK : warning LNK4089: all references to 'WS2_32.dll' discarded by /OPT:REF If I set WS2_32.lib in project properties...
6
by: Deepa via .NET 247 | last post by:
(Type your message here) Hi, My app (DLL) that was developed in VC6 is using ddao35u.lib toaccess the Access Database. When I try to build the same DLL using VC7 I get the followinglinker error....
4
by: Joel Whitehouse | last post by:
Hello All, I have a Visual C++ 2003 dll solution in a directory called "Antenna Test Range Control", and when I comile it, I get the error LNK1104: cannot open file "antenna.obj". When I remove...
3
by: ralphsieminsky | last post by:
A project compiles fine under VS 2005 RC without the /clr option. However, when /clr is turned on several errors appear: - A symbol exported from a DLL is not found by another DLL referencing...
6
by: yezi | last post by:
HI, ALL: I can not figure out the problem with compiling. the message is " /tmp/ccAxyQSj.o(.text+0x275): In function `main': : undefined reference to `sqrt' collect2: ld returned 1 exit...
1
by: clintmiller | last post by:
here's the header: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> #pragma once using namespace System; #define MapCascadeError(CasErrorEnum) \ static GeometryException* MapError(CasErrorEnum error,...
1
by: Felix | last post by:
After porting a project from VC6 to VC.NET 2003 I have a very strange problem generating link error 1104 for import libraries. I just ported the project and made some small adaptions so it fits...
1
by: ImamicPH | last post by:
Hi, My first post. How do you resolve linker errors? I have a simple header file that contains one function declaration. This function is used in another file (.cpp) in the definition of a...
0
by: ilanbm | last post by:
Hi We have an odbc driver that we wrote. This is actually a shared object which implements a set of SQLxxx functions. There is also another shared object that we did not write, which is the odbc...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.