Coder Social home page Coder Social logo

Comments (6)

KochC avatar KochC commented on June 14, 2024 1

Try to switch to Java 1.6 to compile fastrtps. Then switch back later to Java 1.8

from homebrew-px4.

LorenzMeier avatar LorenzMeier commented on June 14, 2024 1

This is annoying - let me see if we can fix this.

from homebrew-px4.

LorenzMeier avatar LorenzMeier commented on June 14, 2024 1

Did that just now. I'm closing this for now, please re-open if it doesn't work.

from homebrew-px4.

zrfrank avatar zrfrank commented on June 14, 2024

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.

LorenzMeier avatar LorenzMeier commented on June 14, 2024

Could you please re-test if after a home-brew update everything is back to normal?

from homebrew-px4.

mje-nz avatar mje-nz commented on June 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.