Author Topic: The Blue Planet build repository  (Read 39861 times)

0 Members and 1 Guest are viewing this topic.

Offline niffiwan

  • 211
  • Eluder Class
Re: The Blue Planet build repository
sorry, no.  BP compatibility version is 3.7.0 compatible, but not BP "full".
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 

Offline Echelon9

  • 210
Re: The Blue Planet build repository
Update: The E has committed a fix to trunk for this bug in r9718.

Have identified why Mac is showing "black squares" and other visual corruption with the BP builds and default data -- Mantis 2861: AddressSanitizer: heap-buffer-overflow in opengl_shader_set_current().

I have assigned it to Valathil (rather presumptively of me) but any interested coders can take a look at provide patches if possible.

While the incomplete Mac support is the partial culprit, the engine is not gracefully falling back to a lesser graphics setting. With this Mantis report fixed, there would be improved support for Mac with BP.

The ultimate fix though, will be to support the OpenGL 3.2 Core profile on Mac, which has been a roadblock to better OpenGL performance on that platform.
« Last Edit: July 12, 2013, 12:41:22 am by Echelon9 »

 

Offline chief1983

  • Still lacks a custom title
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: The Blue Planet build repository
Made some OS X builds on Xcode 3.2.6.  Changed the SDK to 10.6, left the target 10.4, and had to change the target arch to i386 from ppc/i386.  Attached the project diff, might want to integrate it into the full BP patch.  We'll lose PPC support with this, but that's probably not a loss at this point and it's the best I've been able to accomplish.  As I said, I left the target 10.4 but if the code uses extensions that aren't available on a 10.4 system, then I suppose it won't run on that, or 10.5 for that matter.  More than I'm capable of figuring out at least.  Feel free to test and add to the first post if you'd like.

