- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I just downloaded and installed Modus Toolbox. I tried to create an empty project and get the following error.
Summary:
BSP: PSOC6-GENERIC
Template Application(s): Empty PSoC6 App
Application(s) Root Path: C:/Users/liu.chao3/mtw
Press "Create" to create the selected application(s).
Collecting application data...
Info: The following entered on the command line will create the exact same project as that created with the GUI tool:
C:/Users/liu.chao3/ModusToolbox/tools_2.4/project-creator/project-creator-cli.exe --board-id PSOC6-GENERIC --board-uri https://github.com/cypresssemiconductorco/TARGET_PSOC6-GENERIC --board-commit latest-v3.X --app-id mtb-example-psoc6-empty-app --app-uri https://github.com/cypresssemiconductorco/mtb-example-psoc6-empty-app --app-commit latest-v3.X --cypress-tools C:/Users/liu.chao3/ModusToolbox/tools_2.4 --target-dir C:/Users/liu.chao3/mtw --user-app-name Empty_PSoC6_App --output-for-machine --use-modus-shell --offline
==============================================================================
= Cloning 'mtb-example-psoc6-empty-app' =
==============================================================================
Cloning https://github.com/cypresssemiconductorco/mtb-example-psoc6-empty-app into C:/Users/liu.chao3/mtw directory...
env git clone --progress --origin cypress /cygdrive/c/Users/liu.chao3/.modustoolbox/offline/git/https___github.com_cypresssemiconductorco_mtb-example-psoc6-empty-app/mtb-example-psoc6-empty-app Empty_PSoC6_App
Cloning into 'Empty_PSoC6_App'...
done.
Checking out latest-v3.X...
env git checkout --progress latest-v3.X
Note: switching to 'latest-v3.X'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at a9e053c Upload mtb-example-psoc6-empty-app 3.0.0.181
env git remote set-url cypress https://github.com/cypresssemiconductorco/mtb-example-psoc6-empty-app
==============================================================================
= Creating "TARGET_PSOC6-GENERIC.mtb" file(s) =
==============================================================================
C:/Users/liu.chao3/mtw/Empty_PSoC6_App/deps/TARGET_PSOC6-GENERIC.mtb was added
C:/Users/liu.chao3/mtw/Empty_PSoC6_App/deps/TARGET_CY8CPROTO-062-4343W.mtb was removed
==============================================================================
= Updating Makefile for "Empty_PSoC6_App" =
==============================================================================
==============================================================================
= Applying the Latest Version Locking for "Empty_PSoC6_App" =
==============================================================================
C:/Users/liu.chao3/mtw/Empty_PSoC6_App/deps/TARGET_PSOC6-GENERIC.mtb was updated
==============================================================================
= Getting Dependencies for "Empty_PSoC6_App" =
==============================================================================
C:/Users/liu.chao3/ModusToolbox/tools_2.4/modus-shell/bin/make.exe getlibs CY_GETLIBS_OFFLINE=true CY_TOOLS_PATHS=C:/Users/liu.chao3/ModusToolbox/tools_2.4
Tools Directory: C:/Users/liu.chao3/ModusToolbox/tools_2.4
==============================================================================
= Importing libraries =
==============================================================================
Git is git version 2.33.0, found at /usr/bin/git
Resolving dependencies...
CY_GETLIBS_OFFLINE variable is set.
Force switching to offline mode.
Getting manifests from offline contents...
Found offline super-manifest: file:///C:/Users/liu.chao3/.modustoolbox/offline/manifests-v2.X/mtb-super-manifest-fv2.xml
Processing super-manifest file:///C:/Users/liu.chao3/.modustoolbox/offline/manifests-v2.X/mtb-super-manifest-fv2.xml...
Successfully acquired the information.
INFO - Warning: Multiple versions of "core-make" requested. Keeping version "latest-v1.X" and discarding version "release-v1.9.0".
C:/Users/liu.chao3/mtw/Empty_PSoC6_App/libs/core-lib.mtb was added
C:/Users/liu.chao3/mtw/Empty_PSoC6_App/libs/core-make.mtb was added
C:/Users/liu.chao3/mtw/Empty_PSoC6_App/libs/mtb-hal-cat1.mtb was added
C:/Users/liu.chao3/mtw/Empty_PSoC6_App/libs/mtb-pdl-cat1.mtb was added
C:/Users/liu.chao3/mtw/Empty_PSoC6_App/libs/psoc6cm0p.mtb was added
C:/Users/liu.chao3/mtw/Empty_PSoC6_App/libs/recipe-make-cat1a.mtb was added
Dependencies resolved.
Searching application directory (.mtb)...
Found 7 .mtb file(s)
Processing file "C:/Users/liu.chao3/mtw/Empty_PSoC6_App/deps/TARGET_PSOC6-GENERIC.mtb"
==============================================================================
ERROR: --ABORTING--
: Script : C:/Users/liu.chao3/ModusToolbox/tools_2.4/make/getlibs.bash
: Bash path : /usr/bin/bash
: Bash version: 4.4.12(3)-release
: Exit code : 1
: Call stack : trap_exit extract_data find_mtbs main
C:/Users/liu.chao3/ModusToolbox/tools_2.4/make/getlibs.bash: line 646: currLibCommit: unbound variable
make: *** [C:/Users/liu.chao3/ModusToolbox/tools_2.4/make/getlibs.mk:121: getlibs] Error 1
Project "Empty_PSoC6_App" failed to create.
"make getlibs" failed.
Failed to create and export "Empty_PSoC6_App" application.
Also I tried to uninstall modustoolbox and restart my computer, then I install modustoolbox again, but it's no use, still have this problem.
The environment PATH variable :
Solved! Go to Solution.
- Labels:
-
Help
- Tags:
- getlibs
- modustoolbox
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content