[Question] Сustomed .exe:How to compile?
-
AlexCross
- Posts: 6
- Joined: 2007-11-08 04:27
[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
- Posts: 6
- Joined: 2007-11-08 04:27
Re: [Question] Ñustomed .exe:How to compile?
Ok. Here are errors.
and etc...
It is into the DevC++ and Builder C++. May be I should use something else to compile this?
Code: Select all
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
It is into the DevC++ and Builder C++. May be I should use something else to compile this?
Last edited by AlexCross on 2008-05-31 12:56, edited 2 times in total.
-
M.0.D
- Posts: 138
- Joined: 2006-05-07 21:54
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
-
AlexCross
- Posts: 6
- Joined: 2007-11-08 04:27
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>'
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>'
-
Masaq
- Retired PR Developer
- Posts: 10043
- Joined: 2006-09-23 16:29
Re: [Question] Сustomed .exe:How to compile?
Why not take it up with the FH2 team?
Mas
Mas
"That's how it starts, Mas, with that warm happy feeling inside. Pretty soon you're rocking in the corner, a full grown dog addict, wondering where your next St Bernand is coming from..." - IAJTHOMAS
"Did they say what he's angry about?" asked Annette Mitchell, 77, of the district, stranded after seeing a double feature of "Piranha 3D" and "The Last Exorcism." - Washington Post
-
AlexCross
- Posts: 6
- Joined: 2007-11-08 04:27
Re: [Question] Сustomed .exe:How to compile?
I just thought that PR team could told me, how they are compiled that code 
-
M.0.D
- Posts: 138
- Joined: 2006-05-07 21:54
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
Perhaps it is explained in the exe what path is used for what
-
AlexCross
- Posts: 6
- Joined: 2007-11-08 04:27
Re: [Question] Сustomed .exe:How to compile?
No it's launch-exe... I hope 
-
[fh]ctz
- Posts: 7
- Joined: 2007-12-11 01:36
Re: [Question] Сustomed .exe:How to compile?
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.AlexCross wrote:Can you help me?
I did it for them and sent them the exe.AlexCross wrote:I just thought that PR team could told me, how they are compiled that code![]()
-
AlexCross
- Posts: 6
- Joined: 2007-11-08 04:27
Re: [Question] Сustomed .exe:How to compile?
Yeah, that's better. But I still have errors:Try naming the file .c and perhaps Dev-C++ will do the right thing.
[Linker error] undefined reference to `_imp__PathAppendA@8'