Code: [Select]
Index: FS2_Open.xcodeproj/project.pbxproj
===================================================================
--- FS2_Open.xcodeproj/project.pbxproj (revision 9694)
+++ FS2_Open.xcodeproj/project.pbxproj (working copy)
@@ -4174,10 +4174,6 @@
  344BA94E095A5A2000B9D97D /* Debug */ = {
  isa = XCBuildConfiguration;
  buildSettings = {
- ARCHS = (
- ppc,
- i386,
- );
  LIBRARY_SEARCH_PATHS = (
  "$(LIBRARY_SEARCH_PATHS)",
  "$(SRCROOT)/../../lua",
@@ -4208,10 +4204,6 @@
  34BE722D08C940D200673B45 /* Debug */ = {
  isa = XCBuildConfiguration;
  buildSettings = {
- ARCHS = (
- ppc,
- i386,
- );
  GCC_PREPROCESSOR_DEFINITIONS = (
  _DEBUG,
  SCP_UNIX,
@@ -4248,10 +4240,6 @@
  34BE723108C940D200673B45 /* Debug */ = {
  isa = XCBuildConfiguration;
  buildSettings = {
- ARCHS = (
- ppc,
- i386,
- );
  COPY_PHASE_STRIP = NO;
  DEAD_CODE_STRIPPING = NO;
  FRAMEWORK_SEARCH_PATHS = (
@@ -4320,10 +4308,6 @@
  34BE723508C940D200673B45 /* Debug */ = {
  isa = XCBuildConfiguration;
  buildSettings = {
- ARCHS = (
- ppc,
- i386,
- );
  FRAMEWORK_SEARCH_PATHS = ./Frameworks;
  GCC_SYMBOLS_PRIVATE_EXTERN = NO;
  HEADER_SEARCH_PATHS = (
@@ -4375,16 +4359,13 @@
  34BE723908C940D200673B45 /* Debug */ = {
  isa = XCBuildConfiguration;
  buildSettings = {
- ARCHS = (
- ppc,
- i386,
- );
+ ARCHS = i386;
  COPY_PHASE_STRIP = NO;
  CURRENT_PROJECT_VERSION = "3.6.19-trunk";
  DEAD_CODE_STRIPPING = NO;
  DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
  DEPLOYMENT_POSTPROCESSING = YES;
- GCC_MODEL_TUNING = G5;
+ GCC_MODEL_TUNING = "";
  GCC_OPTIMIZATION_LEVEL = 0;
  GCC_PREPROCESSOR_DEFINITIONS = (
  _DEBUG,
@@ -4398,7 +4379,7 @@
  INFOPLIST_PREPROCESS = YES;
  MACOSX_DEPLOYMENT_TARGET = 10.4;
  PRODUCT_NAME = "FS2_Open (debug)";
- SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
+ SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
  STRIP_INSTALLED_PRODUCT = NO;
  UNSTRIPPED_PRODUCT = YES;
  WARNING_CFLAGS = "-Wno-char-subscripts";
@@ -4408,10 +4389,7 @@
  34BE723A08C940D200673B45 /* Release */ = {
  isa = XCBuildConfiguration;
  buildSettings = {
- ARCHS = (
- ppc,
- i386,
- );
+ ARCHS = i386;
  COPY_PHASE_STRIP = NO;
  CURRENT_PROJECT_VERSION = "3.6.19-trunk";
  DEAD_CODE_STRIPPING = YES;
@@ -4419,7 +4397,7 @@
  DEPLOYMENT_POSTPROCESSING = YES;
  GCC_DEBUGGING_SYMBOLS = default;
  GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
- GCC_MODEL_TUNING = G5;
+ GCC_MODEL_TUNING = "";
  GCC_OPTIMIZATION_LEVEL = 3;
  GCC_PREPROCESSOR_DEFINITIONS = (
  NDEBUG,
@@ -4434,7 +4412,7 @@
  INFOPLIST_PREPROCESS = YES;
  MACOSX_DEPLOYMENT_TARGET = 10.4;
  PRODUCT_NAME = FS2_Open;
- SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
+ SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
  SEPARATE_STRIP = YES;
  WARNING_CFLAGS = "-Wno-char-subscripts";
  };
@@ -4587,10 +4565,6 @@
  F0AAA89F10FA0A7C0086B1B4 /* Debug */ = {
  isa = XCBuildConfiguration;
  buildSettings = {
- ARCHS = (
- ppc,
- i386,
- );
  GCC_PREPROCESSOR_DEFINITIONS = (
  _DEBUG,
  SCP_UNIX,
@@ -4625,10 +4599,6 @@
  F0AAA90B10FA0CAA0086B1B4 /* Debug */ = {
  isa = XCBuildConfiguration;
  buildSettings = {
- ARCHS = (
- ppc,
- i386,
- );
  GCC_PREPROCESSOR_DEFINITIONS = (
  _DEBUG,
  SCP_UNIX,

[attachment deleted by ninja]
« Last Edit: June 13, 2013, 03:06:21 pm by chief1983 »
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline Arpit

  • 27
Re: The Blue Planet build repository
Sorry to jump in this thread but I have a very weird issue with these builds.  :banghead:
Glowpoint overrides on AoA ships don't seem to work while playing with WiH. They work only when selected with AoA.
But they work on the original builds.  :wtf:

Does this happen for other people too? Or is it a issue on my end? Can someone confirm this?

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: The Blue Planet build repository
Builds have been updated to current trunk.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Arpit

  • 27
Re: The Blue Planet build repository
Builds have been updated to current trunk.

Huh, they are still not working for me?  :confused:
I don't get glowpoint overrides on Aoa ships.  :banghead:
Please help me!

 

Offline Echelon9

  • 210
Re: The Blue Planet build repository
The E, could you please reissue the BP.patch file against a more recent trunk version. Will save each coder manually fixing up a few spots each time now.

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: The Blue Planet build repository
I've updated the patch. Sorry for the delay,
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Yarn

  • 210
Re: The Blue Planet build repository
The patch doesn't apply completely to revision 9748. Could you update it please?
"Your fighter is running out of oil.  Please check under the hood and add more if necessary"
--strings.tbl, entry 177

"Freespace is very tired.  It is shutting down to get some rest."
--strings.tbl, entry 178

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: The Blue Planet build repository
I've updated it to current trunk
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Yarn

  • 210
Re: The Blue Planet build repository
Starting with trunk revision 9783, the BP patch no longer compiles in MSVC 2012. These errors are produced:
Code: [Select]
2>freespace.obj : error LNK2001: unresolved external symbol "struct CFILE * __cdecl cfopen(char const *,char const *,int,int,bool)" (?cfopen@@YAPAUCFILE@@PBD0HH_N@Z)
2>freespace.obj : error LNK2001: unresolved external symbol "int __cdecl cfputs(char const *,struct CFILE *)" (?cfputs@@YAHPBDPAUCFILE@@@Z)
2>freespace.obj : error LNK2001: unresolved external symbol "int __cdecl cfwrite_string(char const *,struct CFILE *)" (?cfwrite_string@@YAHPBDPAUCFILE@@@Z)
2>freespace.obj : error LNK2001: unresolved external symbol "int __cdecl cfile_init(char const *,char const *)" (?cfile_init@@YAHPBD0@Z)
2>freespace.obj : error LNK2001: unresolved external symbol "int __cdecl get_mission_info(char const *,struct mission *,bool)" (?get_mission_info@@YAHPBDPAUmission@@_N@Z)
2>freespace.obj : error LNK2001: unresolved external symbol "int __cdecl cf_get_file_list(int,char * *,int,char const *,int,struct file_list_info *)" (?cf_get_file_list@@YAHHPAPADHPBDHPAUfile_list_info@@@Z)
2>C:\Games\FreeSpace2\fs2_open\projects\MSVC_2011\Release SSE2\fs2_open_3_7_1_SSE2_BP.exe : fatal error LNK1120: 6 unresolved externals
"Your fighter is running out of oil.  Please check under the hood and add more if necessary"
--strings.tbl, entry 177

"Freespace is very tired.  It is shutting down to get some rest."
--strings.tbl, entry 178

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: The Blue Planet build repository
You need to do a "Rebuild All" to fix those.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Yarn

  • 210
Re: The Blue Planet build repository
I tried a clean build and got these errors:
Code: [Select]
5>..\..\code\model\modelread.cpp(2715): error C2664: 'parse_modular_table' : cannot convert parameter 2 from 'void (__cdecl *)(char *)' to 'void (__cdecl *)(const char *)'
5>          None of the functions with this name in scope match the target type
...
6>LINK : fatal error LNK1181: cannot open input file 'C:\Games\FreeSpace2\fs2_open\projects\MSVC_2011\Release SSE2\code.lib'

It might be time to update the patch again (and, with AVX added to trunk, it most definitely is).
"Your fighter is running out of oil.  Please check under the hood and add more if necessary"
--strings.tbl, entry 177

"Freespace is very tired.  It is shutting down to get some rest."
--strings.tbl, entry 178

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: The Blue Planet build repository
Done.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Yarn

  • 210
Re: The Blue Planet build repository
Are you sure you updated the patch? The patch is still dated August 17, and I'm still getting the two errors above.
"Your fighter is running out of oil.  Please check under the hood and add more if necessary"
--strings.tbl, entry 177

"Freespace is very tired.  It is shutting down to get some rest."
--strings.tbl, entry 178

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: The Blue Planet build repository
Ah. sorry, I uploaded it to the wrong folder on the ftp. Should be fixed now.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Yarn

  • 210
Re: The Blue Planet build repository
Now I'm not even able to open the project. If I try to do so, I get these errors:
Code: [Select]
C:\Games\FreeSpace2\fs2_open\projects\MSVC_2011\Freespace2.vcxproj : error  : Unable to read the project file "Freespace2.vcxproj".
C:\Games\FreeSpace2\fs2_open\projects\MSVC_2011\Freespace2.vcxproj(50,2): The project file could not be loaded. Name cannot begin with the '<' character, hexadecimal value 0x3C. Line 50, position 2.

C:\Games\FreeSpace2\fs2_open\projects\MSVC_2011\libjpeg.vcxproj : error  : Unable to read the project file "libjpeg.vcxproj".
C:\Games\FreeSpace2\fs2_open\projects\MSVC_2011\libjpeg.vcxproj(50,2): The project file could not be loaded. Name cannot begin with the '<' character, hexadecimal value 0x3C. Line 50, position 2.

C:\Games\FreeSpace2\fs2_open\projects\MSVC_2011\liblua.vcxproj : error  : Unable to read the project file "liblua.vcxproj".
C:\Games\FreeSpace2\fs2_open\projects\MSVC_2011\liblua.vcxproj(51,2): The project file could not be loaded. Name cannot begin with the '<' character, hexadecimal value 0x3C. Line 51, position 2.

C:\Games\FreeSpace2\fs2_open\projects\MSVC_2011\libpng.vcxproj : error  : Unable to read the project file "libpng.vcxproj".
C:\Games\FreeSpace2\fs2_open\projects\MSVC_2011\libpng.vcxproj(49,2): The project file could not be loaded. Name cannot begin with the '<' character, hexadecimal value 0x3C. Line 49, position 2.

C:\Games\FreeSpace2\fs2_open\projects\MSVC_2011\zlib.vcxproj : error  : Unable to read the project file "zlib.vcxproj".
C:\Games\FreeSpace2\fs2_open\projects\MSVC_2011\zlib.vcxproj(49,2): The project file could not be loaded. Name cannot begin with the '<' character, hexadecimal value 0x3C. Line 49, position 2.

C:\Games\FreeSpace2\fs2_open\projects\MSVC_2011\code.vcxproj : error  : Unable to read the project file "code.vcxproj".
C:\Games\FreeSpace2\fs2_open\projects\MSVC_2011\code.vcxproj(49,2): The project file could not be loaded. Name cannot begin with the '<' character, hexadecimal value 0x3C. Line 49, position 2.

C:\Games\FreeSpace2\fs2_open\projects\MSVC_2011\Fred2.vcxproj : error  : Unable to read the project file "Fred2.vcxproj".
C:\Games\FreeSpace2\fs2_open\projects\MSVC_2011\Fred2.vcxproj(51,2): The project file could not be loaded. Name cannot begin with the '<' character, hexadecimal value 0x3C. Line 51, position 2.
"Your fighter is running out of oil.  Please check under the hood and add more if necessary"
--strings.tbl, entry 177

"Freespace is very tired.  It is shutting down to get some rest."
--strings.tbl, entry 178

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: The Blue Planet build repository
oh for ****s sake

EDIT: Please try again.
« Last Edit: September 14, 2013, 01:38:35 pm by The E »
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Yarn

  • 210
Re: The Blue Planet build repository
It's working now.
"Your fighter is running out of oil.  Please check under the hood and add more if necessary"
--strings.tbl, entry 177

"Freespace is very tired.  It is shutting down to get some rest."
--strings.tbl, entry 178

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: The Blue Planet build repository
Builds updated again to latest trunk
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns