Comments (3)
block.Balance.FillBytes undefined
Seems it needs at least go 1.15.
https://golang.org/pkg/math/big/#Int.FillBytes
cannot find -lOpenCL
sudo apt install ocl-icd-opencl-dev
from gonano.
i got this when i clone the repository:
arthopacini@arthopacini:~/Desktop$ git clone https://github.com/hectorchu/gonano.git
Cloning into 'gonano'...
remote: Enumerating objects: 131, done.
remote: Counting objects: 100% (131/131), done.
remote: Compressing objects: 100% (98/98), done.
remote: Total 507 (delta 67), reused 87 (delta 33), pack-reused 376
Receiving objects: 100% (507/507), 182.15 KiB | 703.00 KiB/s, done.
Resolving deltas: 100% (294/294), done.
arthopacini@arthopacini:~/Desktop$ cd gonano/
arthopacini@arthopacini:~/Desktop/gonano$ go tool compile main.go
main.go:3:8: can't find import: "github.com/hectorchu/gonano/cmd"
arthopacini@arthopacini:~/Desktop/gonano$ go run main.go
go: downloading golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad
go: downloading github.com/spf13/viper v1.7.1
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/tyler-smith/go-bip39 v1.1.0
go: downloading github.com/spf13/cobra v1.1.1
go: downloading github.com/karalabe/hid v1.0.0
go: downloading github.com/FactomProject/btcutilecc v0.0.0-20130527213604-d3a63a5752ec
go: downloading github.com/robvanmieghem/go-opencl v0.0.0-20160201165807-5ca28f1a8220
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading github.com/FactomProject/basen v0.0.0-20150613233007-fe3947df716e
go: downloading github.com/fsnotify/fsnotify v1.4.9
go: downloading github.com/subosito/gotenv v1.2.0
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading github.com/spf13/pflag v1.0.5
go: downloading gopkg.in/ini.v1 v1.62.0
go: downloading github.com/mitchellh/mapstructure v1.4.0
go: downloading github.com/magiconair/properties v1.8.4
go: downloading github.com/spf13/jwalterweatherman v1.1.0
go: downloading github.com/spf13/cast v1.3.1
go: downloading golang.org/x/sys v0.0.0-20201223074533-0d417f636930
go: downloading github.com/spf13/afero v1.5.1
go: downloading github.com/pelletier/go-toml v1.8.1
go: downloading golang.org/x/term v0.0.0-20201210144234-2321bbc49cbf
go: downloading golang.org/x/text v0.3.4
# github.com/robvanmieghem/go-opencl/cl
/usr/bin/ld: cannot find -lOpenCL
collect2: error: ld returned 1 exit status
# github.com/hectorchu/gonano/ledger
ledger/message.go:56:41: block.Balance.FillBytes undefined (type *rpc.RawAmount has no field or method FillBytes)
note: module requires Go 1.15
arthopacini@arthopacini:~/Desktop/gonano$
from gonano.
Got it, installed 1.15 directly from the official website, for some reason apt get install go installed 1.14..
and run sudo apt install ocl-icd-opencl-dev to get opencl, it's working, thanks!
from gonano.
Related Issues (9)
- install error HOT 2
- A version string could prove useful HOT 1
- gonano receive fails: βjson: cannot unmarshal string [β¦]β HOT 8
- Fails to Receive HOT 6
- is it normal that it takes several seconds to send transactions between accounts? HOT 1
- Serialize / save wallet ? HOT 1
- Used your plugin for Woocommerce (Gonano payment gateway), having serious issues HOT 1
- FYI: Now available from AUR
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gonano.