Git Product home page Git Product logo

Comments (7)

christian-rauch avatar christian-rauch commented on August 16, 2024

On which OS and architecture is this?

The setup.py script uses the arch_map:

ros_qtc_plugin/setup.py

Lines 23 to 27 in 0381f88

arch_map = {"i386": "x86",
"i686": "x86",
"x86": "x86",
"x86_64": "x64",
"AMD64": "x64"}

to format the correct OS- and architecture-specific URL, e.g. https://download.qt.io/official_releases/qtcreator/12.0/12.0.1/installer_source/.

Are you trying to build this on Windows (i.e. windows_arm64) or Linux (i.e. linux_arm64)?

from ros_qtc_plugin.

christian-rauch avatar christian-rauch commented on August 16, 2024

Does it work after you add the mapping "aarch64": "arm64" to arch_map? If so, can you send a PR that fixes the setup script for you?

from ros_qtc_plugin.

MadhuriPatil1694 avatar MadhuriPatil1694 commented on August 16, 2024

On which OS and architecture is this?

The setup.py script uses the arch_map:

ros_qtc_plugin/setup.py

Lines 23 to 27 in 0381f88

arch_map = {"i386": "x86",
"i686": "x86",
"x86": "x86",
"x86_64": "x64",
"AMD64": "x64"}

to format the correct OS- and architecture-specific URL, e.g. https://download.qt.io/official_releases/qtcreator/12.0/12.0.1/installer_source/.

Are you trying to build this on Windows (i.e. windows_arm64) or Linux (i.e. linux_arm64)?
@christian-rauch sorry for my late response. I am trying to build it on linux_arm64

from ros_qtc_plugin.

MadhuriPatil1694 avatar MadhuriPatil1694 commented on August 16, 2024

"aarch64": "arm64"

after adding this I get following error

download https://download.qt.io/official_releases/qtcreator/12.0/12.0.0/installer_source/linux_arm64//qtcreator.7z
download https://download.qt.io/official_releases/qtcreator/12.0/12.0.0/installer_source/linux_arm64//qtcreator_dev.7z
Traceback (most recent call last):
  File "./setup.py", line 210, in <module>
    dir_qt = qt_download_check_extract(cfg, dir_install)
  File "./setup.py", line 124, in qt_download_check_extract
    r = download_check_fail(base_url+"/Updates.xml", "application/xml")
  File "./setup.py", line 40, in download_check_fail
    raise RuntimeError("error retrieving "+response.url)
RuntimeError: error retrieving https://download.qt.io/online/qtsdkrepository/linux_arm64/desktop/qt6_660//Updates.xml

from ros_qtc_plugin.

christian-rauch avatar christian-rauch commented on August 16, 2024

This configuration only supports Qt 6.7. There is no Qt 6.6 (qt6_660) only Qt 6.7 (qt6_670) under this URL: https://download.qt.io/online/qtsdkrepository/linux_arm64/desktop/.

Can you also change qt_version: "6.6" to qt_version: "6.7" in versions.yaml?

from ros_qtc_plugin.

MadhuriPatil1694 avatar MadhuriPatil1694 commented on August 16, 2024

I am getting following error now after updating qt version

download https://download.qt.io/official_releases/qtcreator/12.0/12.0.0/installer_source/linux_arm64//qtcreator.7z
download https://download.qt.io/official_releases/qtcreator/12.0/12.0.0/installer_source/linux_arm64//qtcreator_dev.7z
Traceback (most recent call last):
  File "./setup.py", line 210, in <module>
    dir_qt = qt_download_check_extract(cfg, dir_install)
  File "./setup.py", line 128, in qt_download_check_extract
    compiler_bits = os_compiler[cfg['os']]+"_"+arch_bits[sys_arch]
KeyError: 'arm64'

This configuration only supports Qt 6.7. There is no Qt 6.6 (qt6_660) only Qt 6.7 (qt6_670) under this URL: https://download.qt.io/online/qtsdkrepository/linux_arm64/desktop/.

Can you also change qt_version: "6.6" to qt_version: "6.7" in versions.yaml?

from ros_qtc_plugin.

christian-rauch avatar christian-rauch commented on August 16, 2024

Well, can you just add the missing keys to the remaining dicts and see if the constructed URL can be resolved? In this particular case, the mapping in arch_bits is missing.

I would be grateful if you send a PR once this is working for you.

from ros_qtc_plugin.

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.