Raised This Month: $51 Target: $400
 12% 

Compiling Modules


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
An Ark
Junior Member
Join Date: May 2013
Old 06-28-2013 , 03:30   Compiling Modules
Reply With Quote #1

I am quite a starter.
1. How to compile modules with MSVS & Dev C++ & Notepad ++ ??
2. What is Gcc and Gcc compiler ??

3. There are util.cpp in both the following SDK's:
PHP Code:
1. \hlsdk-2.3-p3\multiplayer\cl_dll
2. 
\amx\amxmodx 
Which one will the compiler Use?

4. I have searched google and alliedmodders all they say is to include all the SDK files in MSVS & Dev C++. And doing that to every folder is difficult. Is there any better way ??

Last edited by An Ark; 06-29-2013 at 07:27.
An Ark is offline
Old 06-28-2013, 03:47
Bos93
This message has been deleted by Bos93. Reason: bad english
TheDS1337
Veteran Member
Join Date: Jun 2012
Old 06-28-2013 , 04:14   Re: Compiling Modules
Reply With Quote #2

Dev C++ ?, We don't work with it we works with MSVC
TheDS1337 is offline
An Ark
Junior Member
Join Date: May 2013
Old 06-28-2013 , 07:30   Re: Compiling Modules
Reply With Quote #3

Quote:
Originally Posted by DeagLe.Studio View Post
Dev C++ ?
Dev C++. So what are the answers ?
An Ark is offline
TheDS1337
Veteran Member
Join Date: Jun 2012
Old 06-28-2013 , 08:05   Re: Compiling Modules
Reply With Quote #4

umm I know it, look here, maybe it will help you
TheDS1337 is offline
An Ark
Junior Member
Join Date: May 2013
Old 06-29-2013 , 07:26   Re: Compiling Modules
Reply With Quote #5

Quote:
This page was last modified on 12 February 2012, at 11:16.
It is a Old One and some of the links are dead
An Ark is offline
Old 07-11-2013, 02:55
An Ark
This message has been deleted by YamiKaitou. Reason: wait 14 days before you bump
Old 08-02-2013, 05:47
LordOfNothing
This message has been deleted by ConnorMcLeod. Reason: troll, or posting random confusing code, or posting for posts count
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 08-02-2013 , 07:39   Re: Compiling Modules
Reply With Quote #6

Quote:
Originally Posted by DeagLe.Studio View Post
umm I know it, look here, maybe it will help you
That's just a tutorial. You're not forced to use MSVC, you can use whichever compiler you want.

The case is it would be more difficult to get help.


Quote:
Originally Posted by An Ark View Post
I am quite a starter.
1. How to compile modules with MSVS & Dev C++ & Notepad ++ ??
2. What is Gcc and Gcc compiler ??

3. There are util.cpp in both the following SDK's:
PHP Code:
1. \hlsdk-2.3-p3\multiplayer\cl_dll
2. 
\amx\amxmodx 
Which one will the compiler Use?

4. I have searched google and alliedmodders all they say is to include all the SDK files in MSVS & Dev C++. And doing that to every folder is difficult. Is there any better way ??
1- Notepad++ is not a compiler, just an editor
2- gcc is gnu compiler, it's most used to compile under unix type operating systems (algo under windows with cygwin).
3- Is up to you. If you want to compile amxmodx you should use the sources included and you have to follow all requirements.
4- I think you don't have too much knowledge about C++ and it's dependencies structure. I recommend first to learn about that. Don't ask for help of everything, first learn and then ask for help on specific problems.
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 08-04-2013 , 15:14   Re: Compiling Modules
Reply With Quote #7

In Linux (ELF header), use g++ package to compile. Command line for dynamic libraries is usually:

Code:
gcc Source1.cpp Source2.cpp Source3.cpp -IHeadersDirectoryToInclude -shared -s -ldl -lm -o Output.so
In Windows (MZ header), use MinGW software which contains g++ package to compile. Command line for dynamic libraries is usually:

A hint. After installing MinGW, go to Environment Variables and append at Path key the next line:

Code:
;C:\MinGW\bin;
Code:
gcc Source1.cpp Source2.cpp Source3.cpp -IHeadersDirectoryToInclude -shared -s -ldl -lm -o Output.dll
Don't know what Dev C++ is really good for, but about Microsoft Visual Studio (R) I can say that is good when you create a module or a program, not compile. It helps you a lot with the documentation. And it's really friendly and permissive much enough.

Use -I parameter followed by a folder name to include all H or HPP (Header) files from folder.
__________________

Last edited by claudiuhks; 08-04-2013 at 15:23.
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
An Ark
Junior Member
Join Date: May 2013
Old 08-15-2013 , 02:04   Re: Compiling Modules
Reply With Quote #8

Quote:
Originally Posted by joropito View Post
2- gcc is gnu compiler, it's most used to compile under unix type operating systems (algo under windows with cygwin).
Dev C++
This is a Open Source Forum. Why not use a Open source compiler/editor/whatever.
Dev C++.

Quote:
Originally Posted by joropito View Post
4- I think you don't have too much knowledge about C++ and it's dependencies structure. I recommend first to learn about that. Don't ask for help of everything, first learn and then ask for help on specific problems.
I don't say I know everything but I learned C++. All they say is Open newfile.cpp --> Write cout << "Hello World"; --> Compile --> Show Output. There is no multi-level program that I had done.
Also Thanks to claudiuhks.
Attached Thumbnails
Click image for larger version

Name:	untitled.PNG
Views:	470
Size:	9.8 KB
ID:	124284  

Last edited by An Ark; 08-15-2013 at 02:06.
An Ark is offline
Old 08-15-2013, 02:59
LordOfNothing
This message has been deleted by ConnorMcLeod. Reason: troll, or posting random confusing code, or posting for posts count
An Ark
Junior Member
Join Date: May 2013
Old 08-16-2013 , 03:08   Re: Compiling Modules
Reply With Quote #9

I didn't do any, If it works in MSVC it will surely work in Dev C++.
An Ark is offline
Old 08-17-2013, 02:50
LordOfNothing
This message has been deleted by ConnorMcLeod. Reason: troll, or posting random confusing code, or posting for posts count
TheDS1337
Veteran Member
Join Date: Jun 2012
Old 08-17-2013 , 03:19   Re: Compiling Modules
Reply With Quote #10

Quote:
Originally Posted by LordOfNothing View Post
MAde a vIDEo-tutorial and give me in PM please ,)
STOP Spamming, and search!, http://www.youtube.com/watch?v=pgjI__B5Eh8
TheDS1337 is offline
Old 08-17-2013, 05:26
LordOfNothing
This message has been deleted by ConnorMcLeod. Reason: troll, or posting random confusing code, or posting for posts count
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:03.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode