Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filecopy on fresh sdk #1452

Open
Baer42 opened this issue Jan 2, 2014 · 1 comment
Open

Filecopy on fresh sdk #1452

Baer42 opened this issue Jan 2, 2014 · 1 comment

Comments

@Baer42
Copy link

Baer42 commented Jan 2, 2014

I got a fresh copy of goldsrc from here so I can build on vs2010. I am getting build errors where it will not copy the dlls to the mod folder. This is the error
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: The command "call ....\filecopy.bat C:\Program Files (x86)\Steam\SteamApps\common\Half-Life\mod\src\projects\vs2010\Release\hldll\hl.dll ......\game\mod\dlls\hl.dll
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: call ....\filecopy.bat C:\Program Files (x86)\Steam\SteamApps\common\Half-Life\mod\src\projects\vs2010\Release\hldll\hl.pdb ......\game\mod\dlls\hl.pdb
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd" exited with code 1.
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========
I sometimes get a p4 error also from the filecopy.bat. I had to go in and put error 4996 in Disable Specific Warnings to clear those up. I just cannot figure out why it will not copy to the mod folder, and it copies to the source code folder.
Any help or ideas appreciated.

Thanks

@dtugend
Copy link
Contributor

dtugend commented Jan 2, 2014

You'll have to create those folders in case they are not present. It's the same folders like in the original MSVC++ 6.0 .dsp files:
I.e. if you have installed the source to C:\Libraries\halflife you would have to create these folders:
C:\Libraries\game\mod\cl_dlls
C:\Libraries\game\mod\dlls

P4 (probably http://www.perforce.com) is a tool that Valve uses under Windows and Linux and probably Mac OS for I don't know. I have chosen to ignore p4 (it should build fine even when you don't have it, at least as far as Windows is concerned).

The next problem you'll run into is probably #1377, it's currently not fixed yet, a workaround might be to call SDL_SetRelativeMouseMode in the client (in IN_ActivateMouse, IN_DeactivateMouse) as described in that issue report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants