Jump to content

OpenJK Compile Error (ALut.lib)


Recommended Posts

Posted

Every time I try to compile OpenJK, I first get errors concerning "q_shared.cpp" and "q_math.cpp", stating that they "don't exist" . After I replace them with the existing files, I then run into a couple of .exe errors stating the same thing about "game/q_math.cpp" and "game/q_shared.cpp" (?) and I replace those. After doing that, I try to build my solution, only to read this:

 

Error LNK1181: cannot open input file 'ALut.lib'
 
This has been going on for awhile now... I have no idea how it started. I tried reinstalling VS2010 and SP1, but no joy.
Posted

Yeah I had that too on singleplayer code. I had to manually redo the paths to the missing .cpp files, they are still there but in "\qcommon". Had to move "ALut.lib" to the root of the "code" folder. I'm sure there's a better way to get it to work but I don't know how and I just wanted to compile some code lol.

 

I guess no one's been updating the VS files as well.

Posted

Get CMake GUI version, set "Source directory" to the folder which contains codemp, code, and codeJK2. Set output directory to /build/. Hit configure. Select your compiler. Then set your settings, and hit Generate. It will create files in your /build/ directory.

Tempust85 likes this

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...