.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Common Questions (http://forums.bots-united.com/forumdisplay.php?f=51)
-   -   Compile (http://forums.bots-united.com/showthread.php?t=9028)

DeitY 30-03-2012 19:31

Compile
 
Hello i have source files of podbot downloader,i have made changes and sucescfully compiled to windows format with no errors.but problem is that i have linux server,what should i do to make it for windows,how to compile to .so this project?

KWo 31-03-2012 08:59

Re: Compile
 
http://forums.bots-united.com/showthread.php?t=4822

DeitY 15-06-2012 19:32

Re: Compile
 
Okay guy,so..I have took latest beta source files for podbot,edited some files,compiled,compiling gone succesfull.And podbot_mm_i386.so which i compiled doesnt load.

i compile like tihs

http://sa-hq.net/slike/images/93862528776818362275.png


It says podbot_mm_i386 badf_load

Okay,maybe wrong source files.

I get newest source files from database,latest official,try compile,get this error

http://sa-hq.net/slike/images/71522019007255281519.jpg

help brothers.

KWo 16-06-2012 09:05

Re: Compile
 
The compiling ends successful if there is no errors...
What are Your paths for metamod, hlsdk and podbot mm sources (maybe some screenshots)? What is Your makefile?

DeitY 16-06-2012 13:07

Re: Compile
 
Paths are fine,believe me.I have done as same way as last source beta files,and it compiles fine,just overwrtited with this official soucre files,and i get these errors.

I have fixed upeverything fine.So the problem is in podbot project,not on me :/

KWo 17-06-2012 00:01

Re: Compile
 
Can You add -debug option to Your hlds start command? I want to see the info like this:
http://forums.bots-united.com/showpo...65&postcount=9
to see the real reason why podbot_mm_i386.so is not loading.

DeitY 17-06-2012 00:17

Re: Compile
 
Quote:

Originally Posted by KWo (Post 64568)
Can You add -debug option to Your hlds start command? I want to see the info like this:
http://forums.bots-united.com/showpo...65&postcount=9
to see the real reason why podbot_mm_i386.so is not loading.

I have deleted compiled podbot_mm_i386.so cous it was not working and i gone with nervs really freaking out...:/ what about this dll.cpp?

KWo 17-06-2012 10:36

Re: Compile
 
Quote:

Originally Posted by DeitY (Post 64569)
I have deleted compiled podbot_mm_i386.so cous it was not working and i gone with nervs really freaking out...:/

That doesn't answer the main problem with loading the file. If that is not fixed - even if You compile that dll.cpp correctly - You still cannot use it (because it will not be loading).
Quote:

Originally Posted by DeitY (Post 64569)
what about this dll.cpp?

The compiler sometimes shows stupid errors not realted to the real mistake You did. Sometimes it comes from one missing parenthesis or so. Copy the function You are changing (how does it look originally - before Your change) and copy the function after Your change, so I can see what You have done and I can reproduce comiplation errors on my PC (if I have time to work on it - what should be the reason for me to support not my code?).

DeitY 18-06-2012 18:33

Re: Compile
 
Quote:

Originally Posted by KWo (Post 64570)
That doesn't answer the main problem with loading the file. If that is not fixed - even if You compile that dll.cpp correctly - You still cannot use it (because it will not be loading).

The compiler sometimes shows stupid errors not realted to the real mistake You did. Sometimes it comes from one missing parenthesis or so. Copy the function You are changing (how does it look originally - before Your change) and copy the function after Your change, so I can see what You have done and I can reproduce comiplation errors on my PC (if I have time to work on it - what should be the reason for me to support not my code?).

mate u are developer of podbot,u must help me,cmon..:D ill pay if needed ffs

really need help,can u find some time and check ,or give me correct podbot source files and i try something?

KWo 18-06-2012 20:45

Re: Compile
 
Sources of podbot mm are correct - they do compile for me. Otherwise I couldn't release any binary and I would get a lot of complains they don't load. To load my previous binaries You need to have libstdc++.so.6 installed - as I stated it before. But that doesn't happen. I'm testing my binaries on windows real PC and on linux mandriva 2011 virual machine (VMware) and they are loading. I don't know what is the makefile You are using and what are settings for Your compiler - so You are getting so many errors.


All times are GMT +2. The time now is 15:47.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.