Browse Source

Migrate to module-base NeuralNetwork

Alexey Edelev 4 years ago
parent
commit
1e962b9d96
4 changed files with 5 additions and 3 deletions
  1. 1 1
      build.sh
  2. 1 1
      go.mod
  3. 2 0
      go.sum
  4. 1 1
      neuralnetworkui/CMakeLists.txt

+ 1 - 1
build.sh

@@ -1,7 +1,7 @@
 export PATH=$PATH:$PWD/bin
 export GOBIN=$PWD/bin
 export RPC_PATH=$PWD/visualization
-export GO111MODULES=on
+export GO111MODULE=on
 
 go get -u github.com/golang/protobuf/protoc-gen-go@v1.3.3
 

+ 1 - 1
go.mod

@@ -3,7 +3,7 @@ module git.semlanik.org/semlanik/NeuralNetworkVisualization
 go 1.12
 
 require (
-	git.semlanik.org/semlanik/NeuralNetwork v0.0.0-20200211142341-74fce4149acc
+	git.semlanik.org/semlanik/NeuralNetwork v0.0.0-20200226210944-c5821214694e
 	github.com/golang/protobuf v1.3.3
 	golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3 // indirect
 	golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135 // indirect

+ 2 - 0
go.sum

@@ -1,5 +1,7 @@
 cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
 git.semlanik.org/semlanik/NeuralNetwork v0.0.0-20200211142341-74fce4149acc/go.mod h1:axaDlmOSbM5h0pJZHRNweB1qTw4EJYpdRqSZFkDe89A=
+git.semlanik.org/semlanik/NeuralNetwork v0.0.0-20200226210944-c5821214694e h1:UW5E+B7Ab5aPOycCzFRPwieVt7XYXRmRDwkzaB8jbAY=
+git.semlanik.org/semlanik/NeuralNetwork v0.0.0-20200226210944-c5821214694e/go.mod h1:pRtawD4cwTdV0fL60l2gmL5Sxe6/WE0K87cIm+ziHK4=
 github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
 github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw=
 github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=

+ 1 - 1
neuralnetworkui/CMakeLists.txt

@@ -24,4 +24,4 @@ set(CMAKE_AUTORCC ON)
 
 add_executable(NeuralNetworkUi main.cpp qml.qrc valueindicator.cpp visualizermodel.cpp dense.cpp layertrigger.cpp)
 qtprotobuf_generate(TARGET ${TARGET} PROTO_FILES ${PROTO_FILES} ${VISUALIZATION_PROTO} QML)
-target_link_libraries(NeuralNetworkUi PRIVATE Qt5::Core Qt5::Gui Qt5::Qml Qt5::Quick QtProtobufProject::QtProtobuf QtProtobufProject::QtGrpc ${QtProtobuf_GENERATED})
+target_link_libraries(NeuralNetworkUi PRIVATE Qt5::Gui QtProtobufProject::QtProtobuf QtProtobufProject::QtGrpc)