Please follow the steps to install. 1. Import the solution.tar.gz from your GraphStudio. 2. Copy or merge ExprUtil.hpp and ExprFunctions.hpp to ~/tigergraph/dev/gdk/gsql/src/QueryUdf/ 3. Copy or merge TokenBank.cpp to ~/tigergraph/dev/gdk/gsql/src/TokenBank/ 4. Copy data under data/ to ~/tigergraph/loadingData/ 5. Run loading from GraphStudio. 6. Run loader.gsql by using command gsql -g MyGraph loader.gsql 7. Install queries in Write Queries page of GraphStudio. 8. Follow the instructions under geospatial_ui folder to deploy the geo spatial demo UI.
At step 6, when i tried to run the loader job script from command line, I faced below issue
"Compiling token bank fails with error The job loadGeo could not be created!
"
Can you help me how to compile the tokenBank.cpp is it the root cause?
appreciate your help in this regard.
thank you.
Khan
--
Welcome to GSQL-user group.
- our mission is bringing the power of graph databases to everyone www.opengsql.org
- technical resource can be found here https://docs.tigergraph.com/
---
You received this message because you are subscribed to the Google Groups "gsql-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gsql-users+...@opengsql.org.
To view this discussion on the web visit https://groups.google.com/a/opengsql.org/d/msgid/gsql-users/e59f7162-db8c-46e6-b18a-ac68c1be29dd%40opengsql.org.
To view this discussion on the web visit https://groups.google.com/a/opengsql.org/d/msgid/gsql-users/CABxwyHytdsEYJ1BizWso%3D0gE1iEuuBvQpuYGnMsqfU9Ysjim9w%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to gsql-...@opengsql.org.
To view this discussion on the web visit https://groups.google.com/a/opengsql.org/d/msgid/gsql-users/e59f7162-db8c-46e6-b18a-ac68c1be29dd%40opengsql.org.
--
Welcome to GSQL-user group.
- our mission is bringing the power of graph databases to everyone www.opengsql.org
- technical resource can be found here https://docs.tigergraph.com/
---
You received this message because you are subscribed to the Google Groups "gsql-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gsql-...@opengsql.org.
To unsubscribe from this group and stop receiving emails from it, send an email to gsql-users+...@opengsql.org.
To view this discussion on the web visit https://groups.google.com/a/opengsql.org/d/msgid/gsql-users/1a74f6a5-7650-48ab-9584-cd808c218402%40opengsql.org.
To view this discussion on the web visit https://groups.google.com/a/opengsql.org/d/msgid/gsql-users/1a74f6a5-7650-48ab-9584-cd808c218402%40opengsql.org.
Hi,Was there a resolution for this? As I am experiencing the exact same issue.
[INFO] Start loading /home/tigergraph/tigergraph/loadingData/ca_postcode.csv, LineBatch = 1024, LineOffset = 1, ByteOffset = 72E0314 03:50:53.765760 11905 ioutil.cpp:201] [ERROR] LoadingCallback response: {"version":{"edition":"developer","api":"v2","schema":0},"error":true,"message":"/home/tigergraph/tigergraph/bin/TokenBank.so_RESTPP-LOADER_1_1_w0_h1.dir/1584157853763: undefined symbol: getGridId false\n@void* gse2::GSE_GENERIC_LOADER_UTILITY<reader, writer, buffer>::loadFuncP(const string&) [with reader = restpp::PostReader; writer =topology4::PostWriter; buffer = gse2::GSE_DELTA_BUFFER; std::string = std::basic_string<char>](/opt/builder/workbench/buildcentos652/192.168.11.118/tg_2.5.3_dev/product/src/core/gse/gse2/loader/generic_loader_utility.hpp:3732)\n\nMyGraph_loadGeo for Graph 'MyGraph'.","code":"REST-30000"}E0314 03:50:53.765874 11907 ioutil.cpp:201] [ERROR] LoadingCallback response: {"version":{"edition":"developer","api":"v2","schema":0},"error":true,"message":"/home/tigergraph/tigergraph/bin/TokenBank.so_RESTPP-LOADER_1_1_w0_h2.dir/1584157853763: undefined symbol: getGridId false\n@void* gse2::GSE_GENERIC_LOADER_UTILITY<reader, writer, buffer>::loadFuncP(const string&) [with reader = restpp::PostReader; writer =topology4::PostWriter; buffer = gse2::GSE_DELTA_BUFFER; std::string = std::basic_string<char>](/opt/builder/workbench/buildcentos652/192.168.11.118/tg_2.5.3_dev/product/src/core/gse/gse2/loader/generic_loader_utility.hpp:3732)\n\nMyGraph_loadGeo for Graph 'MyGraph'.","code":"REST-30000"}E0314 03:50:53.766016 11903 ioutil.cpp:201] [ERROR] LoadingCallback response: {"version":{"edition":"developer","api":"v2","schema":0},"error":true,"message":"/home/tigergraph/tigergraph/bin/TokenBank.so_RESTPP-LOADER_1_1_w0_h0.dir/1584157853763: undefined symbol: getGridId false\n@void* gse2::GSE_GENERIC_LOADER_UTILITY<reader, writer, buffer>::loadFuncP(const string&) [with reader = restpp::PostReader; writer =topology4::PostWriter; buffer = gse2::GSE_DELTA_BUFFER; std::string = std::basic_string<char>](/opt/builder/workbench/buildcentos652/192.168.11.118/tg_2.5.3_dev/product/src/core/gse/gse2/loader/generic_loader_utility.hpp:3732)\n\nMyGraph_loadGeo for Graph 'MyGraph'.","code":"REST-30000"}Opening TokenBank.soOpening TokenBank.soOpening TokenBank.so
tigergraph@d8772f961f41:~/tigergraph/dev/gdk/gsql/src/TokenBank$ g++ TokenBank.cppIn file included from /home/tigergraph/.syspre/usr/include/stdio.h:27:0, from TokenBank.cpp:78:/home/tigergraph/.syspre/usr/include/features.h:367:25: fatal error: sys/cdefs.h: No such file or directory # include <sys/cdefs.h> ^compilation terminated.
tigergraph@d8772f961f41:~/tigergraph/dev/gdk/gsql/src/TokenBank$ ./compileIn file included from /home/tigergraph/.syspre/usr/include/stdio.h:27:0, from ./TokenBank.cpp:78:/home/tigergraph/.syspre/usr/include/features.h:367:25: fatal error: sys/cdefs.h: No such file or directory # include <sys/cdefs.h> ^compilation terminated.In file included from /home/tigergraph/.syspre/usr/include/stdio.h:27:0, from ../TokenLib/TokenLib.hpp:77, from ../TokenLib/TokenLib.cpp:77:/home/tigergraph/.syspre/usr/include/features.h:367:25: fatal error: sys/cdefs.h: No such file or directory # include <sys/cdefs.h> ^compilation terminated.
source ~/.bash_tigergraph
sudo apt-get update
sudo apt-get install build-essential
#!/bin/sh
/usr/bin/g++ -std=c++11 -fPIC -Wall -Wextra -I/home/tigergraph/tigergraph/.syspre/usr/include/x86_64-linux-gnu -I/home/tigergraph/tigergraph/dev/gdk/gsdk/include/thirdparty -I/home/tigergraph/tigergraph/dev/gdk/gsdk/include -I../TokenLib -shared "./TokenBank.cpp" "../TokenLib/TokenLib.cpp" -o "/tmp/TokenBank.so"