Comments (10)
I got the "success" with some errors.
Does it matter?
[/media/walker/DATA/work/onnc/onnc-umbrella/build-dbg] leave
[/media/walker/DATA/work/onnc/onnc-umbrella] building onnc-umbrella tools...
[/media/walker/DATA/work/onnc/onnc-umbrella] create build directory at '/media/walker/DATA/work/onnc/onnc-umbrella/build-dbg/umbrella/tools'
[/media/walker/DATA/work/onnc/onnc-umbrella/build-dbg/umbrella/tools] building tools: 'onnx-as'
make: Entering directory '/media/walker/DATA/work/onnc/onnc-umbrella/tools/onnx-as'
g++ -std=c++14 -DONNX_NAMESPACE=onnx -o /media/walker/DATA/work/onnc/onnc-umbrella/build-dbg/umbrella/tools/onnx-as/onnx-as -I/media/walker/DATA/work/onnc/onnc-umbrella/install-dbg/opt/onnc/include -I/media/walker/DATA/work/onnc/onnc-umbrella/onncroot/include -L/media/walker/DATA/work/onnc/onnc-umbrella/install-dbg/opt/onnc/lib -L/media/walker/DATA/work/onnc/onnc-umbrella/onncroot/lib -lonnc -lonnx -lonnx_proto -lprotobuf main.cpp
main.cpp:8:37: fatal error: onnc/Option/CommandLine.h: No such file or directory
compilation terminated.
Makefile:13: recipe for target '/media/walker/DATA/work/onnc/onnc-umbrella/build-dbg/umbrella/tools/onnx-as/onnx-as' failed
make: *** [/media/walker/DATA/work/onnc/onnc-umbrella/build-dbg/umbrella/tools/onnx-as/onnx-as] Error 1
make: Leaving directory '/media/walker/DATA/work/onnc/onnc-umbrella/tools/onnx-as'
[/media/walker/DATA/work/onnc/onnc-umbrella/build-dbg/umbrella/tools] building tools: 'onnx-dis'
make: Entering directory '/media/walker/DATA/work/onnc/onnc-umbrella/tools/onnx-dis'
g++ -std=c++14 -DONNX_NAMESPACE=onnx -o /media/walker/DATA/work/onnc/onnc-umbrella/build-dbg/umbrella/tools/onnx-dis/onnx-dis -I/media/walker/DATA/work/onnc/onnc-umbrella/install-dbg/opt/onnc/include -I/media/walker/DATA/work/onnc/onnc-umbrella/onncroot/include -L/media/walker/DATA/work/onnc/onnc-umbrella/install-dbg/opt/onnc/lib -L/media/walker/DATA/work/onnc/onnc-umbrella/onncroot/lib -lonnc -lonnx -lonnx_proto -lprotobuf main.cpp
main.cpp:10:37: fatal error: onnc/Option/CommandLine.h: No such file or directory
compilation terminated.
Makefile:13: recipe for target '/media/walker/DATA/work/onnc/onnc-umbrella/build-dbg/umbrella/tools/onnx-dis/onnx-dis' failed
make: *** [/media/walker/DATA/work/onnc/onnc-umbrella/build-dbg/umbrella/tools/onnx-dis/onnx-dis] Error 1
make: Leaving directory '/media/walker/DATA/work/onnc/onnc-umbrella/tools/onnx-dis'
[/media/walker/DATA/work/onnc/onnc-umbrella/install-dbg/opt] packaging tarball '/media/walker/DATA/work/onnc/onnc-umbrella/onnc-master.tar.gz'
[/media/walker/DATA/work/onnc/onnc-umbrella] build /media/walker/DATA/work/onnc/onnc-umbrella/onnc-master.tar.gz for installation on /opt/onnc: success
from onnc-umbrella.
Yes, it works!
Thanks
from onnc-umbrella.
Sophon target no longer supports automake building system, but the building commands haven't been cleaned in master
branch.
I made ONNC/onnc#59 and requested for review.
During the pending time, you may like to use ./build.cmake.sh
.
The usage is as same as ./build.sh
but driven with CMake instead.
from onnc-umbrella.
I use "./build.cmake.sh", but meet another trouble:
Do I miss any dependency library?
-- Found BISON: /usr/bin/bison (found version "3.0.4")
-- Found FLEX: /usr/bin/flex (found version "2.6.0")
CMake Error at tools/onnx2tg/CMakeLists.txt:9 (find_package):
Could not find a package configuration file provided by "LLVM" with any of
the following names:
LLVMConfig.cmake
llvm-config.cmake
Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set
"LLVM_DIR" to a directory containing one of the above files. If "LLVM"
provides a separate development package or SDK, be sure it has been
installed.
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
ONNX_LIBRARIE_onnx
linked by target "libonnc" in directory /home/walker/onnc/onnc-master/src/lib
ONNX_LIBRARIE_onnx_proto
linked by target "libonnc" in directory /home/walker/onnc/onnc-master/src/lib
SKYPAT_LIBRARIES
linked by target "libskypat_main" in directory /home/walker/onnc/onnc-master/src/tools/unittests
-- Configuring incomplete, errors occurred!
See also "/home/walker/onnc/onnc-master/build-dbg/CMakeFiles/CMakeOutput.log".
See also "/home/walker/onnc/onnc-master/build-dbg/CMakeFiles/CMakeError.log".
from onnc-umbrella.
Let me fix it......
from onnc-umbrella.
ONNC/onnc#59 has been checked in, and I successfully built with ./build.sh
script.
I'll still fixing ./build.cmake.sh
, but you can give ./build.sh
a try.
Sorry for the inconvenience and thanks you for unearth the bugs.
from onnc-umbrella.
It seems like you lost include/onnc/Option/CommandLine.h
in onnc source directory.
You can remove build-dbg
and src
.
Let the ./build.sh
script download and compile the source again.
from onnc-umbrella.
It still doesn't work.
Actually, I find CommandLine.h in the folder already, i.e., include/onnc/Option/
from onnc-umbrella.
I made 2 PRs, both of them will fix it.
Let's waiting for review, or you can give these patches a try.
from onnc-umbrella.
how to solve this error??
- make -j8 install
: not foundumbrella/src/cmake/config.guess: 6: /onnc/onnc-umbrella/src/cmake/config.guess:
: not foundumbrella/src/cmake/config.guess: 8: /onnc/onnc-umbrella/src/cmake/config.guess:
: not foundumbrella/src/cmake/config.guess: 28: /onnc/onnc-umbrella/src/cmake/config.guess:
: not foundumbrella/src/cmake/config.guess: 29: /onnc/onnc-umbrella/src/cmake/config.guess:
: not foundumbrella/src/cmake/config.guess: 40: /onnc/onnc-umbrella/src/cmake/config.guess:
: not foundumbrella/src/cmake/config.guess: 42: /onnc/onnc-umbrella/src/cmake/config.guess:
: not foundumbrella/src/cmake/config.guess: 54: /onnc/onnc-umbrella/src/cmake/config.guess:
: not foundumbrella/src/cmake/config.guess: 65: /onnc/onnc-umbrella/src/cmake/config.guess:
: not foundumbrella/src/cmake/config.guess: 68: /onnc/onnc-umbrella/src/cmake/config.guess:
/onnc/onnc-umbrella/src/cmake/config.guess: 71: /onnc/onnc-umbrella/src/cmake/config.guess: Syntax error: word unexpected (expecting "in")
CMake Error at cmake/check.cmake:35 (message):
Failed to execute /onnc/onnc-umbrella/src/cmake/config.guess
Call Stack (most recent call first):
CMakeLists.txt:114 (include)
-- Configuring incomplete, errors occurred!
See also "/onnc/onnc-umbrella/build-normal/CMakeFiles/CMakeOutput.log".
See also "/onnc/onnc-umbrella/build-normal/CMakeFiles/CMakeError.log".
Makefile:1202: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
from onnc-umbrella.
Related Issues (19)
- onnc not submodule and don't mention step in README.md HOT 2
- Example HOT 2
- How to setup and build ONNC HOT 3
- All onnc::onnx::Reader parse failed, even with the built-in model HOT 1
- Vanilla backend can't be found w/ build.cmake.sh
- onnc compilation is not parallelized HOT 1
- How can i run or build onnc from the umbrella
- [Bug][Doc] Missing dependency glog in `macOS - with Homebrew` section
- Addition Prerequisites not mentioned in introduction HOT 1
- Command to run onnc
- JSON/JsonScanner.cpp is missing HOT 12
- build llvm fail
- Make onnc failed. make[1]: *** [JSON/JsonParser.cpp] Error 1 HOT 2
- Build onnc fail with error "collect2: error: ld returned 1 exit status tools/onnc/CMakeFiles/onnc.dir/build.make:150: recipe for target 'tools/onnc/onnc' failed" HOT 1
- Build fails with Make llvmm failed
- onnx v4 support?
- make j4, is building the libraries everytime Even though no source modifications. done.
- curl is not listed on prerequisites HOT 1
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 onnc-umbrella.