Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

Make a New PostPrevious ThreadView All ThreadsNext ThreadShow in Flat Mode*


SubjectMultiple .cpp problem Reply to this message
Posted byfinaldave
Posted on11/12/03 06:35 AM



> You're specifically disallowed from hitting any hardware registers. And yes,
> DX8 has "1.1" pixel and vertex shaders - the XGPU is essentially a "DX8.0 part"
> (GF3 with some GF4 features, in this case).
>

Sorry to bring this up (again)... it just that I'm in a bit of a mess on this one!:

Remember I said that this PS2 project I was working on was a bit strange in that they just #included every CPP file into on big file and then compiled that?

Well anyway I've been told in no undercertain terms that that is the way it is staying, because compiling the cpps seperately would increase the compilation times (which I REALLY cannot understand, because everytime I change one CPP file I have to recompile about 12 others as well).

But now I have this problem: when I add in two lines (which can be anything - e.g. printf("test");), I get this error message and it won't compile:


ps2eeas version 1.9.25.758 @ "Z:\usr\local\sce\ee\gcc\ee\bin\ps2eeas.exe"
Second pass... patching
sys12A8.tmp(95047) : error: Could not pair all HI relocs with LOs
make[1]: *** [system_lib.o] Error 1
make: *** [system.a] Error 2

Which I take out the print("test"); the problem goes away!
But I can't add any more lines of code to the project!
[Update - hmm, weird - if I add 3 lines of code the the project, it compiles fine?]

I mean the single .cpp file is about 35k in total, and the token namespace will be massive - I'm thinking it's no wonder the compiler is struggling. What happens if we are 2 days away from mastering and this problem comes back?

Do you guys agree with me that this looks very much like it's a consequence of having all the CPPs in one file?
If so what should I do - everyone got quite defensive last time I tried to persuade them to alter the makefile, and I've been asked to work on something which I can't do because of these compiler errors?

Should I attempt to change the entire makefile locally? I get the feeling that would REALLY piss them off so I'm not keen...



You learn something old everyday...


-
Entire Thread
Subject  Posted byPosted On
*Another quick (OT) program query  finaldave11/07/03 08:34 AM
.*Re: Another quick (OT) program query  R. Belmont11/07/03 01:19 PM
..*Re: Another quick (OT) program query  finaldave11/07/03 01:31 PM
...*Re: Another quick (OT) program query  Bart T.11/07/03 04:34 PM
....*Re: Another quick (OT) program query  finaldave11/07/03 10:13 PM
.....*Re: Another quick (OT) program query  R. Belmont11/09/03 11:33 AM
.......Multiple .cpp problem  finaldave11/12/03 06:35 AM
.......*Re: Multiple .cpp problem  smf11/12/03 02:31 PM
........*Re: Multiple .cpp problem  finaldave11/13/03 11:53 AM
.........*OH YOU'RE fucking going to love this  finaldave11/14/03 10:06 AM
..........*Re: OH YOU'RE fucking going to love this  Bart T.11/14/03 12:24 PM
...........*Actually...!  finaldave11/15/03 04:18 PM
...........*Re: OH YOU'RE fucking going to love this  Stroff11/14/03 02:18 PM
............*Re: OH YOU'RE fucking going to love this  finaldave11/15/03 06:59 AM
.............*Re: OH YOU'RE fucking going to love this  Kayamon11/19/03 02:59 PM
..............*Re: OH YOU'RE fucking going to love this  R. Belmont11/19/03 10:27 PM
...............*Re: OH YOU'RE fucking going to love this  finaldave11/22/03 07:46 AM
................*Re: OH YOU'RE fucking going to love this  R. Belmont11/22/03 12:37 PM
.................*Re: OH YOU'RE fucking going to love this  ectordxm12/07/03 07:07 AM
.............*Re: OH YOU'RE fucking going to love this  smf11/15/03 07:19 PM
..............*Re: OH YOU'RE fucking going to love this  finaldave11/16/03 06:40 AM
............*Re: OH YOU'RE fucking going to love this  smf11/15/03 05:16 AM
.............*The resolution (i hope!)  finaldave11/19/03 08:44 AM
............*Re: OH YOU'RE fucking going to love this  R. Belmont11/15/03 00:41 AM
.............*Re: OH YOU'RE fucking going to love this  the_flip11/16/03 04:18 AM