{"action":"created","issue":{"url":"https://api.github.com/repos/open62541/open62541/issues/814","repository_url":"https://api.github.com/repos/open62541/open62541","labels_url":"https://api.github.com/repos/open62541/open62541/issues/814/labels{/name}","comments_url":"https://api.github.com/repos/open62541/open62541/issues/814/comments","events_url":"https://api.github.com/repos/open62541/open62541/issues/814/events","html_url":"https://github.com/open62541/open62541/issues/814","id":178796940,"number":814,"title":"i cant find nodeset.h nodeset.c ","user":{"login":"xty19","id":9359167,"avatar_url":"https://avatars.githubusercontent.com/u/9359167?v=3","gravatar_id":"","url":"https://api.github.com/users/xty19","html_url":"https://github.com/xty19","followers_url":"https://api.github.com/users/xty19/followers","following_url":"https://api.github.com/users/xty19/following{/other_user}","gists_url":"https://api.github.com/users/xty19/gists{/gist_id}","starred_url":"https://api.github.com/users/xty19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xty19/subscriptions","organizations_url":"https://api.github.com/users/xty19/orgs","repos_url":"https://api.github.com/users/xty19/repos","events_url":"https://api.github.com/users/xty19/events{/privacy}","received_events_url":"https://api.github.com/users/xty19/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-09-23T06:39:37Z","updated_at":"2016-09-26T06:50:41Z","closed_at":null,"body":"i use the command cmake ,but at the folder i cant find nodeset.h and nodeset.c ,could you tell me?please\r\n\r\ni tries  UA_BUILD_EXAMPLES_NODESET_COMP and so on.\r\n\r\nMy system is raspberry3 debian.\r\ni tried `cmke -DUA_BUILD_EXAMPLES_NODESET_COMPILER=ON .. \r\n           cmke -UA_BUILD_EXAMPLES_NODESET_COMPILER=ON ..\r\n           cmke -D UA_BUILD_EXAMPLES_NODESET_COMPILER=ON ..\r\n           make `\r\n\r\nit informs me that\r\n`fatal: Not a git repository (or any of the parent directories): .git\r\n-- Git failed (not a repo, or no tags). Build will not contain git revision info\r\n--Git version: unknown --git -commit -id -unknown\r\n--Configuring done\r\n--Generating done\r\n--Build files have been written to:/path\r\n--Build files have been written to :/path\r\n\r\nmake \r\n100 Build target open62541-object\r\n100 build`target open62541\r\n100 Build target open62541-static "},"comment":{"url":"https://api.github.com/repos/open62541/open62541/issues/comments/249492203","html_url":"https://github.com/open62541/open62541/issues/814#issuecomment-249492203","issue_url":"https://api.github.com/repos/open62541/open62541/issues/814","id":249492203,"user":{"login":"xty19","id":9359167,"avatar_url":"https://avatars.githubusercontent.com/u/9359167?v=3","gravatar_id":"","url":"https://api.github.com/users/xty19","html_url":"https://github.com/xty19","followers_url":"https://api.github.com/users/xty19/followers","following_url":"https://api.github.com/users/xty19/following{/other_user}","gists_url":"https://api.github.com/users/xty19/gists{/gist_id}","starred_url":"https://api.github.com/users/xty19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xty19/subscriptions","organizations_url":"https://api.github.com/users/xty19/orgs","repos_url":"https://api.github.com/users/xty19/repos","events_url":"https://api.github.com/users/xty19/events{/privacy}","received_events_url":"https://api.github.com/users/xty19/received_events","type":"User","site_admin":false},"created_at":"2016-09-26T06:50:41Z","updated_at":"2016-09-26T06:50:41Z","body":"and here is the myNS.h and myNS.c files\r\n\r\nmyNS.h\r\n`/* WARNING: This is a generated file.\r\n * Any manual changes will be overwritten.\r\n\r\n */\r\n\r\n\r\n#include \"ua_server_internal.h\"\r\n#include \"ua_nodes.h\"\r\n#include \"ua_util.h\"\r\n#include \"ua_types.h\"\r\n#include \"ua_types_encoding_binary.h\"\r\n#include \"ua_types_generated_encoding_binary.h\"\r\n#include \"ua_transport_generated_encoding_binary.h\"\r\n\r\n#include \"open62541.h\"\r\n#define NULL ((void *)0)\r\n\r\n#define UA_NS2ID_TESTTYPE 1001\r\nextern void myNS(UA_Server *server);\r\n\r\n`\r\n\r\nmyNS.c\r\n`/* WARNING: This is a generated file.\r\n * Any manual changes will be overwritten.\r\n\r\n */\r\n#include <stdio.h>\r\n#include \"myNS.h\"\r\nUA_INLINE void myNS(UA_Server *server) \r\n{\r\nUA_Server_addNamespace(server, \"http://yourorganisation.org/test/\");\r\nprintf(\"i com the xml\");\r\n\r\n\r\ndo {\r\n// Node: opcua_node_objectType_t(ns=2;i=1001), 1:testType\r\nUA_ObjectTypeNode *opcua_node_objecttype_t_ns_2_i_1001 = UA_NodeStore_newObjectTypeNode();\r\nopcua_node_objecttype_t_ns_2_i_1001->browseName = UA_QUALIFIEDNAME_ALLOC(1, \"testType\");\r\nopcua_node_objecttype_t_ns_2_i_1001->displayName = UA_LOCALIZEDTEXT_ALLOC(\"en_US\", \"testType\");\r\nopcua_node_objecttype_t_ns_2_i_1001->description = UA_LOCALIZEDTEXT_ALLOC(\"en_US\", \"\");\r\nopcua_node_objecttype_t_ns_2_i_1001->nodeId.namespaceIndex = 2;\r\nopcua_node_objecttype_t_ns_2_i_1001->nodeId.identifier.numeric = 1001;\r\n// Parent node does not exist yet. This node will be bootstrapped and linked later.\r\nUA_RCU_LOCK();\r\nUA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_objecttype_t_ns_2_i_1001);\r\nUA_RCU_UNLOCK();\r\n} while(0);\r\n\r\n\r\n/*\r\ndo {\r\nUA_Variant *opcua_node_variable_t_ns_2_i_6001_variant = UA_alloca(sizeof(UA_Variant));\r\nUA_Variant_init(opcua_node_variable_t_ns_2_i_6001_variant);\r\n// Node: opcua_node_variable_t(ns=2;i=6001), 1:Var1\r\nUA_VariableNode *opcua_node_variable_t_ns_2_i_6001 = UA_NodeStore_newVariableNode();\r\nopcua_node_variable_t_ns_2_i_6001->browseName = UA_QUALIFIEDNAME_ALLOC(1, \"Var1\");\r\nopcua_node_variable_t_ns_2_i_6001->displayName = UA_LOCALIZEDTEXT_ALLOC(\"en_US\", \"Var1\");\r\nopcua_node_variable_t_ns_2_i_6001->description = UA_LOCALIZEDTEXT_ALLOC(\"en_US\", \"\");\r\nopcua_node_variable_t_ns_2_i_6001->nodeId.namespaceIndex = 2;\r\nopcua_node_variable_t_ns_2_i_6001->nodeId.identifier.numeric = 6001;\r\nopcua_node_variable_t_ns_2_i_6001->minimumSamplingInterval = (UA_Double) 0.0;\r\nopcua_node_variable_t_ns_2_i_6001->userAccessLevel = (UA_Int32) 3;\r\nopcua_node_variable_t_ns_2_i_6001->accessLevel = (UA_Int32) 3;\r\nopcua_node_variable_t_ns_2_i_6001->valueRank = (UA_Int32) -1;\r\nopcua_node_variable_t_ns_2_i_6001->value.variant.value = *opcua_node_variable_t_ns_2_i_6001_variant;\r\nopcua_node_variable_t_ns_2_i_6001->valueSource = UA_VALUESOURCE_VARIANT;\r\n// Parent node does not exist yet. This node will be bootstrapped and linked later.\r\nUA_RCU_LOCK();\r\nUA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_variable_t_ns_2_i_6001);\r\nUA_RCU_UNLOCK();\r\n} while(0);\r\n*/\r\n\r\n/*\r\ndo {\r\n// Node: opcua_node_object_t(ns=2;i=5001), 1:testInstance\r\nUA_ObjectNode *opcua_node_object_t_ns_2_i_5001 = UA_NodeStore_newObjectNode();\r\nopcua_node_object_t_ns_2_i_5001->browseName = UA_QUALIFIEDNAME_ALLOC(1, \"testInstance\");\r\nopcua_node_object_t_ns_2_i_5001->displayName = UA_LOCALIZEDTEXT_ALLOC(\"en_US\", \"testInstance\");\r\nopcua_node_object_t_ns_2_i_5001->description = UA_LOCALIZEDTEXT_ALLOC(\"en_US\", \"\");\r\nopcua_node_object_t_ns_2_i_5001->nodeId.namespaceIndex = 2;\r\nopcua_node_object_t_ns_2_i_5001->nodeId.identifier.numeric = 5001;\r\nopcua_node_object_t_ns_2_i_5001->eventNotifier = (UA_Byte) 0;\r\n// Parent node does not exist yet. This node will be bootstrapped and linked later.\r\nUA_RCU_LOCK();\r\nUA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_ns_2_i_5001);\r\nUA_RCU_UNLOCK();\r\n} while(0);\r\n*/\r\n\r\n/*\r\n\r\ndo {\r\nUA_Variant *opcua_node_variable_t_ns_2_i_6002_variant = UA_alloca(sizeof(UA_Variant));\r\nUA_Variant_init(opcua_node_variable_t_ns_2_i_6002_variant);\r\n// Node: opcua_node_variable_t(ns=2;i=6002), 1:Var1\r\nUA_VariableNode *opcua_node_variable_t_ns_2_i_6002 = UA_NodeStore_newVariableNode();\r\nopcua_node_variable_t_ns_2_i_6002->browseName = UA_QUALIFIEDNAME_ALLOC(1, \"Var1\");\r\nopcua_node_variable_t_ns_2_i_6002->displayName = UA_LOCALIZEDTEXT_ALLOC(\"en_US\", \"Var1\");\r\nopcua_node_variable_t_ns_2_i_6002->description = UA_LOCALIZEDTEXT_ALLOC(\"en_US\", \"\");\r\nopcua_node_variable_t_ns_2_i_6002->nodeId.namespaceIndex = 2;\r\nopcua_node_variable_t_ns_2_i_6002->nodeId.identifier.numeric = 6002;\r\nopcua_node_variable_t_ns_2_i_6002->minimumSamplingInterval = (UA_Double) 0.0;\r\nopcua_node_variable_t_ns_2_i_6002->userAccessLevel = (UA_Int32) 3;\r\nopcua_node_variable_t_ns_2_i_6002->accessLevel = (UA_Int32) 3;\r\nopcua_node_variable_t_ns_2_i_6002->valueRank = (UA_Int32) -1;\r\nopcua_node_variable_t_ns_2_i_6002->value.variant.value = *opcua_node_variable_t_ns_2_i_6002_variant;\r\nopcua_node_variable_t_ns_2_i_6002->valueSource = UA_VALUESOURCE_VARIANT;\r\n// Parent node does not exist yet. This node will be bootstrapped and linked later.\r\nUA_RCU_LOCK();\r\nUA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_variable_t_ns_2_i_6002);\r\nUA_RCU_UNLOCK();\r\n} while(0);\r\n*/\r\n\r\n}\r\n`"}}
{"actor":{"display_login":"xty19"}}