Go Back   Project Reality Forums > Project Reality Mod > PR Community Modding
PR Community Modding : Discussion on PR community mod projects.

Welcome to the Project Reality Forums! Join the Project Reality forums! Contact Us


Reply
 
LinkBack Thread Tools Display Modes
Old 05-31-2008, 08:17 AM   #1

AlexCross's Avatar
[Question] Сustomed .exe:How to compile?

Does any one know how to compile this code: FH2.exe Source - Forgotten Hope Wiki ? I'd tried to compile in Dev-C++ but got errors. Can you help me?
AlexCross is offline Reply With Quote
Old 05-31-2008, 08:28 AM   #2
Gameserver Moderator

Jonny's Avatar
Re: [Question] Сustomed .exe:How to compile?

Knowing the errors would help...

I probably cant help you much, only had a little look at programming years ago. Never really learned that much. But the errors would help someone who knows how to compile stuff fix your problem.

Ballistics + Zeroing
!!!Nedlands1 for [R-CON]!!! (Done)
!!!Nedlands1 for [R-DEV]!!!
Jonny is offline Reply With Quote
Old 05-31-2008, 08:48 AM   #3

AlexCross's Avatar
Re: [Question] Ņustomed .exe:How to compile?

Ok. Here are errors.

Code:
45 D:\Dev-Cpp\Projects\unnamed1.cpp `MOVE_DIRECTORY' was not declared in this scope
45 D:\Dev-Cpp\Projects\unnamed1.cpp `WHERE_MY_DOCUMENTS' was not declared in this scope 
45 D:\Dev-Cpp\Projects\unnamed1.cpp `WHERE_MY_DOCUMENTS' was not declared in this scope 
46 D:\Dev-Cpp\Projects\unnamed1.cpp `MOVE_DIRECTORY' was not declared in this scope 
46 D:\Dev-Cpp\Projects\unnamed1.cpp `WHERE_MY_DOCUMENTS' was not declared in this scope 
46 D:\Dev-Cpp\Projects\unnamed1.cpp `WHERE_MY_DOCUMENTS' was not declared in this scope
and etc...

It is into the DevC++ and Builder C++. May be I should use something else to compile this?
AlexCross is offline
Last edited by AlexCross; 05-31-2008 at 08:56 AM.
Reply With Quote
Old 05-31-2008, 09:59 AM   #4

M.0.D's Avatar
Re: [Question] Сustomed .exe:How to compile?

no i do not think that anything will compile this .. you need the declaration of "MOVE_DIRECTORY" and "WHERE_MY_DOCUMENTS" in the file, no compiler can work with things he doesn't know


This message has been made of environment-friendly recycled letters and words from deleted mails and is fully digital-degradable.
M.0.D is offline Reply With Quote
Old 05-31-2008, 11:03 AM   #5

AlexCross's Avatar
Re: [Question] Сustomed .exe:How to compile?

I don't know what kind of type it should be.
I'm got this errors, if I declaret them as char:

55 D:\Dev-Cpp\Projects\unnamed1.cpp invalid conversion from `char' to `pathspec::<anonymous enum>'
AlexCross is offline Reply With Quote
Sponsored Links
Old 05-31-2008, 11:29 AM   #6
PR Lead Forum Moderator
Supporting Member

[R-DEV]Masaq's Avatar
Send a message via MSN to [R-DEV]Masaq
Re: [Question] Сustomed .exe:How to compile?

Why not take it up with the FH2 team?

Mas



Eddiereyes909 - Masaq, I'm naming my first child after you.
TheScot666: I love you Masaq. I'm naming all my children after you.
[R-DEV]Masaq is online now Reply With Quote
Old 05-31-2008, 12:09 PM   #7

AlexCross's Avatar
Re: [Question] Сustomed .exe:How to compile?

I just thought that PR team could told me, how they are compiled that code
AlexCross is offline Reply With Quote
Old 05-31-2008, 05:38 PM   #8

M.0.D's Avatar
Re: [Question] Сustomed .exe:How to compile?

is this the install-exe? if so you could try to declare them as pathspec and fill them with the right paths, MOVE_DIRECTORY as the directory where it should be installed etc

Perhaps it is explained in the exe what path is used for what


This message has been made of environment-friendly recycled letters and words from deleted mails and is fully digital-degradable.
M.0.D is offline Reply With Quote
Old 06-01-2008, 03:38 AM   #9

AlexCross's Avatar
Re: [Question] Сustomed .exe:How to compile?

No it's launch-exe... I hope
AlexCross is offline Reply With Quote
Old 06-01-2008, 08:11 PM   #10

[fh]ctz's Avatar
Re: [Question] Сustomed .exe:How to compile?

Quote:
Originally Posted by AlexCross View Post
Can you help me?
This is C. Trying to compile it as C++ is unlikely to work, though it would be relatively easy to convert. Try naming the file .c and perhaps Dev-C++ will do the right thing. But I don't have much experience of that.

Quote:
Originally Posted by AlexCross View Post
I just thought that PR team could told me, how they are compiled that code
I did it for them and sent them the exe.
[fh]ctz is offline Reply With Quote
Sponsored Links
Reply


Bookmarks

Tags
Сustomed, compile, exehow, question
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


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


Powered by: vBulletin. ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO.
All Content Copyright ©2004 - 2008, Project Reality.