Jump to content


error compiling nuke plugin with H11 library on Windows7


  • Please log in to reply
5 replies to this topic

#1 lucienfostier

lucienfostier

    Peon

  • Members
  • Pip
  • 6 posts
  • Joined: 01-October 09
  • Location:Paris France
  • Name:lucien FOSTIER

Posted 18 August 2012 - 04:19 AM

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

#2 edward

edward

    Grand Master

  • Members
  • PipPipPipPipPip
  • 3,326 posts
  • Joined: 10-September 02
  • Name:e.d.w.a.r.d. .

Posted 19 August 2012 - 05:23 AM

Are you compiling using hcustom? Looks like you didn't even compile with WIN32 defined.
don't panic!

#3 lucienfostier

lucienfostier

    Peon

  • Members
  • Pip
  • 6 posts
  • Joined: 01-October 09
  • Location:Paris France
  • Name:lucien FOSTIER

Posted 23 August 2012 - 05:35 AM

View Postedward, on 19 August 2012 - 05:23 AM, said:

Are you compiling using hcustom? Looks like you didn't even compile with WIN32 defined.

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

#4 symek

symek

    Grand Master

  • Members
  • PipPipPipPipPip
  • 1,537 posts
  • Joined: 02-November 04
  • Location:Waw/Pol
  • Name:Szymon Kapeniak

Posted 24 August 2012 - 12:24 PM

View Postlucienfostier, on 23 August 2012 - 05:35 AM, said:

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.
(...) It was late, late in the evening, the lovers they were gone;
The clocks had ceased their chiming, and the deep river ran on.

#5 edward

edward

    Grand Master

  • Members
  • PipPipPipPipPip
  • 3,326 posts
  • Joined: 10-September 02
  • Name:e.d.w.a.r.d. .

Posted 25 August 2012 - 11:05 AM

View Postlucienfostier, on 23 August 2012 - 05:35 AM, said:

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

hcustom --cflags
don't panic!

#6 lucienfostier

lucienfostier

    Peon

  • Members
  • Pip
  • 6 posts
  • Joined: 01-October 09
  • Location:Paris France
  • Name:lucien FOSTIER

Posted 03 September 2012 - 05:40 AM

View PostSYmek, on 24 August 2012 - 12:24 PM, said:

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.


Alright SYmek,

ill drop him a message, thanks for the tip.

Cheers

Lucien




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users