|
|
|
|
 |
|
|
| Moderated by: Saida.M, safetyblitz, Raven, Miss Brighter Days, LadyDay, Kunjufu, Kibibi, Happiness, Dillinger, Breadfruit, Backatya |
|
|
| Author | |
|---|
Shemsi en Tehuti Villager

| Joined: | Tuesday August 2nd, 2005 |
| Location: | Florida USA |
| Posts: | 3359 |
| Photo: | |
| Status: |
Offline
|
| Mana: |     |
Click here for your Black Profile
Search for Black Sites
|
Posted: Sunday May 14th, 2006 18:16 |
|
I have my own collection of C++ functions with sophisticated algorthms and routines that I developed in platform standard C++ to run on Unix/Linux G++ compiler, Borland compilers up to 5.5, and Visual Studios 6.0. With Microsofts unremitting additions of the .NET platform, I need to create a static library of my old tried-and-true functions so that I can use it in any future .NET application.
When I try to compile the library, I get the following error:
fatal error C1083: Cannot open include file
...for each source and header file. If any of you are programmers, you are probably like, "duh, you aren't specifying the directory for the compiler to build the files". I know this already. I have specified it where it seems most intuitive, and searched and even specified this in not so intuitive places...but with no success.
I could easily build a library in the older Borland, G++, or Visual Studio 6.0 environments, but I want this to be compiled the most efficiently for more modern processors.
Does anyone know how to compile a static library in Visual Studios .NET???
____________________
Click here for your Black Profile
|
huzzah1 Villager

| Joined: | Monday September 13th, 2004 |
| Location: | United Kingdom |
| Posts: | 819 |
| Photo: | |
| Status: |
Offline
|
| Mana: |     |
Click here for your Black Profile
Search for Black Sites
|
Posted: Thursday May 18th, 2006 13:19 |
|
Haven't used Visual Studio .NET in over a year. The C1083 error may be caused by the following
Cannot open filetype file: 'file': message
Possible causes
- File does not exist.
- File, subdirectory, or disk is read-only.
- No access permission for file or directory.
- Not enough file handles. Close some applications and recompile.
- The INCLUDE environment variable is set incorrectly.
- An #include directive uses double quotation marks around a path specification, which causes the standard directories to be skipped.
- You did not specify /clr and your program uses managed constructs.
In Visual C++ .NET (version 1300 of the compiler), there is a bug that requires the user locale to be set correctly when the file name (or directory path to the file name) contains MBCS characters. Setting the system locale is not sufficient; the user locale must be set to process MBCS characters.
The following sample generates C1083:
// C1083.cpp
#include "test.h" // C1083, test.h does not exist
int main() {
}[code][/list]Last edited on Thursday May 18th, 2006 13:22 by huzzah1
____________________
www.blacksearch.co.uk - Helping to promote Black African and Caribbean Websites
|
|
|
 Current time is 21:09 | |
|
|
 |
|
|
|
|

Join the
Blacknet
mailing list
|
|