Can't build FlexLM.sln in HPC Pack R2 SP2 SDK Sample code

Answered Can't build FlexLM.sln in HPC Pack R2 SP2 SDK Sample code

  • 2011. augusztus 17. 5:53
     
     

    Hi,

     
    I've downloaded R2 SP2 SDK Sample code, then follow the steps written in below.

    http://technet.microsoft.com/en-us/library/ee783563(WS.10).aspx#BKMK_Activation


    But, building the solution FlexLM.sln returns many error.

    The reason I guess is FlexLMEvents.cs, FlexLMEvents.res are not found in the sample code folder.


    Does anyone know the solution about that?


    Regards, hirakata

     

Az összes válasz

  • 2011. szeptember 28. 20:08
     
     Válasz

    The FlexLMEvents.cs is generated by SDK tools and it is produced in C:\Program Files\Microsoft HPC Pack 2008 R2\Bin

     

    To find the SDK components, the paths on the two pre-build event commands (Build Events on project properties page) must be made to point to the sdk install.

     

    After the file is built it may need to be re-added to fix up its expected path.

    • Megjelölte válaszként: hirakata 2011. szeptember 29. 0:48
    •  
  • 2011. szeptember 29. 0:59
     
     

    Thank you for reply.

    The important thing was I did as a non-Administrator user. (not have write permission to the %ProgramFiles% folder location)

    > The FlexLMEvents.cs is generated by SDK tools and it is produced in C:\Program Files\Microsoft HPC Pack 2008 R2\Bin

    I noticed it by your advice. Then I retried starting VS2008 [run as Administrator]. My problem has solved!

     

    Thank you very much.

     

  • 2011. szeptember 29. 20:42
     
     

    Excellent.  I am glad you are unblocked.

     

    Cheers.

     

    d