[OsRoseEvo] Source Compiling

Status
Not open for further replies.
Re: [Updated] Source Compiling Guide

Finally i get the dev-c++ compile with package manager install and all the linker path configure correctly but i have one last problem where at the end of the compile it did sho an error and dint creat the exe files that i request.Pls guide me to solve this problem.With this i send the attachment of the screenshot.Thanks
 

Attachments

  • compil - [OsRoseEvo] Source Compiling - RaGEZONE Forums
    compile.webp
    190.9 KB · Views: 188
Re: [Updated] Source Compiling Guide

Finally i get the dev-c++ compile with package manager install and all the linker path configure correctly but i have one last problem where at the end of the compile it did sho an error and dint creat the exe files that i request.Pls guide me to solve this problem.With this i send the attachment of the screenshot.Thanks

Two things, make sure the .dev's are in the root folder, and make sure you have the 5.05 version of libmysql.
 
Re: [Updated] Source Compiling Guide

yes i have done all the above guide(remove all exe in binary folder,remove both make files in root directory,have the latest libmysql ver 5.0.5,install pakage manager,redirect the linker as required) but i still have the compile erroe to make the exe. i really lost here...pls give me solution.coz i have plan to add in some new module in the server file(example no casting in town):sweatdrop
 
Re: [Updated] Source Compiling Guide




Go to menu "Project>project option", then go to the "parameters" tab and under "Linkers" change the "C:/Dev-Cpp/lib/libws2_32.a" and "C:/Dev-Cpp/lib/libmysql.a" to your correct path.

If you do not have these paths, then click "Add Library or Object" and browse to your Dev-Cpp/lib folder and find the two files listed above.


i not understand add library or object what file need open?
 
Re: [Updated] Source Compiling Guide

Go to menu "Project>project option", then go to the "parameters" tab and under "Linkers" change the "C:/Dev-Cpp/lib/libws2_32.a" and "C:/Dev-Cpp/lib/libmysql.a" to your correct path.

If you do not have these paths, then click "Add Library or Object" and browse to your Dev-Cpp/lib folder and find the two files listed above.


i not understand add library or object what file need open?

You click the button "Add library or object" and point it to those files listed above.
 
Re: [Updated] Source Compiling Guide

i get errors T_T
Code:
Compiler: Default compiler
Building Makefile: "C:\BACKUP\RoseOnline PrivateServer\REV45Source\RoseZero\Binary\Makefile.win"
Executing  make...
make.exe -f "C:\BACKUP\RoseOnline PrivateServer\REV45Source\RoseZero\Binary\Makefile.win" all
g++.exe -D__DEBUG__ -c "../World Server/character.cpp" -o "../World Server/character.o" -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"  -I"C:/Dev-Cpp/include/c++/3.4.2/backward"  -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32"  -I"C:/Dev-Cpp/include/c++/3.4.2"  -I"C:/Dev-Cpp/include"    -g3

In file included from ../World Server/datatypes.h:201,
                 from ../World Server/chartype.h:29,
                 from ../World Server/character.h:23,
                 from ../World Server/character.cpp:21:
../World Server/../common/sockets.h:60:21: pthread.h: No such file or directory
In file included from ../World Server/../common/sockets.h:66,
                 from ../World Server/datatypes.h:201,
                 from ../World Server/chartype.h:29,
                 from ../World Server/character.h:23,
                 from ../World Server/character.cpp:21:
../World Server/../common/database/database.h:26: error: `pthread_mutex_t' does not name a type

In file included from ../World Server/datatypes.h:201,
                 from ../World Server/chartype.h:29,
                 from ../World Server/character.h:23,
                 from ../World Server/character.cpp:21:
../World Server/../common/sockets.h:317: error: `pthread_t' does not name a type

In file included from ../World Server/worldserver.h:25,
                 from ../World Server/character.cpp:22:
../World Server/worldmap.h:86: error: `pthread_mutex_t' does not name a type

In file included from ../World Server/character.cpp:22:
../World Server/worldserver.h:314: error: `pthread_t' does not name a type
../World Server/worldserver.h:315: error: `pthread_t' does not name a type
../World Server/worldserver.h:316: error: `pthread_attr_t' does not name a type
../World Server/worldserver.h:317: error: `pthread_mutex_t' does not name a type

make.exe: *** ["../World Server/character.o"] Error 1

Execution terminated
 
Re: [Updated] Source Compiling Guide

Question, should I compile all DEV's while they are in "Binaries" folder and then move only new exe files to root directory or should I move all files / folders from Binaries directory to root and only then compile DEV's ?
 
Re: [Updated] Source Compiling Guide

Question, should I compile all DEV's while they are in "Binaries" folder and then move only new exe files to root directory or should I move all files / folders from Binaries directory to root and only then compile DEV's ?

Keep all the files in the Binary folder (the .dev ones). Then compile them. Then you can move all the files (including the exes) to the root folder after you complete the compiling.
 
Re: [Updated] Source Compiling Guide

Go to menu "Project>project option", then go to the "parameters" tab and under "Linkers" change the "C:/Dev-Cpp/lib/libws2_32.a" and "C:/Dev-Cpp/lib/libmysql.a" to your correct path.

If you do not have these paths, then click "Add Library or Object" and browse to your Dev-Cpp/lib folder and find the two files listed above.

Once all that is complete, click "Ok" and your done with the setup.

I just compiled build 60 and had to add "libpthreadGC.a" as another linker.
 
How to make 0(Zero) Exp when u kill a white color monster?

sorry if this question already been asked here.

As per topic, how can i do this? what file to edit? what line of the file to edit?

EDIT:
i guess i fixed this problem but i'm not so sure. No more exp when i kill a white color mob.
 
Last edited:
Re: [Updated] Source Compiling Guide

Well i got 2 questions , the 1st is kinda noob ...

What's the root folder? , just the ''Main'' map of rose right?


And 2nd -> i have this problem [Screenie] and i don't know how to solve it...
[The other 2 exe files are already made]



Any ideas?
 
Last edited by a moderator:
Re: [Updated] Source Compiling Guide

Well i got 2 questions , the 1st is kinda noob ...

What's the root folder? , just the ''Main'' map of rose right?


And 2nd -> i have this problem [Screenie] and i don't know how to solve it...
[The other 2 exe files are already made]



Any ideas?

Database? What are you trying to do with that in a C++ compiler..
 
Re: [Updated] Source Compiling Guide

hello everyone! I would like to compliment the person who created the guides a good job! Well done!
I'm a noob at this and I got this working.

Can you help me with the .dev file? I just find out that there's a new rev 64 at osrose and I can't seem to find the .dev file. Where should I look again? so that I can create the .exe for this new rev. That's what I understand for now. If I'm wrong please correct me. Thanks.

-OMG! found it just now. Thanks anyway! Good Job!!
 
Last edited:
Re: [Updated] Source Compiling Guide

I've got a problem in compile the worldserver.dev . It says:
"Could not create Makefile: "C:/MyRev/Makefile.win"
I/O error 32"
 
Links updated to new and working links.
 
Status
Not open for further replies.
Back