I put this here, because if i put this below, then i guess it will be missed.
Problem:
i cannot compile the sdk. I did not change a freaking thing. This is insane.
Ok, so i did convert the project files, thanks to PMB for his reference to the filebase... Now, the converting went ok. I also found files that the SDK was asking for, so it did not bother about it , and so it compiles... almost...
I am trying to compile the empty_serverplugin project, the only error i get is:
Quote:
serverplugin_empty.cpp
..\..\public\vector.h(245) : error C2485: 'align' : unrecognized extended attribute
..\..\public\vector.h(245) : error C2059: syntax error : '('
Error executing cl.exe.
|
which is in file Vector.h, the problem is 'align(16)' should be a regocnizable command! So , perhaps my MSVC 6.0 is screwed? or do i HAVE to install an SP of it? I'd rather avoid them... , but if thats the only way i will try.
I have to say, this HLSDK is way more bigger then the HL1SDK, and i get nuts when i look at it. Even an 'empty' project, as they call it, is FREAKING LARGE.
as reference, here is the code snipper
Code:
//-----------------------------------------------------------------------------
// Here's where we add all those lovely SSE optimized routines
//-----------------------------------------------------------------------------
#ifdef _WIN32
class __declspec(align(16)) VectorAligned : public Vector
#elif _LINUX
class __attribute__((aligned(16))) VectorAligned : public Vector
#endif
the error is at line 'class __declspec(align(16))....