Jump to content

Build error on JK2sp


Boothand

Recommended Posts

Generated with cmake, JK2sp engine, game and renderer -> Debug gives files but they tell me SDL2.dll is missing from the system.

 

I try Release, they tell me, in the middle of the compile:

 

Screenshot%202016-01-20%2003.20.29.png?d

 

The latter happens consistently, taking it out of git directories, restarting computer etc.

To clarify, JKA isn't needed to run JK2SP on OpenJK, right?

Smoo likes this
Link to comment

Its not saying which executable was being used unfortunately so its difficult to say.  This can happen if the game is still running if you're launching from the build directory, or it could be one of the compiler tools, cmake, etc.

 

Did you turn on all 3 build jk2 things in cmake?  You must use the JK2SP Client, JK2SP Game, and JK2SP Vanilla Renderer for JK2.  There is no startup +set com_jk2 1 or anything like that.  You still need to copy the SDL 2 dll to your game directory of course as per usual which is prebuilt for you.

Link to comment

Yeah, building all three, but I don't get any SDL2.dll generated or something.

As for a process being used, I tried closing Cmake, restarting computer before opening visual studio again etc. Though only Release stops mid-compile, debug also says cmd.exe exits with code 1, but I'm left with the three files. VS2015 community.

Link to comment

 

 

 

1>------ Build started: Project: Assets, Configuration: Release Win32 ------

1>  Building Custom Rule C:/Users/Rune/Desktop/OpenJK/codemp/CMakeLists.txt
1>  CMake does not need to re-run because C:\Users\Rune\Desktop\JK2spbuild\codemp\CMakeFiles\generate.stamp is up-to-date.
1>  Generating openjk-x86.pk3
1>
1>  7-Zip [64] 9.38 beta  Copyright © 1999-2014 Igor Pavlov  2015-01-03
1>
1>  Scanning
1>
1>  Updating archive openjk-x86.pk3
1>
1>  Compressing  Assets.vcxproj
1>  Compressing  Assets.vcxproj.filters
1>  Compressing  CMakeFiles\generate.stamp
1>  Compressing  CMakeFiles\generate.stamp.depend
1>  Compressing  cmake_install.cmake
1>  Compressing  INSTALL.vcxproj
1>  Compressing  INSTALL.vcxproj.filters
1>  Compressing  openjk-x86.pk3
1>  Compressing  PACKAGE.vcxproj
1>  Compressing  PACKAGE.vcxproj.filters
1>  Compressing  Win32\Release\Assets\Assets.log
1>CUSTOMBUILD : warning : The process cannot access the file because it is being used by another process.
1>
1>
1>  Compressing  Win32\Release\Assets\Assets.tlog\Assets.lastbuildstate
1>  Compressing  Win32\Release\Assets\Assets.tlog\custombuild.command.1.tlog
1>  Compressing  Win32\Release\Assets\Assets.tlog\custombuild.read.1.tlog
1>  Compressing  Win32\Release\Assets\Assets.tlog\custombuild.write.1.tlog
1>  Compressing  Win32\Release\Assets\Assets.tlog\unsuccessfulbuild
1>
1>
1>  WARNINGS for files:
1>
1>  Win32\Release\Assets\Assets.log : The process cannot access the file because it is being used by another process.
1>
1>
1>  ----------------
1>CUSTOMBUILD : warning : Cannot open 1 file
1>
1>  Kernel  Time =     0.000 =    0%
1>  User    Time =     0.000 =    0%
1>  Process Time =     0.000 =    0%    Virtual  Memory =    285 MB
1>  Global  Time =     0.040 =  100%    Physical Memory =     30 MB
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 1.
2>------ Skipped Build: Project: INSTALL, Configuration: Release Win32 ------
2>Project not selected to build for this solution configuration 
3>------ Skipped Build: Project: PACKAGE, Configuration: Release Win32 ------
3>Project not selected to build for this solution configuration 
========== Build: 0 succeeded, 1 failed, 11 up-to-date, 2 skipped ==========
 

 

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...