Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > CopperCube Open discussion
Has anybody compiled the 5.7.1 C++ source before?

j9907
Registered User
Quote
2018-10-07 01:55:01

I'd like to learn how to compile this code... I keep running into issues, though... I want to make some small edits to some of the default behaviors (namely the keybindings for the controls) and nothing terribly large, but I cannot for the life of me find out how to do this! I usually can do stuff after lots of troubleshooting, but it keeps erroring out about it not finding "flacelib.lib" or something like that... What visual studio version is known to work best? 2005, 2008, 2010, or 2013?


I would greatly appreciate any help!


niko
Moderator
Quote
2018-10-08 07:36:56

For CopperCube 5, everything >= VS 2005 should work. Best would be VS 2005.
If it cannot find the flacelib.lib, then it wasn't able to compile something in that lib and not able to create it. So there should be another error in that lib. Look for the error which happened while compiling that.


j9907
Registered User
Quote
2018-10-08 08:09:03

hmm, alright. Thanks for telling me. I'll try again (in a VM). I think you said with 6 Studio it comes with a VS 2017 solution. Correct?


j9907
Registered User
Quote
2018-10-08 08:33:51

I'm using Visual Studio 2005 Professional and I looked at the log more carefully and it mentioned how some stuff was deprecated and if I wanted to bypass this I need to add the argument:

_CRT_SECURE_NO_DEPRECATE

to the project settings. This fixed that issue, but now it's saying:

c:\users\name\documents\coppercube-5-7-1-cplusplus\src\flacelib\irrhelpers.cpp(553) : warning C4273: '_errno' : inconsistent dll linkage
c:\program files (x86)\microsoft visual studio 8\vc\include\stdlib.h(267) : see previous definition of '_errno'


niko
Moderator
Quote
2018-10-08 10:00:28

Those are only warnings, you can ignore them.
Important are the errors. You need to look for those. Errors are things which prevent your build from working.

Yes, version 6 builds with VS 2017


j9907
Registered User
Quote
2018-10-08 10:06:42

This is weird... hmm, here's the build log (I changed the username to a generic one - otherwise it's untouched)

https://mega.nz/!KpklGKSK!vZg50wrYffjg6TDH6gnIWInzvJAF3QEu3KX4ahQEvds


j9907
Registered User
Quote
2018-10-08 10:33:09

It primarily gives me error C4311 which is apparently related to it being compiled on 64 bit... hmm...


j9907
Registered User
Quote
2018-10-08 10:47:45

Actually this can't be the reason. i tried to compile in an XP VM and it gave error code C4244... That, from what I gather, is related to 64 bit stuff. Good lord this is kinda frustrating (but admittedly fun)

Also C4267


niko
Moderator
Quote
2018-10-09 10:31:29

Can't you just paste the actual error messages into here? It's text after all.
That mega link doesn't work for me, btw.


j9907
Registered User
Quote
2018-10-09 10:45:55

Huh, yeah that's weird. The link didn't work for me either... The logs are very long, but I'm seeing it is complaining about DirectX-related stuff, and I know @erik, a fellow user here, mentioned how he needed to install the DirectX SDK before it would compile. I just installed what I think is the correct thing (DirectX 2010 SDK) and I'm compiling it right now.


If I can get this to compile, I'll start over and do it all in CC5 since I'd like unprecedented control and I want to target Flash and potentially D3D8 (my project is aiming to recreate a game from the PlayStation 2 era, so I need it to run nicely and meet the requirements which machines had back in 2002 - the game's release year). I've started over on this project probably 5 times now... haha


j9907
Registered User
Quote
2018-10-09 10:51:37

Yeah I give up on compiling this. It tosses me errors no matter what I try. I'll email you the build logs. Maybe you can make sense of this nonsense! lol


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internatio?al" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact