The BN Village  
Home Register FAQ Members Calendar Search Today's Posts Mark Forums Read


Welcome to the African and Caribbean Social network.

You are currently are in guest mode which gives you limited access to view most discussions and access other features. By joining this free African Caribbean Social utility you will have access to post topics, communicate privately with other members (PM), upload images, add videos, respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free, join the African and Caribbean community today!

If you have any problems with the registration process or your account login, please contact contact us.
Go Back   The BN Village > Welcome to The Black Forum - The Black net Village > Games & IT Village
Reload this Page Compiling C++ Static Libraries in Visual Studios .NET...help!!!

Reply
 
LinkBack Thread Tools Display Modes
imported post
(#1 (permalink))
Old
Shemsi en Tehuti's Avatar
Shemsi en Tehuti is Offline
Villager Senior
Shemsi en Tehuti is an unknown quantity at this point
 
Posts: 4,160
Join Date: Aug 2005
Location: , Florida, USA
Post imported post - 14-05-06, 06:16 PM

I havemy 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 eachsource 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???


A Luta Continua—Lasima Tushinde Mbilishaka
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share On Face Book!Stumble this Post!
Reply With Quote
Remove advertisements
Advertisement
Advertisement Sponsored links

imported post
(#2 (permalink))
Old
huzzah1 is Offline
Villager
huzzah1
 
Posts: 818
Join Date: Sep 2004
Location: , , United Kingdom
Post imported post - 18-05-06, 01:19 PM

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/clrand 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]
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share On Face Book!Stumble this Post!
Reply With Quote
Remove advertisements
Advertisement
Advertisement Sponsored links

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
24 Hour Libraries in London... Soulstarr The Village Square. 2 31-03-07 11:51 PM
Libraries In The Sand DSP Black Roots Village 21 15-11-06 03:59 PM
B6 Slash (bham rap click) punks the game at kiss fm studios. Black_Power Entertainment Village 0 08-11-06 08:40 PM
Murdered by the studios! jazztalking Film Village 0 30-09-05 11:32 PM
Google Is Adding Major Libraries to Its Database COLTRANE Games & IT Village 0 16-12-04 04:50 PM


All times are GMT +1. The time now is 06:40 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Internet Marketing by: Firm SEO
Ad Management by RedTyger