473,320 Members | 1,766 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,320 software developers and data experts.

linking error when upgrading from .NET2003 to .NET2005

I upgraded this program from VC6 to .NET2003 a few months back. I had to
change some of the source code, but I was finally able to get it to compile
and link properly.

I just tried to upgrade the same code from .NET2003 to .NET2005 and again I
had to make some code changes (basically had to do with looping scope and
defining operator function return types)... so, now I am able to compile all
the files, but when it tries to compile, I get this error :

LINK : fatal error LNK1104: cannot open file 'libc.lib'

1. I have not specifically linked libc.lib in the project settings.

2. I did not personally make any changes to the project setting when I
upgraded to .net2005. although visual studio automatically upgraded the
project files so that it can work on .net2005

3. I have 3 additional dependencies in the project : vss96d.lib dfor.lib
mkl_c.lib and I do not know what settings were used to build those files.

4. I'm guessing this has to do with using the old iostream libraries or
something like that, but I can't pinpoint what is causing it to link
libc.lib

5. I was able to upgrade another program (much smaller, and with no
additional dependencies) from 2003 to 2005 and after making the same kind
of source changes, I was able to compile and successfully link the program.

how do i find out what exactly is causing this problem?
and, if the problem is caused by the additional dependencies, how do I
proceed ??
thanks in advance,
Julian.
Mar 10 '06 #1
0 1067

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

Similar topics

4
by: Tim Hitchcock | last post by:
I have an existing MFC program consisting of an EXE and one DLL that I am trying to convert into a mixed mode program. I am using Visual Studio.NET 2003 Professional and I am compiling in the IDE....
2
by: .NET developer | last post by:
Hi , While upgrading my application from vc6 to vc7 I got followin linking errors : __declspec(dllimport) public: class ATL::CStringT<unsigned short,class StrTraitMFC_DLL<unsigned short,class...
1
by: Paul S. Natanson | last post by:
What is a Null Reference error and how do I fix it? My newly installed VB.Net2003 gives me a "Microsoft Development Environment" error message box EVERY time I try to run/start ANY project -...
10
by: Julian | last post by:
I get the following error when i try to link a fortran library to a c++ code in .NET 2005. LINK : fatal error LNK1104: cannot open file 'libc.lib' the code was working fine when built using...
13
by: 7stud | last post by:
test1.py: -------------------- import shelve s = shelve.open("/Users/me/2testing/dir1/aaa.txt") s = "red" s.close() --------output:------ $ python test1.py
2
by: =?Utf-8?B?TWFyYyBBbGxhcmQ=?= | last post by:
Hello, I have posted this message in the normal newsgroup instead of posting it in the managed ones. I have a project in VB6 (GDI+) that will read a WMF File (created by my customer) and then...
7
by: Salad | last post by:
I am converting an application from A97 to A2003. I have 2 tables created by another application as a Foxpro.dbf. The table has no index. The connect string in A97 is FoxPro...
0
by: abhishek | last post by:
hello group i am working on a project where most of the code has been written in c++ but the web component is written in python. Initially we have been using python2.4 and vs.net2003 but recently...
6
by: SunshineInTheRain | last post by:
can anyone please help me on problem of 'Sys' is undefined error? I know a lot forum has discussed about this, but none i success to solve the error. I have run it on Window server 2000, IIS 5,...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
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: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
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: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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: 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.