Boothand Posted January 20, 2016 Posted January 20, 2016 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: 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
ensiform Posted January 20, 2016 Posted January 20, 2016 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.
Boothand Posted January 20, 2016 Author Posted January 20, 2016 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.
Xycaleth Posted January 20, 2016 Posted January 20, 2016 What does the build output say? That might have some more information as to what's happening.
Boothand Posted January 20, 2016 Author Posted January 20, 2016 1>------ Build started: Project: Assets, Configuration: Release Win32 ------1> Building Custom Rule C:/Users/Rune/Desktop/OpenJK/codemp/CMakeLists.txt1> 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.pk31>1> 7-Zip [64] 9.38 beta Copyright © 1999-2014 Igor Pavlov 2015-01-031>1> Scanning1>1> Updating archive openjk-x86.pk31>1> Compressing Assets.vcxproj1> Compressing Assets.vcxproj.filters1> Compressing CMakeFiles\generate.stamp1> Compressing CMakeFiles\generate.stamp.depend1> Compressing cmake_install.cmake1> Compressing INSTALL.vcxproj1> Compressing INSTALL.vcxproj.filters1> Compressing openjk-x86.pk31> Compressing PACKAGE.vcxproj1> Compressing PACKAGE.vcxproj.filters1> Compressing Win32\Release\Assets\Assets.log1>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.lastbuildstate1> Compressing Win32\Release\Assets\Assets.tlog\custombuild.command.1.tlog1> Compressing Win32\Release\Assets\Assets.tlog\custombuild.read.1.tlog1> Compressing Win32\Release\Assets\Assets.tlog\custombuild.write.1.tlog1> Compressing Win32\Release\Assets\Assets.tlog\unsuccessfulbuild1>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 file1>1> Kernel Time = 0.000 = 0%1> User Time = 0.000 = 0%1> Process Time = 0.000 = 0% Virtual Memory = 285 MB1> Global Time = 0.040 = 100% Physical Memory = 30 MB1>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 ==========
ensiform Posted January 20, 2016 Posted January 20, 2016 That means jk2 built just fine. The assets part for mp dlls didn't package is all.
Boothand Posted January 20, 2016 Author Posted January 20, 2016 SDL2.dll is missing from the Release build too, though. So still can't run it.
ensiform Posted January 20, 2016 Posted January 20, 2016 Because you've not put it in the directory with the game. It's under lib/SDL2/bin and select x86 if older than vs 2015 otherwise you want the x86 2015 one.It's copied if configured to install. As the buildbot does include it for jka.
ensiform Posted January 22, 2016 Posted January 22, 2016 In theory yes but not necessarily as it was grafted to the jka engine and there are issues with modern compilers, saves, and such. If you have the pack files for glow you can have dynamic glow and such for example. Smoo likes this
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now