EOSERV Forum > EOSERV > GUIDE!! -Compile R170-
Topic is locked.
Page: << 1 2 >>
GUIDE!! -Compile R170-
Author Message
Post #24256 GUIDE!! -Compile R170-

Download The Following Files.

EOServ Include Files

EOServ Revison 170

Codeblocks With MinGW

If You Don't Have Download WinRAR

WinRAR Site



Step 1: Install Codeblocks

To install codeblocks run the downloaded file codeblocks-8.02mingw-setup.exe

Follow all of the install steps and leave it in the program files directory.


Step 2: Install the new GCC Compiler

Go to your codeblocks folder. C:/Program Files/CodeBlocks

Delete the folder called MinGW

Go to your downloaded folder called EOServ Files.

Open the file with WinRAR or Winzip.

Extract all the files to your desktop.

Open the folder and then open the folder New GCC. Then run the file inside.

When asked where to install the folder put it in your CodeBlocks folder.

C:/Program Files/CodeBlocks/MinGW

When it's done installing exit the program.


Step 3: Extracting EOServ r170

Open the file in WinRAR.

Extract the folder named trunk to your desktop or documents.

Exit WinRAR.


Step 4: Installing and Setting up the includes.

Open the folder called EOServ Files.

Drag the folder called include to your eoserv folder.

Copy all of the files inside the include folder and paste it to the folowing folder

C:/Program Files/CodeBlocks/MinGW/include

Replace all of them.


Step 5: Including your files in CodeBlocks and Compiling!

Open Your Eoserv folder (trunk)

Open the folder Project

Then open the file mingw

This file should open codeblocks and the eoserv project.

In CodeBlocks Press the + on Resources

Then the + on project

Then right click winres.rc and click Remove from project.

Now go to Settings -> Compile and Debugger

Go the the Linker Settings tab

Press Add

Browse to your include folder inside the eoserv folder

and Open libmysql.lib

Press Add

Browse to your include folder inside the eoserv folder

and Open libpthreadGC2.a

Press Add

Browse to your include folder inside the eoserv folder

and Open WS2_32.Lib


Now go to the Search Directories Tab.

On Compile, Linker, and Resource Compile Add

Your include Folder inside Your EOServ Folder.

Press OK.

To Compile Press F9

You can change your build file in the drop down menu on the tool bar.



Will Add The Rest of The Tutorial Later.

Setting up eoserv

Making Database

Etc.



14 years, 30 weeks ago
Post #24290 Re: GUIDE!! -Compile R170-

looks like a good guid, im trying now

edit:

"eoserv - DEBUG+MYSQL" uses an invalid compiler. Skipping...

Nothing to be done.

Nothing to be done.

Any help???????

14 years, 30 weeks ago
Post #24317 Re: GUIDE!! -Compile R170-

Yo i Got tHe same error as Him

14 years, 30 weeks ago
Post #24319 Re: GUIDE!! -Compile R170-

My bad I see what you might of done wrong.

At the part when installing the new GCC

Makesure the path you install it to is

C:/ProgramFiles/CodeBlocks/MinGW

14 years, 30 weeks ago
Post #24323 Re: GUIDE!! -Compile R170-

Thx

14 years, 30 weeks ago
Post #24336 Re: GUIDE!! -Compile R170-

Yeah ;P don't know how I missed that xD

I was like o_o Oh know they put all the minGW files in the codeblocks directory lol

14 years, 30 weeks ago
Post #24394 Re: GUIDE!! -Compile R170-

i get this error i followed everything correctly

ld.exe||cannot find -langelscript|
||=== Build finished: 1 errors, 0 warnings ===|

how to fix? did i not add something in the compiler? i triple checked everything

14 years, 29 weeks ago
Post #24409 Re: GUIDE!! -Compile R170-

I think I have found the problem :]:]

Go to compiler and debug setting

Click on the tab "toolchain executabels"

Where it says compilers instalation directory change it to the new one eg.C:\Users\LewisH\Desktop\CodeBlocks  before for me it was the normal one(C:\programfiles\code:blocks) or someting like that

Then compile and if you have done everything elce correcly it should work

 

14 years, 29 weeks ago
Post #24417 Re: GUIDE!! -Compile R170-

You can do this another way. Download codeblock WITHOUT MinGw, and Compiler from first post.Install compiler FIRST then Code::Blocks. you dont't need to change dirs, or something like that

14 years, 29 weeks ago
Post #24422 Re: GUIDE!! -Compile R170-

well now i get this error and i notced the people above did to but i did what digitx said to fix it and i still get this

"eoserv - DEBUG+MYSQL+SQLITE" uses an invalid compiler. Skipping...
Nothing to be done.


EDIT: nevermind -- fixed i was missing like 2 linker settings

14 years, 29 weeks ago
Post #24436 Re: GUIDE!! -Compile R170-

You have to put all the items in your includes folder in this folder

C:/ProgramFiles/CodeBlocks/MinGW/include(s)

Can't remember if it's include or includes

14 years, 29 weeks ago
Post #24470 Re: GUIDE!! -Compile R170-

Very nice guide, glad someone +1'd you for this, it woks perfectly.

Thanks again

14 years, 29 weeks ago
Post #24628 Re: GUIDE!! -Compile R170-

i get this error any help?

"eoserv - MYSQL" uses an invalid compiler. Skipping...
Nothing to be done.

14 years, 29 weeks ago
Post #24671 Re: GUIDE!! -Compile R170-

If you intalled code blocks to the normal place it will be someting wrong with the includes or minGW, if you installed it somewhere elce try what i said above.

14 years, 29 weeks ago
Post #24762 Re: GUIDE!! -Compile R170-

I got this error. >:

"This application has failed to start because LIBMYSQL.dll was not found. Re-installing the application may fix this problem."

http://i35.tinypic.com/dnmset.jpg

14 years, 29 weeks ago
Page: << 1 2 >>
Topic is locked.
EOSERV Forum > EOSERV > GUIDE!! -Compile R170-