looking for windows developer to test cmake buildsystem

Alexander Neundorf neundorf at kde.org
Tue Jan 31 20:27:31 CET 2006


Hi,

On Tuesday 31 January 2006 20:20, you wrote:
...
> Will try it.
>
> ATM I add the paths to the IDE search path by hand.
> Until now I've added
>
> /win/include
> /win/include/msvc

Ok, so please add the following to kdelibs/CMakeLibs.txt and commit it if it 
works for you:

if (WIN32)
   include_directories( ${CMAKE_SOURCE_DIR}/win/include )
   # compiling with mingw ?
   if (MINGW)
      include_directories( ${CMAKE_SOURCE_DIR}/win/include/mingw )
   else (MINGW)
      # no, then we are compiling with msvc
      include_directories( ${CMAKE_SOURCE_DIR}/win/include/msvc )
   endif (MINGW)
endif (WIN32)

> Seems that is enough, but now there are compiler
> errors:
>
> c:\programme\microsoft sdk\include\rpcdce.h(189) : error C2143: syntax
> error : missing ')' before 'type' c:\programme\microsoft
> sdk\include\rpcdce.h(189) : error C2071: 'RPC_OBJECT_INQ_FN' : illegal
> storage class c:\programme\microsoft sdk\include\rpcdce.h(189) : error
> C2054: expected '(' to follow 'RPC_OBJECT_INQ_FN' c:\programme\microsoft
> sdk\include\rpcdce.h(189) : error C2059: syntax error : ')'
> c:\programme\microsoft sdk\include\rpcdce.h(195) : error C2085:
> 'RPC_IF_CALLBACK_FN' : not in formal

Well, in this case you have to find out yourself what's the reason for this. 
Please post the created config.h, maybe we'll see something.

Did kdelibs/win/ actually already compile successfully for you ?

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list