Are you banned? Problems registering?

Are you banned, but don't think you did wrong? Are you having problems registering? Read this post first. If you still have questions, contact forum staff at staff (at) skyscrapersim (dot) com to get help.

Author Topic: Source builds on Linux, and SVN info  (Read 13014 times)

Offline eventhorizon

  • Administrator
  • *****
  • Posts: 3271
    • The Skyscraper Project
Re: Source builds on Linux, and SVN info
« Reply #60 on: November 12, 2015, 05:42:40 PM »
(and yes, I know, I've been gone for I don't even know how long, and no, I don't plan on becoming active again)

The website for the FMOD API seems to want you to register to download the thing. To save everybody else the trouble of going through that, well, see the attachment. This *seems* to be okay to do according to a quick skim of the license, as long as you don't download it from here for commercial purposes.

I recently saw that you had to register, and that just complicates things for others to build Skyscraper.  With CS, it was relatively easier because CS contained both the sound and collision detection, yet today Fmod and Bullet are much better but a little harder to set up.  Also the FMOD API is now legacy, and they have something different as a replacement.
« Last Edit: November 12, 2015, 05:44:30 PM by eventhorizon » »

Offline eventhorizon

  • Administrator
  • *****
  • Posts: 3271
    • The Skyscraper Project
Re: Source builds on Linux, and SVN info
« Reply #61 on: November 12, 2015, 07:06:23 PM »
I recently saw that you had to register, and that just complicates things for others to build Skyscraper.  With CS, it was relatively easier because CS contained both the sound and collision detection, yet today Fmod and Bullet are much better but a little harder to set up.  Also the FMOD API is now legacy, and they have something different as a replacement.

I'm actually considering on swapping out the sound system with an open-source one, if I can find a good replacement.

Update - so far FMOD might be the best to use right now.  I might try to see if the FMOD Studio (replacement for FMOD Ex which Skycraper uses) would be better too.
« Last Edit: November 13, 2015, 12:05:13 AM by eventhorizon » »

Offline eventhorizon

  • Administrator
  • *****
  • Posts: 3271
    • The Skyscraper Project
Re: Source builds on Linux, and SVN info
« Reply #62 on: December 04, 2015, 01:11:29 PM »
I updated the page recently due to the switch to FMOD Studio.  The Linux and Mac versions will automatically use either one, but it's highly recommended to switch to FMOD Studio.

To do so, first erase the old /usr/local/include/fmodex folder:
Code: [Select]
cd /usr/local/include
sudo rm -rf fmodex
and the old libraries
Code: [Select]
cd /usr/local/lib
sudo rm libfmod*

Then follow the instructions on the first post in this thread to install FMOD Studio.  After installing it, clean, reconfigure and rebuild Skyscraper:
Code: [Select]
cd
cd skyscraper
make clean
rm -rf CMakeFiles
rm CMakeCache.txt
cmake -DCMAKE_CXX_FLAGS="-fPIC -DBT_USE_DOUBLE_PRECISION"
make

Offline eventhorizon

  • Administrator
  • *****
  • Posts: 3271
    • The Skyscraper Project
Re: Source builds on Linux, and SVN info
« Reply #63 on: January 16, 2016, 06:59:50 PM »
If you're building from source on Linux, I added a new double-precision option to Ogre.  To use this, rebuild Ogre and Caelum, and then rebuild Skyscraper.

Offline eventhorizon

  • Administrator
  • *****
  • Posts: 3271
    • The Skyscraper Project
Re: Source builds on Linux, and SVN info
« Reply #64 on: August 09, 2016, 08:11:40 PM »
There's some new SVN statistics pages.  The graph was there for a while, but is now being automatically updated:

Skyscraper SVN stats:
http://www.skyscrapersim.com/stats/

Repository Graph:
http://svn.tliquest.net/graphs/skyscraper.png

These are updated weekly and are listed on the SVN main page, http://svn.tliquest.net

Offline eventhorizon

  • Administrator
  • *****
  • Posts: 3271
    • The Skyscraper Project
Re: Source builds on Linux, and SVN info
« Reply #65 on: September 10, 2017, 11:02:15 PM »
I now have Skyscraper's API documentation up:
https://www.skyscrapersim.com/doc/skyscraper/classes.html
You can generate that yourself on a Linux machine, by installing doxygen, and then typing
Code: [Select]
doxygen Doxyfile in Skyscraper's folder.  The output is in the "docs" folder

Some other things from the http://svn.tliquest.net site:
Repository graph: http://svn.tliquest.net/graphs/skyscraper.png
and repository statistics: http://www.skyscrapersim.com/stats
« Last Edit: September 10, 2017, 11:05:15 PM by eventhorizon » »

Offline dannymozzer

  • Member
  • *****
  • Posts: 22
  • I love programming! And modding buildings!
Re: Source builds on Linux, and SVN info
« Reply #66 on: August 01, 2018, 09:11:29 AM »
Problem when using CMake:
Code: [Select]
/home/daniel/skyscraper/src/sbs/sbs.cpp:57:20: fatal error: revsbs.h: No such file or directory
 #include "revsbs.h"
                    ^
compilation terminated.
CMakeFiles/SBS.dir/build.make:758: recipe for target 'CMakeFiles/SBS.dir/src/sbs/sbs.cpp.o' failed
make[2]: *** [CMakeFiles/SBS.dir/src/sbs/sbs.cpp.o] Error 1
CMakeFiles/Makefile2:107: recipe for target 'CMakeFiles/SBS.dir/all' failed
make[1]: *** [CMakeFiles/SBS.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Missing file in the source code.

Offline eventhorizon

  • Administrator
  • *****
  • Posts: 3271
    • The Skyscraper Project
Re: Source builds on Linux, and SVN info
« Reply #67 on: August 02, 2018, 06:17:01 AM »
Problem when using CMake:
Code: [Select]
/home/daniel/skyscraper/src/sbs/sbs.cpp:57:20: fatal error: revsbs.h: No such file or directory
 #include "revsbs.h"
                    ^
compilation terminated.
CMakeFiles/SBS.dir/build.make:758: recipe for target 'CMakeFiles/SBS.dir/src/sbs/sbs.cpp.o' failed
make[2]: *** [CMakeFiles/SBS.dir/src/sbs/sbs.cpp.o] Error 1
CMakeFiles/Makefile2:107: recipe for target 'CMakeFiles/SBS.dir/all' failed
make[1]: *** [CMakeFiles/SBS.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Missing file in the source code.


That file should've generated automatically.  Try running this to fix it:
Code: [Select]
./svnrev.sh

 

Powered by EzPortal