The Black Forum 2 - The BN Village Home
WE ARE CURRENTLY UPGRADING & RELOCATING THE BLACK FORUM!!!! (BNVILLAGE)

------ THIS AREA WILL BE READ ONLY AS OF 18th JUNE 07 -----
----- PLEASE ONLY USE www.bnvillage.co.uk -----

THE BNVILLAGE WILL NOW BE LOCATED @ www.bnvillage.co.uk



Search
   
Login

Register

Members

Calendar

Help

Home
Search by username
The Black Forum 2 - The BN Village > Welcome to The Black Forum - The Blacknet Village > IT Village > Compiling C++ Static Libraries in Visual Studios .NET...help!!!


Compiling C++ Static Libraries in Visual Studios .NET...help!!!
 Moderated by: Saida.M, safetyblitz, Raven, Miss Brighter Days, LadyDay, Kunjufu, Kibibi, Happiness, Dillinger, Breadfruit, Backatya  

New Topic

Reply

Print
Author
Post
BN Village Guidelines
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

Quote

Reply
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

Quote

Reply
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

Name

Email address

Age

General




Search
   
Login

Register

Members

Calendar

Help

Home
Search by username
The Black Forum 2 - The BN Village > Welcome to The Black Forum - The Blacknet Village > IT Village > Compiling C++ Static Libraries in Visual Studios .NET...help!!!



News>>> Black Chat>>> What's On>>> Black Search>>> Black Forums>>> Black History>>>
Games
>>> Homelands >>> Business>>> Entertainment >>> Beauty>>> Religion>>>
Recipe
>>> Magazines>>> Buy & Sell >>> Webpals>>>
Sponsors>>> Black Family Day >>> Homepage

Join Black net Mailing List!!! It's FREE!!

or or call us Tel: (+44) 0870 746 5000 - Fax: (+44) 020 8692 9755


BNVillage - More than just a web site...
© 1996-2006 Black net UK All rights reserved.
Blacksearch.co.uk / Blackchat.co.uk/ Blackprofessional.co.uk

Please read Disclaimer