Solution not compiling correctly - Help?

Grab your favourite IDE and tinker with the innards of game engines

Solution not compiling correctly - Help?

Postby Khan22 on Sun Aug 05, 2012 10:32 pm

Hello people!

I am pretty new to programming in c++ (or, programming in general), but I am very excited to learn more! I was hoping to start programming for source to learn more practical things, as I already know some basics by now. I followed the instructions on the Valve Dev wiki, but it seems like the solution doesn't compile as it should, and quite frankly I have no idea what the problem is...

I've looked around and I can't seem to find anything either on source related forums, or c++ related forums. It might just be me who is bad at looking, but I'm not typing this as an attempt among many to get some answers.

Highlight to read:
Code: Select all
1>------ Build started: Project: Client Episodic, Configuration: Release Win32 ------
2>------ Build started: Project: Server Episodic, Configuration: Release Win32 ------
1>  client_episodic-2005.vcxproj -> C:\Program Files\Steam\steamapps\sourcemods\nemus\src\game\client\.\Release_episodic\Client Episodic.dll
1>  The system cannot find the file specified.
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(183,5): error MSB3073: The command "if exist "bin\client.dll" attrib -r "bin\client.dll"
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(183,5): error MSB3073: copy "C:\Program Files\Steam\steamapps\sourcemods\nemus\src\game\client\Release_episodic\"client.dll "bin"
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(183,5): error MSB3073: if exist "bin\client.pdb" attrib -r "bin\client.pdb"
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(183,5): error MSB3073: if exist "C:\Program Files\Steam\steamapps\sourcemods\nemus\src\game\client\Release_episodic\"client.pdb copy "C:\Program Files\Steam\steamapps\sourcemods\nemus\src\game\client\Release_episodic\"client.pdb "bin\client.pdb"
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(183,5): error MSB3073:
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(183,5): error MSB3073: :VCEnd" exited with code 1.
2>     Creating library .\Release_episodic\Server Episodic.lib and object .\Release_episodic\Server Episodic.exp
2>  server_episodic-2005.vcxproj -> C:\Program Files\Steam\steamapps\sourcemods\nemus\src\game\server\.\Release_episodic\Server Episodic.dll
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


There's the compile log as I compile on release mode.

As you can see it says one of them succeeds, and one fails... Not at all sure what is going on or what should be going on... I appreciate any help I can get, thanks :wink:
Khan22
Dumpling
Dumpling
 
Joined: Sun Aug 05, 2012 10:19 pm

Re: Solution not compiling correctly - Help?

Postby MaCKaN on Mon Aug 06, 2012 12:04 am

Might be a long shot but are you sure the path they say is correct? C:\Program Files\Steam\steamapps\sourcemods\nemus\src\game\server\.\release_episodic\Server

I got similar errors when I changed computers and just dragged along my external harddrive with Steam on it, the external harddrive changed drive letter and thus the path wasn't correct.

If this is the case there's settings to correct in Properties of Client and Server, I'm not sure exactly which ones though since I preferred to just change drive letter.
MaCKaN
Dumpling
Dumpling
 
Joined: Mon Jul 09, 2012 3:03 pm

Re: Solution not compiling correctly - Help?

Postby Khan22 on Mon Aug 06, 2012 10:32 am

MaCKaN wrote:Might be a long shot but are you sure the path they say is correct? C:\Program Files\Steam\steamapps\sourcemods\nemus\src\game\server\.\release_episodic\Server
...


I too think that path is incorrect.. I think it's supposed to be in the bin folder right inside my mod, but I have no idea how to specify that. In the setup tutorials they simply tell you to put in $(TargetPath) somewhere in the server and client properties... Which I've done, but I have a feeling C++ thinks that's somewhere completely different from where it should be, but I have absolutely no idea how it's supposed to work!
Khan22
Dumpling
Dumpling
 
Joined: Sun Aug 05, 2012 10:19 pm

Return to Programming

Who is online

Users browsing this forum: No registered users