0

Hi,

I have visual studio 2005 C++ Express Edition Installed. The instructions I have to create a library file are as follows:

1. Create a project
2. Add Header Files to the project
3. Change the Configuration Type on the Properties Menu to Static Library (lib)
4. Still in the property window, click Library, then General, then change the output file to prj1.lib
5. Build the library

My question is this: the project builds, but I can't find the prj1.lib file anywhere. Any suggestions?

Thanks, Elise

2
Contributors
2
Replies
3
Views
10 Years
Discussion Span
Last Post by rwagnes
0

you have to add a function or class *.c or *.cpp to the library before the compiler will create the .lib file. Just putting the *.h in the project is not sufficient -- there must be some executable code. And you will find the .lib file in <project name/debug or <project name>/release directory.

0

you have to add a function or class *.c or *.cpp to the library before the compiler will create the .lib file. Just putting the *.h in the project is not sufficient -- there must be some executable code. And you will find the .lib file in <project name/debug or <project name>/release directory.

Thanks so much..I forgot to add the api files. Elise

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.