Pelles C forum

C language => Beginner questions => Topic started by: proed on November 03, 2013, 03:22:11 PM

Title: pelles c doesn't make .libs like an visual studio
Post by: proed on November 03, 2013, 03:22:11 PM
i found an issue/sht/etc that visual studio finely making a libs and pelles c making 3 kb file and then write POLINK: error: Unresolved external symbol ' ' in the .exe where i using that lib
Title: Re: pelles c doesn't make .libs like an visual studio
Post by: Bitbeisser on November 04, 2013, 04:02:24 AM
i found an issue/sht/etc that visual studio finely making a libs and pelles c making 3 kb file and then write POLINK: error: Unresolved external symbol ' ' in the .exe where i using that lib
Sorry buddy, but you seriously need to provide some real info about your issue, with that little that you posted above, it is impossible to make even an educated guess as to what you're doing wrong...

Ralf
Title: Re: pelles c doesn't make .libs like an visual studio
Post by: Fuzzlix on November 06, 2013, 12:48:31 PM
i found an issue/sht/etc that visual studio finely making a libs and pelles c making 3 kb file and then write POLINK: error: Unresolved external symbol ' ' in the .exe where i using that lib
So you have a exe and a "lib", ok.
Question: your "lib. sould be ..
- a "dll" or
- a "lib for statically linking into a exe" ?

Fuzzlix.
Title: Re: pelles c doesn't make .libs like an visual studio
Post by: Bitbeisser on November 06, 2013, 10:04:22 PM
i found an issue/sht/etc that visual studio finely making a libs and pelles c making 3 kb file and then write POLINK: error: Unresolved external symbol ' ' in the .exe where i using that lib
So you have a exe and a "lib", ok.
Question: your "lib. sould be ..
- a "dll" or
- a "lib for statically linking into a exe" ?

Fuzzlix.
How is this related to the problem you refer to in the subject line...

Stay focused buddy...  ;)

Ralf
Title: Re: pelles c doesn't make .libs like an visual studio
Post by: Fuzzlix on November 06, 2013, 10:16:09 PM
How is this related to the problem you refer to in the subject line...
Stay focused buddy...  ;)
it is! in case he want to built a dll, and forgot the "__declspec(dllexport)", no .exp and no .lib file becomes created.
I ran into this trouble too some time ago.

Greetings.
Fuzzlix.
Title: Re: pelles c doesn't make .libs like an visual studio
Post by: Bitbeisser on November 07, 2013, 03:51:50 AM
How is this related to the problem you refer to in the subject line...
Stay focused buddy...  ;)
it is! in case he want to built a dll, and forgot the "__declspec(dllexport)", no .exp and no .lib file becomes created.
I ran into this trouble too some time ago.

Greetings.
Fuzzlix.
Well, a .lib is something completely different than a .DLL, they serve completely different purposes...

Ralf
Title: Re: pelles c doesn't make .libs like an visual studio
Post by: Vortex on November 07, 2013, 08:37:48 PM
Hi Fuzzlix,

MS Visual Studio and Pelles C are sharing the same MS COFF specification.