lucienfostier Posted August 18, 2012 Share Posted August 18, 2012 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 Quote Link to comment Share on other sites More sharing options...
edward Posted August 19, 2012 Share Posted August 19, 2012 Are you compiling using hcustom? Looks like you didn't even compile with WIN32 defined. Quote Link to comment Share on other sites More sharing options...
lucienfostier Posted August 23, 2012 Author Share Posted August 23, 2012 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 Quote Link to comment Share on other sites More sharing options...
symek Posted August 24, 2012 Share Posted August 24, 2012 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. Quote Link to comment Share on other sites More sharing options...
edward Posted August 25, 2012 Share Posted August 25, 2012 hi Im not bulding with hcustom as its a nuke plugin using Houdini Libs hcustom --cflags Quote Link to comment Share on other sites More sharing options...
lucienfostier Posted September 3, 2012 Author Share Posted September 3, 2012 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.