Results 1 to 5 of 5

Thread: baby steps with my first node, please help

  1. #1
    Devastatin'
    Join Date
    Jun 2004
    Location
    London
    Posts
    140

    baby steps with my first node, please help

    I am very noob at this, I'm using visual studio community and all I am trying to do so far is just get the example source "specular_node.c" to build and run, before I attempted to do anything of my own

    so far I have got the "server.lib" and "specular_node.c" to build in win32, but I get these errors if I try x64:

    Code:
    Error (active)	E1696	cannot open source file "lwserver.h"				server	d:\LightWave 2015 SDK\source\servdesc.c	16
    Error (active)	E0020	identifier "ServerUserName" is undefined			server	d:\LightWave 2015 SDK\source\servdesc.c	21	
    Error (active)	E0141	unnamed prototyped parameters not allowed when body is present	server	d:\LightWave 2015 SDK\source\servdesc.c	22
    Error (active)	E0130	expected a '{'							server	d:\LightWave 2015 SDK\source\servdesc.c	22
    Error (active)	E0020	identifier "Activate" is undefined				server	d:\LightWave 2015 SDK\source\servdesc.c	26
    Error (active)	E0065	expected a ';'							server	d:\LightWave 2015 SDK\source\servdesc.c	26
    Error (active)	E0029	expected an expression						server	d:\LightWave 2015 SDK\source\servdesc.c	26
    Error (active)	E0065	expected a ';'							server	d:\LightWave 2015 SDK\source\servdesc.c	28
    Error	C1083	Cannot open include file: 'lwserver.h': No such file or directory	server	d:\lightwave 2015 sdk\source\username.c	14
    Error	C1083	Cannot open include file: 'lwserver.h': No such file or directory	server	d:\lightwave 2015 sdk\source\startup.c	13
    Error	C1083	Cannot open include file: 'lwserver.h': No such file or directory	server	d:\lightwave 2015 sdk\source\shutdown.c	13
    Error	C1083	Cannot open include file: 'lwserver.h': No such file or directory	server	d:\lightwave 2015 sdk\source\servdesc.c	16
    I see no mention of 64bit in the sdk, so I have no idea where to go from here

  2. #2
    Devastatin'
    Join Date
    Jun 2004
    Location
    London
    Posts
    140
    ok the include files reset when you switch to x64, I repointed them and the server.lib compiles, but the plugin still does not, these are the errors I'm getting now:

    Code:
    Error	C3861	'__stosb': identifier not found				specular_node	C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winnt.h		19111	
    Error	C3861	'__readgsqword': identifier not found			specular_node	C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winnt.h		21336	
    Error	C3861	'__readgsqword': identifier not found			specular_node	C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winnt.h		21347	
    Error	C3861	'_InterlockedIncrement': identifier not found		specular_node	C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winbase.h	9023	
    Error	C3861	'_InterlockedIncrement': identifier not found		specular_node	C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winbase.h	9032	
    Error	C2065	'InterlockedIncrement64': undeclared identifier		specular_node	C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winbase.h	9044	
    Error	C3861	'_InterlockedDecrement': identifier not found		specular_node	C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winbase.h	9055	
    Error	C3861	'_InterlockedDecrement': identifier not found		specular_node	C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winbase.h	9064	
    Error	C2065	'InterlockedDecrement64': undeclared identifier		specular_node	C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winbase.h	9076	
    Error	C3861	'_InterlockedExchange': identifier not found		specular_node	C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winbase.h	9090	
    Error	C3861	'_InterlockedExchange': identifier not found		specular_node	C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winbase.h	9100	
    Error	C3861	'InterlockedExchange64': identifier not found		specular_node	C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winbase.h	9112	
    Error	C3861	'_InterlockedExchangeAdd': identifier not found		specular_node	C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winbase.h	9124	
    Error	C3861	'_InterlockedExchangeAdd': identifier not found		specular_node	C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winbase.h	9134	
    Error	C3861	'_InterlockedExchangeAdd': identifier not found		specular_node	C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winbase.h	9144	
    Error	C3861	'_InterlockedExchangeAdd': identifier not found		specular_node	C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winbase.h	9154	
    Error	C3861	'InterlockedExchangeAdd64': identifier not found	specular_node	C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winbase.h	9166	
    Error	C3861	'InterlockedExchangeAdd64': identifier not found	specular_node	C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winbase.h	9176	
    Error	C3861	'_InterlockedCompareExchange': identifier not found	specular_node	C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winbase.h	9189	
    Error	C3861	'_InterlockedCompareExchange': identifier not found	specular_node	C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winbase.h	9200	
    Error	C3861	'_InterlockedCompareExchange64': identifier not found	specular_node	C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winbase.h	9213	
    Error	C3861	'InterlockedAnd64': identifier not found		specular_node	C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winbase.h	9223	
    Error	C3861	'InterlockedOr64': identifier not found			specular_node	C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winbase.h	9233	
    Error	C3861	'InterlockedXor64': identifier not found		specular_node	C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winbase.h	9243	
    Warning	C4090	'argument': different '__unaligned' qualifiers		specular_node	C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\shared\stralign.h	120

  3. #3
    TrueArt Support
    Join Date
    Feb 2003
    Location
    Poland
    Posts
    7,924
    These are from standard/system libraries..
    If you don't know function google for its name.
    In their descriptions should be written in which link library they reside.

  4. #4
    Devastatin'
    Join Date
    Jun 2004
    Location
    London
    Posts
    140
    are you saying I need different libraries for 32 and 64 bit?

  5. #5
    Devastatin'
    Join Date
    Jun 2004
    Location
    London
    Posts
    140
    I just installed all the extras visual studio comes with and still get nothing, I don't get it, it compiles just fine in 32bit

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •