473,387 Members | 3,684 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,387 software developers and data experts.

errors building 6.0 project in c++ .net

I have a working 6.0 project. unicode, mfc in static library, WinMain
is the entry proc ...

I open the project in .NET, it is converted ok, now in the build I am
getting errors.

The first error I get is after a change to an object file and then a
build:
LINK: fatal error LNK1104: cannot open file 'libcimtd.lib'

looking on my system, that file only exists in the visual studio 6.0
directory. I dont see it in any project settings, and it is not found
in any of my source files. Why is the .NET compiler looking for that
file?

then I compile another .CPP file in the project and the compiler says
#include <iostream.h>
is no good, file not found. that #include just happens to be hanging
out in my code and is not needed, but if I do need it, what is its
replacement?

and lastly, after a complete rebuild, I get the following:

Compiling resources...
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\atlmfc\include/atlconv.h(22) : error RC2188: C:\Program
Files\Microsoft Visual Studio .NET
2003\Vc7\atlmfc\include/atlalloc.h(361) : fatal error RC1017: invalid
integer constant expression

when I double click on the error message, the editor pops me into
atlconv.h and positions the cursor at the #error statement below:

#ifndef __cplusplus
#error ATL requires C++ compilation (use a .cpp suffix)
#endif

any ideas what this error is all about? my .NET project is set to
"not using ATL".

thanks,

Steve Richter
Nov 16 '05 #1
2 3186
Steve Richter wrote:
I have a working 6.0 project. unicode, mfc in static library, WinMain
is the entry proc ...

I open the project in .NET, it is converted ok, now in the build I am
getting errors.

The first error I get is after a change to an object file and then a
build:
LINK: fatal error LNK1104: cannot open file 'libcimtd.lib'

looking on my system, that file only exists in the visual studio 6.0
directory. I dont see it in any project settings, and it is not found
in any of my source files. Why is the .NET compiler looking for that
file?
Because your code references it. This file contains the implementation of
"classic IOSTreams".

then I compile another .CPP file in the project and the compiler says
#include <iostream.h>
is no good, file not found. that #include just happens to be hanging
out in my code and is not needed, but if I do need it, what is its
replacement?


"Classic IOStreams" are no longer supported - you need to #include
<iostream>, and make a few changes to your code to use ISO Standard
IOStreams.

-cd
Nov 16 '05 #2

And what about the last error?
- i have it also...

thanks.

--
YuGa
------------------------------------------------------------------------
Posted via http://www.mcse.ms
------------------------------------------------------------------------
View this thread: http://www.mcse.ms/message65705.html

Nov 17 '05 #3

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

Similar topics

1
by: Ravi Chaudhary | last post by:
Hi, We are using VS.Net 2003 and coding in VB.net. The solution has 38 projects; most of the projects in the solution reference other projects (without any circular references) and all the...
1
by: Claire | last post by:
I have a project that uses TChart assembly. I don't think that the assembly's the problem though. If I compile in debug mode with CopyLocal set to true, the solution builds perfectly. In Release...
3
by: Leith Bade | last post by:
I have been trying to use the new Visual C++ Toolkit 2003 with the VC6 IDE I set up the executable, inlcude, and library directories to point to the new compilers I had to fix a few errors in the...
2
by: kalyan. | last post by:
hello, i am working on WMA SDK. i got the SDK from Microsoft under source development agreement . The SDK has the project of WMA 9.1 built in VC 7.1 As i dont have VC 7 i found a tool to convert...
13
by: Dr. Zharkov | last post by:
Hello. A problem in the following. In VB .NET 2003 we create the project and in file Form1.vb the following code is written down: Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As...
0
by: Charles Law | last post by:
I thought I would pass this on, as I have oft' seen this problem reported, with no solution. The problem is that in a solution containing several projects, the compiler will sometimes report a...
1
by: Ravi Chaudhary | last post by:
Hi, We are using VS.Net 2003 and coding in VB.net. The solution has 38 projects; most of the projects in the solution reference other projects (without any circular references) and all the...
5
by: genc_ymeri | last post by:
Hi over there, We are a team of 6 developping web applications (ASP.Net/C#/VB.Net/SQLServer). What happens is that randomly, each of us get the below error in (PS). We believe that the "acess is...
1
by: | last post by:
I'm having a problem finding the cause for this problem. I have a solution in Visual Studio 2005 that contains two projects -- a Web Site and a Class Library. The web site references the class...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.