pelles c doesn't make .libs like an visual studio

Started by proed, November 03, 2013, 03:22:11 PM

Previous topic - Next topic

proed

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

Bitbeisser

Quote from: 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
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

Fuzzlix

Quote from: 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
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.

Bitbeisser

Quote from: Fuzzlix on November 06, 2013, 12:48:31 PM
Quote from: 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
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

Fuzzlix

Quote from: Bitbeisser on November 06, 2013, 10:04:22 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.

Bitbeisser

Quote from: Fuzzlix on November 06, 2013, 10:16:09 PM
Quote from: Bitbeisser on November 06, 2013, 10:04:22 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.
Well, a .lib is something completely different than a .DLL, they serve completely different purposes...

Ralf

Vortex

Hi Fuzzlix,

MS Visual Studio and Pelles C are sharing the same MS COFF specification.
Code it... That's all...