NO

Author Topic: pelles c doesn't make .libs like an visual studio  (Read 4683 times)

proed

  • Guest
pelles c doesn't make .libs like an visual studio
« 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

Offline Bitbeisser

  • Global Moderator
  • Member
  • *****
  • Posts: 772
Re: pelles c doesn't make .libs like an visual studio
« Reply #1 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

Fuzzlix

  • Guest
Re: pelles c doesn't make .libs like an visual studio
« Reply #2 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.

Offline Bitbeisser

  • Global Moderator
  • Member
  • *****
  • Posts: 772
Re: pelles c doesn't make .libs like an visual studio
« Reply #3 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

Fuzzlix

  • Guest
Re: pelles c doesn't make .libs like an visual studio
« Reply #4 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.

Offline Bitbeisser

  • Global Moderator
  • Member
  • *****
  • Posts: 772
Re: pelles c doesn't make .libs like an visual studio
« Reply #5 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

Offline Vortex

  • Member
  • *
  • Posts: 867
    • http://www.vortex.masmcode.com
Re: pelles c doesn't make .libs like an visual studio
« Reply #6 on: November 07, 2013, 08:37:48 PM »
Hi Fuzzlix,

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