# Game refuses to compile at all

**URL:** https://community.revolutionarygamesstudio.com/t/game-refuses-to-compile-at-all/1553
**Category:** Bug Reports
**Created:** [February 28, 2019, 12:21am UTC](https://community.revolutionarygamesstudio.com/t/game-refuses-to-compile-at-all/1553 "2019-02-28T00:21:45Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![phage](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/phage/32/2201_2.png) [@phage](https://community.revolutionarygamesstudio.com/u/phage)
#### Post date: [February 28, 2019, 12:21am UTC](https://community.revolutionarygamesstudio.com/t/game-refuses-to-compile-at-all/1553/1 "2019-02-28T00:21:45Z")

</div>

every time i try to compile the game i get this error message  
Graphics.cpp  
5\>C:\projects\Thrive\ThirdParty\Leviathan\build\ThirdParty\include\OGRE\Hlms/Pbs/OgreHlmsPbs.h(32): fatal error C1  
083: Cannot open include file: ‘OgreHlmsBufferManager.h’: No such file or directory [C:\projects\Thrive\ThirdPar  
ty\Leviathan\build\Engine\Engine.vcxproj]  
5\>Done Building Project “C:\projects\Thrive\ThirdParty\Leviathan\build\Engine\Engine.vcxproj” (default targets) –  
FAILED.  
1\>Done Building Project “C:\projects\Thrive\ThirdParty\Leviathan\build\ALL\_BUILD.vcxproj” (default targets) – FAI  
LED.

Build FAILED.

```
   "C:\projects\Thrive\ThirdParty\Leviathan\build\ALL_BUILD.vcxproj" (default target) (1) ->
   "C:\projects\Thrive\ThirdParty\Leviathan\build\Engine\Engine.vcxproj" (default target) (5) ->
   (ClCompile target) ->
     C:\projects\Thrive\ThirdParty\Leviathan\build\ThirdParty\include\OGRE\Hlms/Pbs/OgreHlmsPbs.h(32): fatal error
   C1083: Cannot open include file: 'OgreHlmsBufferManager.h': No such file or directory [C:\projects\Thrive\ThirdP
   arty\Leviathan\build\Engine\Engine.vcxproj]

0 Warning(s)
1 Error(s)

```

Time Elapsed 00:00:06.81

ERROR: Failed to compile Leviathan  
Stack trace for error:  
Setup.rb:183:in `block in <main>' Setup.rb:172:in`chdir’  
Setup.rb:172:in `’

ERROR: Leviathan Failed to Compile. Are you using a broken version? or has the setup process changed between versions  
Stack trace for error:  
C:/projects/Thrive/RubySetupSystem/Dependency.rb:216:in `block in Compile' C:/projects/Thrive/RubySetupSystem/Dependency.rb:214:in`chdir’  
C:/projects/Thrive/RubySetupSystem/Dependency.rb:214:in `Compile' C:/projects/Thrive/RubySetupSystem/Installer.rb:199:in`block in run’  
C:/projects/Thrive/RubySetupSystem/Installer.rb:190:in `each' C:/projects/Thrive/RubySetupSystem/Installer.rb:190:in`run’  
C:/projects/Thrive/SetupThrive.rb:94:in `’

---

<div class="post-metadata">

### Author: ![QuantumCrab](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/quantumcrab/32/12706_2.png) [@QuantumCrab](https://community.revolutionarygamesstudio.com/u/QuantumCrab)
#### Post date: [February 28, 2019, 12:32am UTC](https://community.revolutionarygamesstudio.com/t/game-refuses-to-compile-at-all/1553/2 "2019-02-28T00:32:38Z")

</div>

I think the problem here is that you are abusing the crank shaft, causing the system to overheat.

---

<div class="post-metadata">

### Author: ![phage](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/phage/32/2201_2.png) [@phage](https://community.revolutionarygamesstudio.com/u/phage)
#### Post date: [February 28, 2019, 12:34am UTC](https://community.revolutionarygamesstudio.com/t/game-refuses-to-compile-at-all/1553/3 "2019-02-28T00:34:51Z")

</div>

what do you mean?  
i literaly followed all of the instructions on github step by step and it will not compile

---

<div class="post-metadata">

### Author: ![QuantumCrab](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/quantumcrab/32/12706_2.png) [@QuantumCrab](https://community.revolutionarygamesstudio.com/u/QuantumCrab)
#### Post date: [February 28, 2019, 12:37am UTC](https://community.revolutionarygamesstudio.com/t/game-refuses-to-compile-at-all/1553/4 "2019-02-28T00:37:12Z")

</div>

I was kidding.  
But just so I can actually assist, have you by any chance installed it prior to this time?  
If the game is exposed to old files, it can get iffy.

---

<div class="post-metadata">

### Author: ![phage](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/phage/32/2201_2.png) [@phage](https://community.revolutionarygamesstudio.com/u/phage)
#### Post date: [February 28, 2019, 12:38am UTC](https://community.revolutionarygamesstudio.com/t/game-refuses-to-compile-at-all/1553/5 "2019-02-28T00:38:23Z")

</div>

no not in all, infact, this is on a pc that has windows freshly installed on it

---

<div class="post-metadata">

### Author: ![QuantumCrab](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/quantumcrab/32/12706_2.png) [@QuantumCrab](https://community.revolutionarygamesstudio.com/u/QuantumCrab)
#### Post date: [February 28, 2019, 12:39am UTC](https://community.revolutionarygamesstudio.com/t/game-refuses-to-compile-at-all/1553/6 "2019-02-28T00:39:55Z")

</div>

Hmmmm…  
in that case, wait for someone who actually works on the code to answer, cause I have no idea how to solve this.  
All I can see is that a file is missing.

---

<div class="post-metadata">

### Author: ![phage](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/phage/32/2201_2.png) [@phage](https://community.revolutionarygamesstudio.com/u/phage)
#### Post date: [February 28, 2019, 12:41am UTC](https://community.revolutionarygamesstudio.com/t/game-refuses-to-compile-at-all/1553/7 "2019-02-28T00:41:33Z")

</div>

thank you for helping me, i tired to get their attention on discord but they seem to either ignore me or be bussy

---

<div class="post-metadata">

### Author: ![QuantumCrab](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/quantumcrab/32/12706_2.png) [@QuantumCrab](https://community.revolutionarygamesstudio.com/u/QuantumCrab)
#### Post date: [February 28, 2019, 12:53am UTC](https://community.revolutionarygamesstudio.com/t/game-refuses-to-compile-at-all/1553/8 "2019-02-28T00:53:33Z")

</div>

Its a-ok.  
It usually takes a 24 hrs before everyone puts in their two cents. Before then, you may get lucky i dunno.  
Also, the discord can be pretty unreliable at times, so beware.

---

<div class="post-metadata">

### Author: ![hhyyrylainen](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/hhyyrylainen/32/32_2.png) [@hhyyrylainen](https://community.revolutionarygamesstudio.com/u/hhyyrylainen)
#### Post date: [February 28, 2019, 6:57am UTC](https://community.revolutionarygamesstudio.com/t/game-refuses-to-compile-at-all/1553/9 "2019-02-28T06:57:50Z")

</div>

You didn’t post the full log. That error is about Ogre headers. I’m interested in the whole thing, which will include information about if the Ogre compile succeeded or not).

I thought that maybe Ogre got updated and this error popped up but I just tried latest Ogre and it worked. So please post the actual full command output to [pastebin.com](http://pastebin.com) as it’s going to be long.

> [@QuantumCrab](#):
>
> I think the problem here is that you are abusing the crank shaft, causing the system to overheat.

Not really helping.

> [@phage](#):
>
> thank you for helping me, i tired to get their attention on discord but they seem to either ignore me or be bussy

It’s hard to respond while I’m sleeping…

Edit: it seems Ogre build failed on CI. Maybe it’s time to switch to using specific Ogre commits as just going with their 2.1 branch seems to cause issues.

---

<div class="post-metadata">

### Author: ![QuantumCrab](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/quantumcrab/32/12706_2.png) [@QuantumCrab](https://community.revolutionarygamesstudio.com/u/QuantumCrab)
#### Post date: [February 28, 2019, 7:01am UTC](https://community.revolutionarygamesstudio.com/t/game-refuses-to-compile-at-all/1553/10 "2019-02-28T07:01:27Z")

</div>

> [@hhyyrylainen](#):
>
> Not really helping.

Oi, I don’t know what system they are playing it on! For all we know it may be on a motorbike

---

<div class="post-metadata">

### Author: ![phage](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/phage/32/2201_2.png) [@phage](https://community.revolutionarygamesstudio.com/u/phage)
#### Post date: [February 28, 2019, 7:12am UTC](https://community.revolutionarygamesstudio.com/t/game-refuses-to-compile-at-all/1553/11 "2019-02-28T07:12:38Z")

</div>

[https://pastebin.com/4XZa6DJL](https://pastebin.com/4XZa6DJL) here is the full log

---

<div class="post-metadata">

### Author: ![hhyyrylainen](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/hhyyrylainen/32/32_2.png) [@hhyyrylainen](https://community.revolutionarygamesstudio.com/u/hhyyrylainen)
#### Post date: [February 28, 2019, 10:11am UTC](https://community.revolutionarygamesstudio.com/t/game-refuses-to-compile-at-all/1553/12 "2019-02-28T10:11:01Z")

</div>

That’s still not the full log. The full log should be many times longer. Your terminal likely cut off the beginning. You’d have to redirect the output to a file to get the full log (if you don’t know how google “how to redirect command output to file in windows”).

I think there is a problem with a new Ogre version. I just cleaned out my Ogre files and now I get the same error.  
I’ll try to resolve this ASAP (I have tons of school work to do, though).

Edit: I made a new commit to Thrive to hopefully fix it.  
Edit2: It is now fixed in CI at least.

---

<div class="post-metadata">

### Author: ![phage](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/phage/32/2201_2.png) [@phage](https://community.revolutionarygamesstudio.com/u/phage)
#### Post date: [February 28, 2019, 11:38pm UTC](https://community.revolutionarygamesstudio.com/t/game-refuses-to-compile-at-all/1553/13 "2019-02-28T23:38:21Z")

</div>

ok, here is the new full log (on the new iteration of the game)  
[https://pastebin.com/AGUCwgtg](https://pastebin.com/AGUCwgtg)

---

<div class="post-metadata">

### Author: ![hhyyrylainen](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/hhyyrylainen/32/32_2.png) [@hhyyrylainen](https://community.revolutionarygamesstudio.com/u/hhyyrylainen)
#### Post date: [March 1, 2019, 7:09am UTC](https://community.revolutionarygamesstudio.com/t/game-refuses-to-compile-at-all/1553/14 "2019-03-01T07:09:32Z")

</div>

Based on the fact that the setup used precompiled Ogre I don’t think you used the latest thrive commit. You need to be on the master branch and use “git pull” to get the latest changes. The setup seemed to fail because SFML was incorrectly cloned. Delete the Leviathan/ThirdParty/SFML folder and try again with the latest Thrive commit.
