looking for windows developer to test cmake buildsystem

Peter Kümmel syntheticpp at gmx.net
Tue Jan 31 20:20:07 CET 2006


Alexander Neundorf wrote:
> On Tuesday 31 January 2006 19:23, Peter Kümmel wrote:
> ...
>> The build process started by nmake then stops because
>> of a missing include path to the proprietary win stuff
>> which is located in /win, the headers in /win/include.
> 
> Try whether putting the following in kdelibs/CMakeLists.txt helps:
> 
> if (WIN32)
>    include_directories( ${CMAKE_SOURCE_DIR}/win/include )
> endif (WIN32)
> 
> Bye
> Alex

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

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


looks like wrong include order.

Peter


More information about the Kde-buildsystem mailing list