Jump to content

error compiling nuke plugin with H11 library on Windows7


Recommended Posts

Hi folks,

Im having an issue with compiling a rat reader for Nuke using H11 library.

Im having a Win related issue because I already compiled successfully this tool on linux.

I was wondering if one of you already come throught the error of the SYS_NTMath.h on Win and if you have a workaround...

Do you guys know if there is any change for this file between H11 et H12?

my configuration is as follow:

Win7 64 bits

Nuke6.3v2 64 bits

H 11.0.733 64 bits

Visual studio 2005

here is what i get as log of error:

c:\program files\side effects software\houdini 11.0.733\toolkit\include\sys\SYS_NTMath.h(64) : error C2146: syntax error : missing ')' before identifier 'x'

1>c:\program files\side effects software\houdini 11.0.733\toolkit\include\sys\SYS_NTMath.h(64) : error C2065: 'x' : undeclared identifier

1>c:\program files\side effects software\houdini 11.0.733\toolkit\include\sys\SYS_NTMath.h(64) : error C2059: syntax error : ')'

1>c:\program files\side effects software\houdini 11.0.733\toolkit\include\sys\SYS_NTMath.h(64) : error C2182: 'srand' : illegal use of type 'void'

1>c:\program files\side effects software\houdini 11.0.733\toolkit\include\sys\SYS_NTMath.h(64) : error C2433: 'srand' : 'inline' not permitted on data declarations

1>c:\program files\side effects software\houdini 11.0.733\toolkit\include\sys\SYS_NTMath.h(64) : error C2365: 'srand' : redefinition; previous definition was 'function'

1> C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\stdlib.h(550) : see declaration of 'srand'

1>c:\program files\side effects software\houdini 11.0.733\toolkit\include\sys\SYS_NTMath.h(65) : error C2447: '{' : missing function header (old-style formal list?)

1>c:\program files\side effects software\houdini 11.0.733\toolkit\include\sys\SYS_NTMath.h(66) : error C2062: type 'double' unexpected

1>c:\program files\side effects software\houdini 11.0.733\toolkit\include\sys\SYS_NTMath.h(67) : error C2143: syntax error : missing ';' before '{'

1>c:\program files\side effects software\houdini 11.0.733\toolkit\include\sys\SYS_NTMath.h(67) : error C2447: '{' : missing function header (old-style formal list?)

any help much appreciated!

Thanks

Lucien

Link to comment
Share on other sites

hi Im not bulding with hcustom as its a nuke plugin using Houdini Libs

How can I get read of the def for win32?

thanks

Lucien, why don't you ask eetu about compilation process. He successfully complied rat4nuke on Windows. I suppose he wouldn't mind to share details.

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...