Create Executable with C UserLib writes *.exp,*.lib

Just starting out? Need help? Post your questions and find answers here.
User avatar
IceSoft
Addict
Addict
Posts: 1616
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Create Executable with C UserLib writes *.exp,*.lib

Post by IceSoft »

Please don't write the *.exp and *.lib file when creating an Executable which has used C UserLib commands.

Creating an executable which using a C UserLib writes also the *.exp and *.lib to the *exe location.
Maybe thats not really needed.
Last edited by IceSoft on Mon Jul 09, 2018 7:21 am, edited 1 time in total.
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Fred
Administrator
Administrator
Posts: 16619
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: [5.60]Create an Executable with C UserLib writes *.exp,*

Post by Fred »

That's strange, it should not. We also use C libs when creating exe and it doesn't create other files..
User avatar
IceSoft
Addict
Addict
Posts: 1616
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Re: [5.60]Create an Executable with C UserLib writes *.exp,*

Post by IceSoft »

@Fred,

You can try it by yourself.
http://www.morty-productions.de/icesoft ... B_7.01.zip

Put the resident/userlib on your PB installation. Create an executable with the example source and look on the destination folder of the exe.
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
User avatar
IceSoft
Addict
Addict
Posts: 1616
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Re: [5.60]Create an Executable with C UserLib writes *.exp,*

Post by IceSoft »

@Fred,
will this issue fixed on 5.61 too?
Maybe the remove of the files (programatically) at the end of the executable generation is a workaround?
Thanks.
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
User avatar
IceSoft
Addict
Addict
Posts: 1616
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Re: [5.70b1]Create Executable with C UserLib writes *.exp,*.

Post by IceSoft »

I got the same behavior on the 5.70 Beta1.
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
User_Russian
Addict
Addict
Posts: 1443
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

Re: [5.70b1]Create Executable with C UserLib writes *.exp,*.

Post by User_Russian »

IceSoft wrote:You can try it by yourself.
http://www.morty-productions.de/icesoft ... B_7.01.zip
The site requests username and password.
User avatar
IceSoft
Addict
Addict
Posts: 1616
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Re: [5.70b1]Create Executable with C UserLib writes *.exp,*.

Post by IceSoft »

http://www.morty-productions.de is under "construct".
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
User avatar
idle
Always Here
Always Here
Posts: 5042
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: [5.70b1]Create Executable with C UserLib writes *.exp,*.

Post by idle »

It's not a PB issue as far as I can tell, it's more a feature of polink, I just had the same problem in 5.62, so instead I used a def file in my c lib and removed defines for either dll_export or dll_import and it works.
Windows 11, Manjaro, Raspberry Pi OS
Image
Post Reply