dll build is missing lib file (VS2003)
-
I have a solution with a large number of dll's in it. I just added a new one using the wizard and everything builds nicely. However, even though there is a specified output .lib file included the file is never generated and there are no warnings. I have checked the properties of the failing dll with one for a good dll and everything (apart from the dll/lib name) is identical, yet, still no lib. The dll,ilk,pdb is built but not the exp or lib. I have searched the entire PC drives for the file and yet still nothing. :mad: Has anyone else seen this and if so how did you solve it ?!? TIA Richard
Hell I thought it was funny .....
-
I have a solution with a large number of dll's in it. I just added a new one using the wizard and everything builds nicely. However, even though there is a specified output .lib file included the file is never generated and there are no warnings. I have checked the properties of the failing dll with one for a good dll and everything (apart from the dll/lib name) is identical, yet, still no lib. The dll,ilk,pdb is built but not the exp or lib. I have searched the entire PC drives for the file and yet still nothing. :mad: Has anyone else seen this and if so how did you solve it ?!? TIA Richard
Hell I thought it was funny .....
Why is it that right after writing a post, the post makes you think of something else to check and tadaa you find the problem. :-O The problem was, I had forgotton to actually export the function that the DLL was supplying. No exports means no lib. Although a compiler message to that end would have saved me considerable time, after all why would I create a dll with no exported functions !
Hell I thought it was funny .....