On Fri, 1 Sep 2017 15:50:06 +0200, Niran wrote: i'm now at a successful configure, starting the viewer VS project file and > getting fatal errors basically as soon as the first file start to compile. > > 6>f:\blackdragon64\indra\llcommon\llapp.h(307): error C2061: syntax error : > identifier 'siginfo_t' (F:\BlackDragon64\indra\llcommon\llapp.cpp) > 6>f:\blackdragon64\indra\llcommon\llmemory.h(93): fatal error C1189: #error > : "LL_ALIGN_PREFIX and LL_ALIGN_POSTFIX undefined" >.../... > The error list goes on and on and on, every second file errors out, every > project fatally fails compiling from what i assume is a problem with the > compile not knowing i'm trying to compile for Windows. From the llmemory.h > file i can see that the error should only ever happen if neither Mac/Linux > nor Windows are specified to be used. > > #if LL_LINUX || LL_DARWIN > > #define LL_ALIGN_PREFIX(x) > #define LL_ALIGN_POSTFIX(x) __attribute__((aligned(x))) > > #elif LL_WINDOWS > > #define LL_ALIGN_PREFIX(x) __declspec(align(x)) > #define LL_ALIGN_POSTFIX(x) > > #else > #error "LL_ALIGN_PREFIX and LL_ALIGN_POSTFIX undefined" > #endif > > This is the specific snipped i'm talking about. However, that brings up the > question, why does this happen, where and how can i fix it, i hg checked > against the successful Alex Ivy build, every single file of importance, all > cmake files and so on, they all seem fine and basically exactly the same > except the name of the Viewer.
Obviously, LL_WINDOWS is not defined. It is normally set in the indra/cmake/00-Common.cmake file and indeed, it's missing in Alex Ivy's. Between line 79 and 80, under "add_definitions(", simply insert: /DLL_WINDOWS=1 Note that LL_LINUX and LL_DARWIN defines are equally missing from Alex Ivy's indra/cmake/00-Common.cmake file... Maybe they are passed in the command line now ? Henri. _______________________________________________ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges