The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to compile Sphere
Author Message
Lucas
Apprentice
*

Posts: 8
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2020
Reputation: 0



Post: #1
How to compile Sphere
Hello team, we are trying to compile sphere-56d in some specific releases. I have tried with VS2010 and VS2015, but im facing some "warnings" during the compile in the both (screen1.jpg), do you guys know the correct way to compile sphere? The build is compiled successfully, despite the warnings.

Follow my VS2015 version (screen2.jpg).
04-22-2020 09:53 AM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #2
RE: How to compile Sphere
These messages are not errors, just some compiler warnings that can be safely ignored. But you can also disable these messages easily, you just need to right-click on project name > properties > C/C++ > general, and change "warning level" from level 4 to level 2

Anyway, this source code is from 07/feb/2017, which is outdated and will make your server highly vulnerable because it doesn't have any fix from past 4 years. It's recommended always use the latest source code available (https://github.com/Sphereserver/Source) to get the latest fixes/features, and also the latest visual studio version (current version is 2019)
(This post was last modified: 04-24-2020 06:32 AM by Coruja.)
04-24-2020 06:31 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)