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

  • Question

  • 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

     

    Wednesday, August 17, 2011 5:53 AM

Answers

  • 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.

    • Marked as answer by hirakata Thursday, September 29, 2011 12:48 AM
    Wednesday, September 28, 2011 8:08 PM

All replies

  • 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.

    • Marked as answer by hirakata Thursday, September 29, 2011 12:48 AM
    Wednesday, September 28, 2011 8:08 PM
  • 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.

     

    Thursday, September 29, 2011 12:59 AM
  • Excellent.  I am glad you are unblocked.

     

    Cheers.

     

    d

    Thursday, September 29, 2011 8:42 PM