i have GHostOne advanced remote host bot last version but i have some problems edditting it.
when i try to compile game.cpp (edited by me) gives me a lot of errors that i cannot solv (compile.txt file)
anyway...i cannot even compile the originat cpp file cuz he gives me a lot of errors too....so i think its my C++ compiler problems
i use Dev C++ compiler
what should i do?


PS: someone told me that i shall tri to compile again after i updat my libraries...is he right?

Dani AI

Generated

Quick, practical summary tied to the thread: the build failure you hit in Visual C++ Express during the "Embedding manifest" step usually means the manifest tool (mt.exe) could not find the target EXE to update. Before asking others to try your project, clean up your workspace and rebuild so the build output is deterministic — delete generated folders and files (.obj, Debug/Release, .vs, .suo, .ncb, etc.), then do a Rebuild All. That both reduces ZIP size for sharing and removes stale artifacts that confuse conversions between compilers/VS versions. (jpgrady28.azurewebsites.net)

Why that mt.exe error happens and what to check first: mt.exe is the Windows manifest tool and it expects the built binary to be where the linker put it. If the linker did not produce the EXE (link errors or missing libs), mt.exe fails with the message you saw. Common causes are (a) the project’s Linker Output File / Project Output Directory settings don’t match so the EXE is created somewhere else, (b) an anti-virus or another process locks the file during embedding, or (c) the manifest step is confused by a path with spaces or an unusual OutputFile setting. Verify Project → Properties → General (Output Directory / Target Name / Target Extension) and Linker → General → Output File, then Rebuild. As a temporary diagnostic you can disable manifest embedding (Linker → Manifest File → Generate Manifest = No) to see whether the error disappears — but only as a diagnostic, since that hides the underlying problem. (learn.microsoft.com)

Missing third‑party libs: Ancient Dragon correctly flagged a missing bncsutil dependency. Ghost/GHost projects typically require bncsutil (and StormLib, MySQL, etc.); either build bncsutil first (or obtain the matching prebuilt library) and point the project’s Additional Include Directories and Linker → Additional Library Directories to the correct paths, then add the .lib under Linker → Input → Additional Dependencies. The official repo contains build notes and the bncsutil folder you’ll need to consult. (github.com)

Minimal troubleshooting checklist (order): 1) Delete build artifacts and Rebuild; 2) Read the build log to confirm whether the linker produced ghost.exe and fix linker errors; 3) Confirm Linker OutputFile vs Project Output settings; 4) Build/restore bncsutil and other libs and add their include/lib paths; 5) If mt.exe still fails, try disabling antivirus or temporarily turn off manifest embedding to see whether that isolates the problem. When asking for help, attach a ZIP with only source + project files (no obj/bin) so others can reproduce quickly. (jpgrady28.azurewebsites.net)

Recommended Answers

All 14 Replies

Ask the person you got the source from what compiler they used, then get that compiler and use it to compiler. OR look through the errors, try and fix them. For example: In Visual Studio you write:

sprintf_s();

but in dev C++ that will return an error. It must be replaced with

sprintf();

also that cpp file doesn't help us at all because it has a ton of includes that are not included. Most of the errors are probably in those includes.

I looked through the errors and it looks like it was originally compiled on visual studio.

There is a message in that compile.txt file that states it must be compiled with VC++ 2008 (probably express edition will be ok).

yea i know in microsoft visual studio c++ expres eddition i may resolve my problems but i don't know how to compile in that program:D...please tell me how

i found out how to compile in microsoft visual c++ expres edition but now i have another problem....i cannot compile/build any file becose gives me this error :


1>------ Build started: Project: ghost, Configuration: Debug Win32 ------
1>Embedding manifest...
1>mt.exe : general error c10100b1: Failed to load file "..\Debug\ghost.exe". The system cannot find the path specified.
1>Build log was saved at "file://c:\Dragos\Project\ghost\ghost\Debug\BuildLog.htm"
1>ghost - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
anyway....if i tri to compile the original game.cpp file gives me the same error...so i think my visual c++ misses 1 file
if that isnt the problem tell me what is and how to resolve it pls

zip up the entire project and attach it to your post so that we can try to compile/link it ourselves. Please delete all compiler-generated files, such as *.obj and *.ncb to that the zip file is smaller.

i have only edited the game.cpp(GhostOne/ghost/game.cpp) file and the game_base.cpp(GhostOne/ghost/game_base.cpp)

also this program its not made by me...i have only downloaded and tried to edit it

and thx for help by the way

i cannot post the file....
Invalid Post specified. If you followed a valid link, please notify the administrator
this is what tells me after i attach file ...i think thi file size its too big (18MB)

Surely the source code is not 18MB, try deleting the files that Ancient Dragon mentioned.

he told me to post the whole program so he can try to compile it...welll the whole programe has 18MB

well this is the entire project:...

and thx again for your help :)

he told me to post the whole program so he can try to compile it...welll the whole programe has 18MB

Go back and re-read my post. I said to delete all compiler-generated files.

I downloaded that zip file and tried to compile it with VC++ 2008 Express but some errors on bncsutil library (its not on my computer). Where do I get it ?

dont rlly know...told ya i am noob in this thing

dont rlly know...told ya i am noob in this thing

You will have to get that library before you can attempt to compile the program you posted. google for it and see if that will find it.

man sry for disturbing...i have fount a readme file in the directory where is my program instaled that tells you how to compile it...
thx for all

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.