Comments (6)
Try to switch to Java 1.6 to compile fastrtps. Then switch back later to Java 1.8
from homebrew-px4.
This is annoying - let me see if we can fix this.
from homebrew-px4.
Did that just now. I'm closing this for now, please re-open if it doesn't work.
from homebrew-px4.
Thank you @KochC for the replay. I've tried Java 1.6 from but the error still occurred.
Java is installed from https://support.apple.com/kb/DL1572?locale=en_US
Below is the error message,
frankmbp:~ appleapple$ java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-468-11M4833)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-468, mixed mode)
frankmbp:~ appleapple$ brew install px4-dev
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (caskroom/cask, homebrew/core).
==> New Formulae
bzt mecab-unidic-extended precomp
crc32c msgpuck
duc pdfpc
==> Updated Formulae
augeas feh osm2pgsql sshguard
aws-sdk-cpp gwt osquery sysdig
bear hopenpgp-tools osrm-backend vapoursynth
bento4 httpd pcap_dnsproxy vnu
blahtexml ibex pktanon x265
cfr-decompiler imagemagick pldebugger xalan-c
checkstyle imagemagick@6 postgis xerces-c
cppcheck jsonnet prometheus xml-security-c
dbxml kitchen-sync protobuf-swift xml-tooling-c
dcm2niix libxml2 pyenv-virtualenv xqilla
emscripten links pypy xsd
enigma mpw pypy3 xtensor
etcd mypy remake zile
fd opensaml serd zorba
==> Renamed Formulae
[email protected] -> [email protected]
==> Installing px4-dev from px4/px4
==> Installing dependencies for px4/px4/px4-dev: fastrtps, fastcdr
==> Installing px4/px4/px4-dev dependency: fastrtps
==> Downloading http://px4-tools.s3.amazonaws.com/fastrtps-v1.5.0p.tar.gz
Already downloaded: /Users/appleapple/Library/Caches/Homebrew/fastrtps-1.5.0.tar.gz
==> Patching
patching file CMakeLists.txt
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 373 with fuzz 1.
==> cmake -DTHIRDPARTY=ON -DBUILD_JAVA=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr/local
==> make
Last 15 lines from /Users/appleapple/Library/Logs/Homebrew/fastrtps/02.make:
[ 86%] Building CXX object src/cpp/CMakeFiles/fastrtps.dir/rtps/builtin/data/ReaderProxyData.cpp.o
[ 88%] Building CXX object src/cpp/CMakeFiles/fastrtps.dir/rtps/flowcontrol/ThroughputController.cpp.o
[ 89%] Building CXX object src/cpp/CMakeFiles/fastrtps.dir/rtps/flowcontrol/ThroughputControllerDescriptor.cpp.o
[ 90%] Building CXX object src/cpp/CMakeFiles/fastrtps.dir/rtps/flowcontrol/FlowController.cpp.o
[ 91%] Building CXX object src/cpp/CMakeFiles/fastrtps.dir/rtps/exceptions/Exception.cpp.o
[ 92%] Building CXX object src/cpp/CMakeFiles/fastrtps.dir/rtps/attributes/PropertyPolicy.cpp.o
[ 93%] Building CXX object src/cpp/CMakeFiles/fastrtps.dir/rtps/common/Token.cpp.o
[ 94%] Building CXX object src/cpp/CMakeFiles/fastrtps.dir/xmlparser/XMLParserCommon.cpp.o
[ 95%] Building CXX object src/cpp/CMakeFiles/fastrtps.dir/xmlparser/XMLProfileElementParser.cpp.o
[ 96%] Building CXX object src/cpp/CMakeFiles/fastrtps.dir/xmlparser/XMLEndpointParser.cpp.o
[ 97%] Building CXX object src/cpp/CMakeFiles/fastrtps.dir/xmlparser/XMLProfileParser.cpp.o
[ 98%] Building CXX object src/cpp/CMakeFiles/fastrtps.dir///thirdparty/tinyxml2/tinyxml2.cpp.o
[100%] Linking CXX shared library libfastrtps.dylib
[100%] Built target fastrtps
make: *** [all] Error 2
from homebrew-px4.
Could you please re-test if after a home-brew update everything is back to normal?
from homebrew-px4.
I'm on El Capitan, so I had to use "brew install --force-bottle fastrps" to use your bottle. I can install px4-dev and make px4fmu-v2_default now. Could you please add the bottle for El Capitan?
from homebrew-px4.
Related Issues (20)
- Error: Cannot tap px4/px4: invalid syntax in tap! HOT 1
- px4-dev currently failing HOT 2
- Failed to install genromfs dependency HOT 1
- Cannot install kconfig-frontends HOT 8
- cannot brew install kconfig-frontends HOT 1
- Compile Error for px4-dev Mac OS Mojave HOT 3
- issue on brew install px4-dev HOT 2
- Update fastrtps bottle HOT 7
- Errors running sitl_gazebo plugins use glog HOT 1
- 'Error 2' when running 'brew install px4-dev' HOT 2
- Error building stable for px4fmu-v3_default on macOS Mojave HOT 2
- macOS installs are failing due to ant/bcel dependency HOT 1
- Simplify dependencies for CI between sim and dev HOT 1
- Error: Cannot tap ardupilot/px4: invalid syntax in tap! HOT 1
- homebrew deprecated the java formula HOT 2
- fastrtps error while 'brew install px4-dev'. HOT 2
- macOS 11.5.1 brew install px4-dev fails for fastrtps HOT 9
- brew install px4-sim-gazebo fails on macOS 11.5.1 HOT 2
- No available formula with the name "gst-libav" HOT 1
- Fails to access libiconv.la
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 homebrew-px4.