Nativescript Sidekick won't start after CLI update - nativescript
I found some dupplicates but those were not working for me:
NativeScript Sidekick won't run since CLI 3.2.1 update doesn't work
https://discourse.nativescript.org/t/tns-update-3-2-1-not-working/2766/4
I am currently trying to start Nativescript Sidekick but it always prompts me to update the nativescript CLI using the command
npm i -g nativescript#latest
This does not work.
I also tried to uninstall, clear cache and install again.
This also did not work.
Any suggestions?
Logs:
Main
[18-12-28 16:54:16.851] (Info) ab.actionsLogger.shell.appVersion -
{"name":"NativeScript Sidekick","version":"1.14.1-v.2018.11.23.3"}
[18-12-28 16:54:16.864] (Info) ab.analytics.shell.clientId -
2084238102.1530883066 [18-12-28 16:54:16.878] (Info) ab.appContext.shell.appContext - No value provided [18-12-28
16:54:16.879] (Info) ab.appContext.shell.projectType - No value
provided [18-12-28 16:54:16.913] (Info)
ab.appValidityWatcher.shell.isAppValid - No value provided [18-12-28
16:54:16.931] (Info) ab.autoUpdate.shell.updates -
{"eventName":"checking-for-update","message":"Checking for
updates..."} [18-12-28 16:54:16.950] (Info)
ab.buildDeploy.shell.buildConfigChanged -
{"platform":null,"buildType":"Cloud","buildConfig":"Debug","isClean":false,"useSharedCloud":false,"webpack":{"isWebpack":false,"env":{"uglify":true,"snapshot":true,"aot":{"debug":false,"release":true},"sourceMap":false}},"isHmr":false}
[18-12-28 16:54:16.954] (Info) ab.buildDeploy.shell.isWebpackSupported
- No value provided [18-12-28 16:54:16.957] (Info) ab.buildDeploy.shell.isWebpackRequired - No value provided [18-12-28
16:54:16.959] (Info) ab.buildDeploy.shell.isAOTSupported - No value
provided [18-12-28 16:54:16.960] (Info)
ab.buildDeploy.shell.isSourceMapsSupported - No value provided
[18-12-28 16:54:16.961] (Info)
ab.buildDeploy.shell.canChangeWebpackOption - true [18-12-28
16:54:16.962] (Info) ab.buildDeploy.shell.isHMRSupported - No value
provided [18-12-28 16:54:16.966] (Info)
ab.buildDeploy.shell.isSharedCloudFlagSupported - No value provided
[18-12-28 16:54:16.975] (Info) ab.certificateStore.shell.isSupported -
true [18-12-28 16:54:16.987] (Info)
ab.codeSigning.shell.codeSigningChanged - {"ios":{},"android":{}}
[18-12-28 16:54:16.991] (Info) ab.codeSigning.shell.csrStore - {}
[18-12-28 16:54:17.004] (Info) ab.createApp.shell.lastUsedAppDirectory
- {"appDirectory":"D:\Projects"} [18-12-28 16:54:17.025] (Info) ab.editor.shell.editorSettings - {"editorPath":"C:\Program
Files\Microsoft VS Code\Code.exe","args":"{projectPath}"} [18-12-28
16:54:17.040] (Info) ab.kinveyAuth.shell.configData -
{"shouldConfigure":false} [18-12-28 16:54:17.118] (Info)
ab.privacy.shell.privacyConfig -
{"skipTracking":true,"privacyPolicyUrl":"https://www.progress.com/legal/privacy-policy","intercomPrivacyPolicyUrl":"https://www.intercom.com/terms-and-policies#privacy","forgetMeUrl":"https://app.onetrust.com/app/#/webform/7897e80a-b8a4-4797-883a-bdacfe1ab8e4","unsubscribeUrl":"https://forms.progress.com/emailoptin","partnersUrl":"https://www.progress.com/partners/partner-directory","privacyInfoShown":true,"emailsAccepted":false}
[18-12-28 16:54:17.121] (Info) ab.proxy.shell.proxySettings - {}
[18-12-28 16:54:17.144] (Info) ab.subscriptions.shell.usageInfo - No
value provided [18-12-28 16:54:17.146] (Info)
ab.subscriptions.shell.accountFeatures - [] [18-12-28 16:54:17.235]
(Info) ab.userAccounts.shell.userAccountList - [] [18-12-28
16:54:17.237] (Info) ab.userAccounts.shell.activeUserAccount - No
value provided [18-12-28 16:54:18.898] (Info)
ab.analytics.ui.setVersion - {"version":"1.14.1-v.2018.11.23.3"}
[18-12-28 16:54:18.901] (Info) ab.buildDeploy.ui.pendingRequests - No
value provided [18-12-28 16:54:18.964] (Info)
ab.vueService.ui.routeChanged -
{"path":"/recent-apps","query":{"back":true}} [18-12-28 16:54:19.068]
(Info) ab.connectedDevices.ui.devicesListChanged - {} [18-12-28
16:54:26.253] (Info) ab.autoUpdate.shell.updates -
{"eventName":"update-not-available","message":"No updates available."}
[18-12-28 16:54:32.087] (Info) ab.tnsDoctor.shell.checkLocalBuild -
{"iOS":{"canExecuteLocalBuild":false,"warnings":[]},"Android":{"canExecuteLocalBuild":true,"warnings":[]}}
[18-12-28 16:54:37.873] (Info) ab.tnsDoctor.shell.checkDependencies -
{"node":{"name":"NodeJS","version":"8.11.3","versionRange":">=8.0.0
<10.6.0 ||
=10.10.0","versionToInstall":"8.11.3","isMet":true,"isAutoFixSupported":false},"npm":{"name":"npm","version":"6.4.1","isMet":true,"isAutoFixSupported":false},"tns":{"name":"NativeScript
CLI","version":null,"versionRange":">=5.0.1","versionToInstall":"latest","isMet":false,"isAutoFixSupported":true}}
CONSOLE:
ENV: {"ALLUSERSPROFILE":"C:\ProgramData","ANDROID_AVD_HOME":"C:\Users\run_j\.android\avd","ANDROID_HOME":"C:\Users\run_j\AppData\Local\Android\Sdk","ANDROID_SDK_ROOT":"C:\Users\run_j\AppData\Local\Android\Sdk","APPDATA":"C:\Users\run_j\AppData\Roaming","ChocolateyInstall":"C:\ProgramData\chocolatey","ChocolateyLastPathUpdate":"Fri
Nov 9 12:41:32
2018","CLASSPATH":".;","CommonProgramFiles":"C:\Program Files\Common
Files","CommonProgramFiles(x86)":"C:\Program Files (x86)\Common
Files","CommonProgramW6432":"C:\Program Files\Common
Files","COMPUTERNAME":"LAPTOP-23SLBRUJ","ComSpec":"C:\WINDOWS\system32\cmd.exe","DriverData":"C:\Windows\System32\Drivers\DriverData","DXROOT":"D:\Programs\SandCastle\","FPS_BROWSER_APP_PROFILE_STRING":"Internet
Explorer","FPS_BROWSER_USER_PROFILE_STRING":"Default","FSHARPINSTALLDIR":"C:\Program
Files (x86)\Microsoft
SDKs\F#\10.1\Framework\v4.0\","GOOGLE_API_KEY":"AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q","GTK_BASEPATH":"C:\Program
Files
(x86)\GtkSharp\2.12\","HOMEDRIVE":"C:","HOMEPATH":"\Users\run_j","JAVA_HOME":"C:\Program
Files\Java\jdk1.8.0_191","LOCALAPPDATA":"C:\Users\run_j\AppData\Local","LOGONSERVER":"\\LAPTOP-23SLBRUJ","NUMBER_OF_PROCESSORS":"8","OneDrive":"C:\Users\run_j\OneDrive","OneDriveConsumer":"C:\Users\run_j\OneDrive","OS":"Windows_NT","Path":"C:\ProgramData\Oracle\Java\javapath;C:\Program
Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS
Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
Files
(x86)\GtkSharp\2.12\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;D:\Programs\QuickTime\QTSystem\;C:\Program
Files (x86)\Intel\Intel(R) Management Engine
Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine
Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management
Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management
Engine Components\IPT;C:\Program Files
(x86)\Skype\Phone\;C:\Users\run_j\.dnx\bin;C:\Program
Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL
Server\130\Tools\Binn\;C:\Program Files
(x86)\Graphviz2.38\bin;C:\xampp\php;C:\ProgramData\ComposerSetup\bin;C:\Program
Files\PuTTY\;C:\Program Files\dotnet\;C:\Program Files
(x86)\NVIDIA
Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;\"C:\ProgramData\Oracle\Java\javapath;C:\Program
Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS
Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
Files
(x86)\GtkSharp\2.12\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;D:\Programs\QuickTime\QTSystem\;C:\Program
Files (x86)\Intel\Intel(R) Management Engine
Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine
Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management
Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management
Engine Components\IPT;C:\Program Files
(x86)\Skype\Phone\;C:\Users\run_j\.dnx\bin;C:\Program
Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL
Server\130\Tools\Binn\;C:\Program Files
(x86)\Graphviz2.38\bin;C:\xampp\php;C:\ProgramData\ComposerSetup\bin;C:\Program
Files\PuTTY\;C:\Program Files\dotnet\;C:\Program Files
(x86)\NVIDIA
Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;\"C:\ProgramData\Oracle\Java\javapath;C:\Program
Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS
Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
Files
(x86)\GtkSharp\2.12\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;D:\Programs\QuickTime\QTSystem\;C:\Program
Files (x86)\Intel\Intel(R) Management Engine
Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine
Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management
Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management
Engine Components\IPT;C:\Program Files
(x86)\Skype\Phone\;C:\Users\run_j\.dnx\bin;C:\Program
Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL
Server\130\Tools\Binn\;C:\Program Files
(x86)\Graphviz2.38\bin;C:\xampp\php;C:\ProgramData\ComposerSetup\bin;C:\Program
Files\PuTTY\;C:\Program Files\dotnet\;C:\Program Files
(x86)\NVIDIA
Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;\"C:\WINDOWS\System32;C:\Android\android-sdk\tools;C:\Android\android-sdk\platform-tools\";C:\ProgramData\chocolatey\bin;D:\Programs\NodeJS\;C:\Android\android-sdk\tools;C:\Android\android-sdk\platform-tools;C:\Android\android-sdk\tools\bin;C:\Program
Files\Microsoft VS Code\bin;C:\Program
Files\Java\jdk1.8.0_191\bin;C:\Program
Files\Oracle\VirtualBox;;C:\Android\android-sdk\tools;C:\Android\android-sdk\platform-tools\";C:\ProgramData\chocolatey\bin;D:\Programs\NodeJS\;C:\Android\android-sdk\tools;C:\Android\android-sdk\platform-tools;C:\Android\android-sdk\tools\bin;C:\Program
Files\Microsoft VS Code\bin;C:\Program
Files\Java\jdk1.8.0_191\bin;C:\Program
Files\Oracle\VirtualBox;;C:\Android\android-sd;C:\Users\run_j\AppData\Local\Microsoft\WindowsApps;C:\Users\run_j\AppData\Roaming\Composer\vendor\bin;C:\Program
Files\Microsoft VS
Code\bin;C:\Users\run_j\AppData\Roaming\npm","PATHEXT":".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC","PROCESSOR_ARCHITECTURE":"AMD64","PROCESSOR_IDENTIFIER":"Intel64
Family 6 Model 94 Stepping 3,
GenuineIntel","PROCESSOR_LEVEL":"6","PROCESSOR_REVISION":"5e03","ProgramData":"C:\ProgramData","ProgramFiles":"C:\Program
Files","ProgramFiles(x86)":"C:\Program Files
(x86)","ProgramW6432":"C:\Program
Files","PSModulePath":"C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\","PUBLIC":"C:\Users\Public","SESSIONNAME":"Console","SystemDrive":"C:","SystemRoot":"C:\WINDOWS","TEMP":"C:\Users\run_j\AppData\Local\Temp","TMP":"C:\Users\run_j\AppData\Local\Temp","USERDOMAIN":"LAPTOP-23SLBRUJ","USERDOMAIN_ROAMINGPROFILE":"LAPTOP-23SLBRUJ","USERNAME":"Mennolp","USERPROFILE":"C:\Users\run_j","VBOX_MSI_INSTALL_PATH":"C:\Program
Files\Oracle\VirtualBox\","VS140COMNTOOLS":"C:\Program Files
(x86)\Microsoft Visual Studio
14.0\Common7\Tools\","windir":"C:\WINDOWS"}
TIME: appReady: 77.854ms
TIME: syncProxy: 1042.114ms
TIME: apiShell: 87.933ms [2018-12-28T15:54:17.245Z]: Shell Ready - {"shellData":{"lastModuleEvent":"componentsReady","moduleEventsCache":64,"sendRequestsCache":310,"windows":[{"type":"splash-screen","ready":false},{"type":"index","ready":false}],"shellReady":false,"allWindowsReady":false}}
TIME: modulesLoad: 473.362ms [2018-12-28T15:54:18.460Z]: UI Receiving Ready -
{"uiData":{"readyForReceiving":true,"readyForSending":false,"sendRequestsCache":7},"windowHref":"file:///C:/Users/run_j/AppData/Local/NativeScriptSidekick/app-1.14.1-v201811233/resources/app.asar/ui/splash-screen.html","shellData":{"lastModuleEvent":"componentsReady","moduleEventsCache":64,"sendRequestsCache":312,"windows":[{"type":"splash-screen","ready":false},{"type":"index","ready":false}],"shellReady":false,"allWindowsReady":false}}
[2018-12-28T15:54:18.461Z]: Shell Window Ready -
{"windowType":"splash-screen","shellData":{"lastModuleEvent":"componentsReady","moduleEventsCache":64,"sendRequestsCache":312,"windows":[{"type":"splash-screen","ready":true},{"type":"index","ready":false}],"shellReady":false,"allWindowsReady":false}}
[2018-12-28T15:54:18.461Z]: UI Receiving Ready -
{"uiData":{"readyForReceiving":true,"readyForSending":false,"sendRequestsCache":7},"windowHref":"file:///C:/Users/run_j/AppData/Local/NativeScriptSidekick/app-1.14.1-v201811233/resources/app.asar/ui/index.html","shellData":{"lastModuleEvent":"componentsReady","moduleEventsCache":64,"sendRequestsCache":312,"windows":[{"type":"splash-screen","ready":true},{"type":"index","ready":false}],"shellReady":false,"allWindowsReady":false}}
[2018-12-28T15:54:18.461Z]: Shell Window Ready -
{"windowType":"index","shellData":{"lastModuleEvent":"componentsReady","moduleEventsCache":64,"sendRequestsCache":312,"windows":[{"type":"splash-screen","ready":true},{"type":"index","ready":true}],"shellReady":true,"allWindowsReady":true}}
[2018-12-28T15:54:18.715Z]: UI Sending Ready -
{"uiData":{"readyForReceiving":true,"readyForSending":true,"sendRequestsCache":15},"windowHref":"file:///C:/Users/run_j/AppData/Local/NativeScriptSidekick/app-1.14.1-v201811233/resources/app.asar/ui/splash-screen.html","shellData":{"lastModuleEvent":"componentsReady","moduleEventsCache":64,"sendRequestsCache":0,"windows":[{"type":"splash-screen","ready":true},{"type":"index","ready":true}],"shellReady":true,"allWindowsReady":true}}
[2018-12-28T15:54:18.895Z]: UI Sending Ready -
{"uiData":{"readyForReceiving":true,"readyForSending":true,"sendRequestsCache":85},"windowHref":"file:///C:/Users/run_j/AppData/Local/NativeScriptSidekick/app-1.14.1-v201811233/resources/app.asar/ui/index.html","shellData":{"lastModuleEvent":"componentsReady","moduleEventsCache":64,"sendRequestsCache":0,"windows":[{"type":"splash-screen","ready":true},{"type":"index","ready":true}],"shellReady":true,"allWindowsReady":true}}
TIME: initWindows: 2918.208ms
TIME: checkPrerequisites: 22657.786ms
I had two versions of npm installed without me knowing. Had to uninstall one of them and reset my PATH variable to the correct location.
This fixed the issue!
Related
Linking with `x86_64-w64-mingw32-gcc` failed: exit code: 1
I'm trying to follow a tutorial with Rust, and everything seems to be fine when the project is building, however when it's to compile the final project I get this error: error: linking with `x86_64-w64-mingw32-gcc` failed: exit code: 1 | = note: "x86_64-w64-mingw32-gcc" "-fno-use-linker-plugin" "-Wl,--dynamicbase" "-Wl,--disable-auto-image-base" "-m64" "-Wl,--high-entropy-va" "C:\\Users\\HTS\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsbegin.o" "C:\\Users\\HTS\\Desktop\\OpenGL\\target\\debug\\deps\\opengl-c7838aa6ca0d585e.opengl.78e8c60b-cgu.0.rcgu.o" "C:\\Users\\HTS\\Desktop\\OpenGL\\target\\debug\\deps\\opengl-c7838aa6ca0d585e.opengl.78e8c60b-cgu.1.rcgu.o" "C:\\Users\\HTS\\Desktop\\OpenGL\\target\\debug\\deps\\opengl-c7838aa6ca0d585e.opengl.78e8c60b-cgu.10.rcgu.o" "C:\\Users\\HTS\\Desktop\\OpenGL\\target\\debug\\deps\\opengl-c7838aa6ca0d585e.opengl.78e8c60b-cgu.11.rcgu.o" "C:\\Users\\HTS\\Desktop\\OpenGL\\target\\debug\\deps\\opengl-c7838aa6ca0d585e.opengl.78e8c60b-cgu.12.rcgu.o" "C:\\Users\\HTS\\Desktop\\OpenGL\\target\\debug\\deps\\opengl-c7838aa6ca0d585e.opengl.78e8c60b-cgu.13.rcgu.o" "C:\\Users\\HTS\\Desktop\\OpenGL\\target\\debug\\deps\\opengl-c7838aa6ca0d585e.opengl.78e8c60b-cgu.14.rcgu.o" "C:\\Users\\HTS\\Desktop\\OpenGL\\target\\debug\\deps\\opengl-c7838aa6ca0d585e.opengl.78e8c60b-cgu.15.rcgu.o" "C:\\Users\\HTS\\Desktop\\OpenGL\\target\\debug\\deps\\opengl-c7838aa6ca0d585e.opengl.78e8c60b-cgu.2.rcgu.o" "C:\\Users\\HTS\\Desktop\\OpenGL\\target\\debug\\deps\\opengl-c7838aa6ca0d585e.opengl.78e8c60b-cgu.3.rcgu.o" "C:\\Users\\HTS\\Desktop\\OpenGL\\target\\debug\\deps\\opengl-c7838aa6ca0d585e.opengl.78e8c60b-cgu.4.rcgu.o" "C:\\Users\\HTS\\Desktop\\OpenGL\\target\\debug\\deps\\opengl-c7838aa6ca0d585e.opengl.78e8c60b-cgu.5.rcgu.o" "C:\\Users\\HTS\\Desktop\\OpenGL\\target\\debug\\deps\\opengl-c7838aa6ca0d585e.opengl.78e8c60b-cgu.6.rcgu.o" "C:\\Users\\HTS\\Desktop\\OpenGL\\target\\debug\\deps\\opengl-c7838aa6ca0d585e.opengl.78e8c60b-cgu.7.rcgu.o" "C:\\Users\\HTS\\Desktop\\OpenGL\\target\\debug\\deps\\opengl-c7838aa6ca0d585e.opengl.78e8c60b-cgu.8.rcgu.o" "C:\\Users\\HTS\\Desktop\\OpenGL\\target\\debug\\deps\\opengl-c7838aa6ca0d585e.opengl.78e8c60b-cgu.9.rcgu.o" "C:\\Users\\HTS\\Desktop\\OpenGL\\target\\debug\\deps\\opengl-c7838aa6ca0d585e.572cz1v33n8irwuf.rcgu.o" "-L" "C:\\Users\\HTS\\Desktop\\OpenGL\\target\\debug\\deps" "-L" "C:\\Users\\HTS\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\winapi-x86_64-pc-windows-gnu-0.4.0\\lib" "-L" "C:\\Users\\HTS\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-Wl,-Bstatic" "C:\\Users\\HTS\\Desktop\\OpenGL\\target\\debug\\deps\\libsdl2-ff8e3aecaba1039f.rlib" "C:\\Users\\HTS\\Desktop\\OpenGL\\target\\debug\\deps\\librand-4852703721ce3987.rlib" "C:\\Users\\HTS\\Desktop\\OpenGL\\target\\debug\\deps\\librand-27387e802a09b3d3.rlib" "C:\\Users\\HTS\\Desktop\\OpenGL\\target\\debug\\deps\\libwinapi-02ff2b90b49e95d2.rlib" "C:\\Users\\HTS\\Desktop\\OpenGL\\target\\debug\\deps\\libsdl2_sys-14ec34eb6bd75e06.rlib" "C:\\Users\\HTS\\Desktop\\OpenGL\\target\\debug\\deps\\libbitflags-9af2d16a755593c6.rlib" "C:\\Users\\HTS\\Desktop\\OpenGL\\target\\debug\\deps\\liblazy_static-187a5db85e9be9d4.rlib" "C:\\Users\\HTS\\Desktop\\OpenGL\\target\\debug\\deps\\liblibc-44ccd068dcbcaeb4.rlib" "C:\\Users\\HTS\\Desktop\\OpenGL\\target\\debug\\deps\\libnum-da005076854413f9.rlib" "C:\\Users\\HTS\\Desktop\\OpenGL\\target\\debug\\deps\\libnum_iter-f65f0b20b4e2d668.rlib" "C:\\Users\\HTS\\Desktop\\OpenGL\\target\\debug\\deps\\libnum_integer-55ad1a282e0a6e5d.rlib" "C:\\Users\\HTS\\Desktop\\OpenGL\\target\\debug\\deps\\libnum_traits-d9adf69a437723aa.rlib" "-Wl,--start-group" "C:\\Users\\HTS\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd-56555e8df3df487f.rlib" "C:\\Users\\HTS\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libpanic_unwind-04dfc4a5db6cb4f5.rlib" "C:\\Users\\HTS\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libobject-e582f52592ec7f47.rlib" "C:\\Users\\HTS\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libmemchr-a1a4dcc32e76e372.rlib" "C:\\Users\\HTS\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libaddr2line-627bcebbbc102a48.rlib" "C:\\Users\\HTS\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libgimli-be04d4d5349d30fd.rlib" "C:\\Users\\HTS\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd_detect-db47bdfceba1a4fb.rlib" "C:\\Users\\HTS\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_demangle-dee726504430f253.rlib" "C:\\Users\\HTS\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libhashbrown-437c3d2676cc0788.rlib" "C:\\Users\\HTS\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_alloc-1270bba6b8f30349.rlib" "C:\\Users\\HTS\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libunwind-f8f2892b852b8ad4.rlib" "C:\\Users\\HTS\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcfg_if-c1b181d856fd1e1d.rlib" "C:\\Users\\HTS\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liblibc-f05d25f40b11c06d.rlib" "C:\\Users\\HTS\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liballoc-0feff3ebeb068fdc.rlib" "C:\\Users\\HTS\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_core-ff80f052342e9644.rlib" "C:\\Users\\HTS\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcore-c879fd37675b8e5a.rlib" "-Wl,--end-group" "C:\\Users\\HTS\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcompiler_builtins-36a35a68f30e9765.rlib" "-Wl,-Bdynamic" "-lwinapi_advapi32" "-lwinapi_credui" "-lwinapi_kernel32" "-lwinapi_secur32" "-lSDL2" "-lkernel32" "-lws2_32" "-lbcrypt" "-ladvapi32" "-luserenv" "-lkernel32" "-lgcc_eh" "-l:libpthread.a" "-lmsvcrt" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-luser32" "-lkernel32" "-Wl,--nxcompat" "-L" "C:\\Users\\HTS\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-o" "C:\\Users\\HTS\\Desktop\\OpenGL\\target\\debug\\deps\\opengl-c7838aa6ca0d585e.exe" "-Wl,--gc-sections" "-no-pie" "-nodefaultlibs" "C:\\Users\\HTS\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsend.o" = note: C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lSDL2 collect2.exe: error: ld returned 1 exit status error: could not compile `opengl` due to previous error Caused by: process didn't exit successfully: `set CARGO=\\?\C:\Users\HTS\.rustup\toolchains\stable-x86_64-pc-windows-gnu\bin\cargo.exe&& set CARGO_BIN_NAME=opengl&& set CARGO_CRATE_NAME=opengl&& set CARGO_MANIFEST_DIR=C:\Users\HTS\Desktop\OpenGL&& set CARGO_PKG_AUTHORS=""&& set CARGO_PKG_DESCRIPTION=""&& set CARGO_PKG_HOMEPAGE=""&& set CARGO_PKG_LICENSE=""&& set CARGO_PKG_LICENSE_FILE=""&& set CARGO_PKG_NAME=opengl&& set CARGO_PKG_REPOSITORY=""&& set CARGO_PKG_VERSION=0.1.0&& set CARGO_PKG_VERSION_MAJOR=0&& set CARGO_PKG_VERSION_MINOR=1&& set CARGO_PKG_VERSION_PATCH=0&& set CARGO_PKG_VERSION_PRE=""&& set CARGO_PRIMARY_PACKAGE=1&& set PATH="C:\Users\HTS\Desktop\OpenGL\target\debug\deps;C:\Users\HTS\.rustup\toolchains\stable-x86_64-pc-windows-gnu\bin;C:\Users\HTS\.cargo\bin;C:\Users\HTS\.rustup\toolchains\stable-x86_64-pc-windows-gnu\bin;C:\Program Files (x86)\VMware\VMware Player\bin\;C:\Program Files\Microsoft\jdk-11.0.12.7-hotspot\bin;C:\VulkanSDK\1.2.189.2\Bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files\AdoptOpenJDK\jdk-14.0.2.12-hotspot\bin;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\nodejs\;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Go\bin;C:\MinGW64\bin;C:\CMake\bin;C:\Users\HTS\.cargo\bin;C:\Users\HTS\AppData\Local\Programs\Python\Python38\Scripts\;C:\Users\HTS\AppData\Local\Programs\Python\Python38\;C:\Users\HTS\AppData\Local\Programs\Python\Python37\Scripts\;C:\Users\HTS\AppData\Local\Programs\Python\Python37\;C:\Users\HTS\Desktop\ffmpeg-4.4.1-full_build\bin\ffmpeg.exe;C:\Users\HTS\AppData\Local\Microsoft\WindowsApps;C:\Users\HTS\go\bin;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.3.3\bin;C:\Users\HTS\AppData\Local\Microsoft\WindowsApps;C:\Users\HTS\.dotnet\tools;C:\Users\HTS\AppData\Roaming\npm;C:\Users\HTS\AppData\Local\GitHubDesktop\bin;C:\Users\HTS\AppData\Local\bin\NASM;C:\Program Files\Pypy - 3.8;C:\Users\HTS\.dotnet\tools;C:\Users\HTS\Desktop\ffmpeg-4.4.1-full_build\bin;C:\Program Files (x86)\Nmap;C:\MinGW\bin;C:\Users\HTS\AppData\Local\Programs\Microsoft VS Code\bin;C:\MinGW\mingw32\bin;C:\Program Files (x86)\GnuWin32\bin;C:\Users\HTS\go\bin;"&& rustc --crate-name opengl --edition=2021 src\main.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=c7838aa6ca0d585e -C extra-filename=-c7838aa6ca0d585e --out-dir C:\Users\HTS\Desktop\OpenGL\target\debug\deps -C incremental=C:\Users\HTS\Desktop\OpenGL\target\debug\incremental -L dependency=C:\Users\HTS\Desktop\OpenGL\target\debug\deps --extern sdl2=C:\Users\HTS\Desktop\OpenGL\target\debug\deps\libsdl2-ff8e3aecaba1039f.rlib -L native=C:\Users\HTS\.cargo\registry\src\github.com-1ecc6299db9ec823\winapi-x86_64-pc-windows-gnu-0.4.0\lib` (exit code: 1) I tried searching everywhere, no luck. I reinstalled MinGW, cargo, still nothing. And I have no idea what -lSDL2 is and if I'm missing some lib...
FHIR publisher fails on a java NullPointerException
I am trying to build our IG for the first time using the publishler.jar but am getting a NullPointerException. I understand that there is some problem with it not managing to find some code in a CodeSystem but I can't figure it out. One clear problem that you'll see when I paste the output is that, for some reason it is working with r5 but we need r4 (4.0.1) and I have a hunch that this is leading to the problem because in r5 we do seem to have some issue with CodeSystems we still haven't figured out. Maybe someone can figure out what I'm doing wrong. I actually tried 2 different approaches. the first: java -jar publisher.jar -ig "c:\FHIR\outburn\fsh-generated\resources\ImplementationGuide-outburn.json" output: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 FHIR IG Publisher Version 1.1.104 (Git# 036db5f8f83b). Built 2022-02-16T06:43:23.823Z (13 hours old) Detected Java version: 1.8.0_275 from C:\Program Files\AdoptOpenJDK\jdk-8.0.275.1-hotspot\jre on Windows 10/amd64 (64bit). 1796MB available dir = C:\FHIR\outburn\input-cache, path = C:\Python39\Scripts\;C:\Python39\;C:\Program Files\AdoptOpenJDK\jdk-8.0.275.1-hotspot\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\Microsoft VS Code\bin;C:\Program Files\Calibre2\;C:\hapi-fhir-cli;C:\Program Files\nodejs\;C:\ProgramData\chocolatey\bin;C:\Ruby27-x64\bin;C:\Users\amosr\AppData\Local\Programs\Python\Python38-32\Scripts\;C:\Users\amosr\AppData\Local\Programs\Python\Python38-32\;C:\Users\amosr\AppData\Local\Microsoft\WindowsApps;;C:\Program Files\JetBrains\PyCharm 2019.3.4\bin;;C:\Users\amosr\AppData\Roaming\npm Parameters: -ig c:\FHIR\outburn\fsh-generated\resources\ImplementationGuide-outburn.json Start Clock # Wednesday, February 16, 2022 9:53:20 PM IST (2022-02-16T21:53:20+02:00) API keys loaded from C:\Users\amosr\fhir-api-keys.ini (00:00.0010) Package Cache: C:\Users\amosr\.fhir\packages (00:00.0014) Load Configuration from c:\FHIR\outburn\fsh-generated\resources\ImplementationGuide-outburn.json (00:00.0030) Root directory: C:\FHIR\outburn\fsh-generated\resources (00:00.0060) Publishing Content Failed: null (00:00.0064) (00:00.0065) Use -? to get command line help (00:00.0070) (00:00.0072) Stack Dump (for debugging): (00:00.0073) java.lang.NullPointerException at org.hl7.fhir.igtools.publisher.Publisher.initializeFromJson(Publisher.java:2920) at org.hl7.fhir.igtools.publisher.Publisher.initialize(Publisher.java:2162) at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:850) at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:10005) the second attempt was to use the _geounce.bat (which looks like this(link)) when run correctly it starts off with running SUSHI, which takes FHIR Shorthand files and turns them to JSON. That part's fine so I am removing that part of the output: C:\FHIR\outburn>_genonce.bat -ig "c:\FHIR\outburn\fsh-generated\resources\ImplementationGuide-outburn.json" Checking internet connection... Reply from 104.196.166.17: bytes=32 time=161ms TTL=115 We're online Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 FHIR IG Publisher Version 1.1.104 (Git# 036db5f8f83b). Built 2022-02-16T06:43:23.823Z (12 hours old) Detected Java version: 1.8.0_275 from C:\Program Files\AdoptOpenJDK\jdk-8.0.275.1-hotspot\jre on Windows 10/amd64 (64bit). 1796MB available dir = C:\FHIR\outburn, path = C:\Python39\Scripts\;C:\Python39\;C:\Program Files\AdoptOpenJDK\jdk-8.0.275.1-hotspot\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\Microsoft VS Code\bin;C:\Program Files\Calibre2\;C:\hapi-fhir-cli;C:\Program Files\nodejs\;C:\ProgramData\chocolatey\bin;C:\Ruby27-x64\bin;C:\Users\amosr\AppData\Local\Programs\Python\Python38-32\Scripts\;C:\Users\amosr\AppData\Local\Programs\Python\Python38-32\;C:\Users\amosr\AppData\Local\Microsoft\WindowsApps;;C:\Program Files\JetBrains\PyCharm 2019.3.4\bin;;C:\Users\amosr\AppData\Roaming\npm Parameters: -ig . -ig c:\FHIR\outburn\fsh-generated\resources\ImplementationGuide-outburn.json Start Clock # Wednesday, February 16, 2022 8:46:45 PM IST (2022-02-16T20:46:45+02:00) API keys loaded from C:\Users\amosr\fhir-api-keys.ini (00:00.0009) Package Cache: C:\Users\amosr\.fhir\packages (00:00.0014) Run Sushi on C:\FHIR\outburn (00:00.0016) --this was SUSHI output -- Load Template from hl7.base.template (00:30.0410) 2022-02-16 20:47:24.317 [main] INFO o.h.f.u.n.FilesystemPackageCacheManager [FilesystemPackageCacheManager.java:232] Failed to determine latest version of package hl7.base.template from server: http://packages.fhir.org Load Template from fhir.base.template#0.2.2 (00:40.0309) onLoad.findSpreadsheets: onLoad.updateIg: [xslt] Processing C:\FHIR\outburn\template\onLoad-ig-working.xml to C:\FHIR\outburn\template\onLoad-ig-updated.xml [xslt] Loading stylesheet C:\FHIR\outburn\template\scripts\onLoad.xslt onLoad.extend: onLoad: Root directory: C:\FHIR\outburn (00:45.0121) Core Package hl7.fhir.r4.core#4.0.1 Terminology Cache is at C:\FHIR\outburn\input-cache\txcache. 1 files in cache (00:50.0633) Connect to Terminology Server at http://tx.fhir.org (00:50.0637) Load Package hl7.fhir.pubpack#0.0.9 Load Package hl7.fhir.xver-extensions#0.0.8 Load Package hl7.terminology.r4#3.0.0 Initialization complete (00:56.0996) Fetch http://fhir.outburn.co.il/package-list.json for version check (00:56.0999) Load Content (00:58.0044) loadPrePages from FetchedFile[C:\FHIR\outburn\fsh-generated\includes] as C:\FHIR\outburn\fsh-generated\includes Processing Conformance Resources (00:59.0527) Generating Snapshots (01:00.0197) Making device-mappings.html#udi relative to 'http://hl7.org/fhir/R4/' Making event.html relative to 'http://hl7.org/fhir/R4/' Making servicerequest-example-di.html relative to 'http://hl7.org/fhir/R4/' Making servicerequest-example-di.html relative to 'http://hl7.org/fhir/R4/' Generating Narratives (01:01.0699) Publishing Content Failed: null (01:02.0700) (01:02.0701) Use -? to get command line help (01:02.0704) (01:02.0709) Stack Dump (for debugging): (01:02.0710) java.lang.NullPointerException at org.hl7.fhir.r5.terminologies.CodeSystemUtilities.hasCode(CodeSystemUtilities.java:441) at org.hl7.fhir.r5.terminologies.CodeSystemUtilities.hasCode(CodeSystemUtilities.java:433) at org.hl7.fhir.r5.renderers.CodeSystemRenderer.showPropertyInTable(CodeSystemRenderer.java:248) at org.hl7.fhir.r5.renderers.CodeSystemRenderer.generateCodeSystemContent(CodeSystemRenderer.java:153) at org.hl7.fhir.r5.renderers.CodeSystemRenderer.render(CodeSystemRenderer.java:60) at org.hl7.fhir.r5.renderers.CodeSystemRenderer.render(CodeSystemRenderer.java:43) at org.hl7.fhir.r5.renderers.ResourceRenderer.render(ResourceRenderer.java:77) at org.hl7.fhir.igtools.publisher.Publisher.generateNarratives(Publisher.java:1806) at org.hl7.fhir.igtools.publisher.Publisher.loadConformance(Publisher.java:4671) at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:1005) at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:856) at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:10005) Press any key to continue . . . I really hope someone can help me because I am starting to lose it :) Hope the post wasn't too long. If it is, let me know and I'll take the outputs out to a snippet site.
that’s a bug in the IG publisher for sure. Will be fixed next release. but the cause is because you have a URL for the property that is simply a URL. That might be valid and what you want, or not. Explanation: The property definition has a uri that formally identifies the property. The IGPublisher was expecting that to be in the format {code-system-uri}#{code} but that format isn't required.
How do you debug using 'Code::Blocks 20.03' (the "mingw" version)?
I have built a Console Application using Code::Blocks 20.03, which was installed using codeblocks-20.03mingw-setup.exe. The defaults for the installation directory(see Note01) and the installation type (Full), were used. I tried to Debug by using the Debug menu, clicking Start/Continue, and debugging failed. I guess the important information from the log of what happened is Starting the debuggee failed: No executable specified, use `target exec' The full output from trying to debug is given below. My question is, how do you debug using Code::Blocks 20.03 (the "mingw" version)? Full Output from trying to run a debugging session follows. Active debugger config: GDB/CDB debugger:Default Building to ensure sources are up-to-date Selecting target: Debug Adding source dir: C:\CodeBlocks20.03Small\ConsoleApplication\program01INc\ Adding source dir: C:\CodeBlocks20.03Small\ConsoleApplication\program01INc\ Adding file: C:\CodeBlocks20.03Small\ConsoleApplication\program01INc\bin\Debug\program01INc.exe Changing directory to: C:/CodeBlocks20.03Small/ConsoleApplication/program01INc/. Set variable: PATH=.;C:\Program Files\CodeBlocks\MinGW\bin;C:\Program Files\CodeBlocks\MinGW;C:\Program Files\Microsoft MPI\Bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\Skype\Phone;C:\Program Files (x86)\Git\bin;C:\Program Files (x86)\Git\cmd;C:\Users\Roger\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0;c:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn;c:\Program Files\Microsoft SQL Server\110\DTS\Binn;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Windows\System32\OpenSSH;C:\Program Files (x86)\FreeFem++;C:\Program Files\dotnet;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files (x86)\Microsoft VS Code\bin;C:\Users\Roger\AppData\Local\Programs\Python\Python38-32\Scripts;C:\Users\Roger\AppData\Local\Programs\Python\Python38-32;C:\Users\Roger\AppData\Local\Programs\MiKTeX 2.9\miktex\bin\x64;C:\texlive\2017\bin\win32;C:\Users\Roger\AppData\Local\Microsoft\WindowsApps;\;C:\Program Files (x86)\clisp-2.49 Starting debuggee: C:\MinGW\bin\gdb.exe -nx -fullname -quiet -args C:/CodeBlocks20.03Small/ConsoleApplication/program01INc/bin/Debug/program01INc.exe done Setting breakpoints Debugger name and version: GNU gdb (GDB) 7.6.1 Starting the debuggee failed: No executable specified, use `target exec'. Debugger finished with status 0 =============================== In building my project I used the defaults from the Select Compiler dialog box. Note01: It looks as if you should (date 11th April 2021) always use the default directory, to install. I installed a version of Code::Blocks in C:\Program Files\CodeBlocksSmall when I went to uninstall it, the uninstaller would only accept C:\Program Files\CodeBlocks as the directory to uninstall from. I deleted the CodeBlocksSmall directory manually. I noticed this behaviour when I installed using codeblocks-20.03-setup.exe. Related question Starting the debuggee failed: No executable specified, use `target exec' ======================= It looks as if a prior installation of MinGW was inadvertently being used by the attempted debugging session(this is no longer possible). See the involvement of the file C:\MinGW\bin\gdb.exe, in the line Starting debugger: C:\MinGW\bin\gdb.exe -nx -fullname -quiet -args Now when I try to run a debugging session, failure occurs differently (see just after the next four lines). It looks to me as if I need to at least to change the behaviour indicated by Starting debugger: C:\MinGW\bin\gdb.exe -nx -fullname -quiet -args to behaviour produced by Starting debugger: C:\Program Files\CodeBlocks\MinGW\bin\gdb.exe -nx -fullname -quiet -args Active debugger config: GDB/CDB debugger:Default Building to ensure sources are up-to-date Selecting target: Debug Adding source dir: C:\Codeblocks20.03\ConsoleApp\program01INcForAnswer\ Adding source dir: C:\Codeblocks20.03\ConsoleApp\program01INcForAnswer\ Adding file: C:\Codeblocks20.03\ConsoleApp\program01INcForAnswer\bin\Debug\program01INcForAnswer.exe Changing directory to: C:/Codeblocks20.03/ConsoleApp/program01INcForAnswer/. Set variable: PATH=.;C:\Program Files\CodeBlocks\MinGW\bin;C:\Program Files\CodeBlocks\MinGW;C:\Program Files\Microsoft MPI\Bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\Skype\Phone;C:\Program Files (x86)\Git\bin;C:\Program Files (x86)\Git\cmd;C:\Users\Roger\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0;c:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn;c:\Program Files\Microsoft SQL Server\110\DTS\Binn;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Windows\System32\OpenSSH;C:\Program Files (x86)\FreeFem++;C:\Program Files\dotnet;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files (x86)\Microsoft VS Code\bin;C:\Users\Roger\AppData\Local\Programs\Python\Python38-32\Scripts;C:\Users\Roger\AppData\Local\Programs\Python\Python38-32;C:\Users\Roger\AppData\Local\Programs\MiKTeX 2.9\miktex\bin\x64;C:\texlive\2017\bin\win32;C:\Users\Roger\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\clisp-2.49 Starting debugger: C:\MinGW\bin\gdb.exe -nx -fullname -quiet -args C:/Codeblocks20.03/ConsoleApp/program01INcForAnswer/bin/Debug/program01INcForAnswer.exe failed Another related question is at code blocks failed message runing hello code There, the error message is like the one shown just above, and see also below Starting debugger: C:\MinGW\bin\gdb.exe -nx -fullname -quiet -args C:/Codeblocks20.03/ConsoleApp/program01INcForAnswer/bin/Debug/program01INcForAnswer.exe failed Note that, in both cases, Code::Blocks is trying to invoke a debugger from the directory C:\MinGW\bin
To get debugging working, the type of fix described here wil be required if you install the MinGW version of Code::Blocks 20.03 on Windows, using codeblocks-20.03mingw-setup.exe ( the 8th April 2021 version, with the default installation accepted ). What I did to get it to work was the following. From the Settings menu I clicked on Debugger.., then on the left of the screen selected Default, a debugger type. This showed me Executable paths which was set to C:\MinGW\bin\gdb.exe I changed this to C:\Program Files\Codeblocks\MinGW\bin\gdb.exe I was then able to use the debugger.
Error When Activating Conda Environment Windows 10
I just installed Anaconda3 and when I open the Anaconda command prompt, it shows me this error: # >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<< Traceback (most recent call last): File "C:\Users\owner\Anaconda3\lib\site-packages\conda\cli\main.py", line 138, in main return activator_main() File "C:\Users\owner\Anaconda3\lib\site-packages\conda\activate.py", line 996, in main print(activator.execute(), end='') File "C:\Users\owner\Anaconda3\lib\site-packages\conda\activate.py", line 180, in execute return getattr(self, self.command)() File "C:\Users\owner\Anaconda3\lib\site-packages\conda\activate.py", line 154, in activate builder_result = self.build_activate(self.env_name_or_prefix) File "C:\Users\owner\Anaconda3\lib\site-packages\conda\activate.py", line 288, in build_activate return self._build_activate_stack(env_name_or_prefix, False) File "C:\Users\owner\Anaconda3\lib\site-packages\conda\activate.py", line 314, in _build_activate_stack conda_prompt_modifier = self._prompt_modifier(prefix, conda_default_env) File "C:\Users\owner\Anaconda3\lib\site-packages\conda\activate.py", line 639, in _prompt_modifier name=basename(prefix), KeyError: 'openSim' `$ C:\Users\owner\Anaconda3\Scripts\conda-script.py shell.cmd.exe activate C:\Users\owner\Anaconda3` environment variables: CIO_TEST=<not set> CONDA_BAT=C:\Users\owner\Anaconda3\condabin\conda.bat CONDA_EXE=C:\Users\owner\Anaconda3\condabin\..\Scripts\conda.exe CONDA_ROOT=C:\Users\owner\Anaconda3 CONDA_SHLVL=0 GIT_LFS_PATH=C:\Program Files\Git LFS HOMEPATH=\Users\owner PATH=C:\Users\owner\Anaconda3;C:\Users\owner\Anaconda3\Library\mingw-w64\bi n;C:\Users\owner\Anaconda3\Library\usr\bin;C:\Users\owner\Anaconda3\Li brary\bin;C:\Users\owner\Anaconda3\Scripts;C:\Users\owner\Anaconda3\bi n;C:\Users\owner\Anaconda3\condabin;C:\Users\owner\Documents\R\win- library\3.3\Rtools\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\STMicroelectronics\st_toolset\asm;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOW S\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\Win dowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Users\owner\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\nodejs\;C:\Program Files\doxygen\bin;C:\Program Files\PuTTY\;C:\Program Files\Git LFS;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\WINDOWS\System32 \OpenSSH\;C:\Users\owner\Documents\Libraries\gradle-4.10.2\bin;C:\Andr oid;C:\Windows\System32;C:\Users\owner\Anaconda3;C:\Users\owner\Anacon da3\Scripts;C:\Users\owner\Anaconda3\Library\bin;C:\OpenSim 3.3\bin;C: \Users\owner\Anaconda3;C:\Users\owner\Anaconda3\Library\mingw-w64\bin; C:\Users\owner\Anaconda3\Library\usr\bin;C:\Users\owner\Anaconda3\Libr ary\bin;C:\Users\owner\Anaconda3\Scripts;C:\Users\owner\AppData\Local\ Microsoft\WindowsApps;C:\Program Files (x86)\FCIV;C:\Users\owner\AppDa ta\Roaming\npm;C:\Users\owner\Downloads\swigwin-3.0.12\swigwin-3.0.12\ ;C:\Users\owner\AppData\Local\Google\Cloud SDK\google-cloud- sdk\bin;MSVCP140.DLL;C:\Users\owner\AppData\Local\Programs\Microsoft VS Code\bin;C:\flutter\bin;C:\Users\owner\AppData\Local\Android\Sdk\to ols;C:\Users\owner\AppData\Local\Android\Sdk\platform- tools;C:\Users\owner\AppData\Local\Android\Sdk\build- tools\28.0.3;C:\Users\owner\AppData\Roaming\Pub\Cache\bin;C:\Program Files (x86)\Microsoft Visual Studio\Installer PROTOC_PATH=C:\Users\owner\Documents\Libraries\protobuf-3.3.0\src\protoc\Debug\pro toc.exe PSMODULEPATH=;C:\Users\owner\AppData\Local\Google\Cloud SDK\google-cloud- sdk\platform\PowerShell PYTHONIOENCODING=UTF-8 REQUESTS_CA_BUNDLE=<not set> SSL_CERT_FILE=<not set> active environment : None shell level : 0 user config file : C:\Users\owner\.condarc populated config files : C:\Users\owner\.condarc conda version : 4.7.12 conda-build version : 3.18.9 python version : 3.7.4.final.0 virtual packages : base environment : C:\Users\owner\Anaconda3 (writable) channel URLs : https://repo.anaconda.com/pkgs/main/win-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/win-64 https://repo.anaconda.com/pkgs/r/noarch https://repo.anaconda.com/pkgs/msys2/win-64 https://repo.anaconda.com/pkgs/msys2/noarch package cache : C:\Users\owner\Anaconda3\pkgs C:\Users\owner\.conda\pkgs C:\Users\owner\AppData\Local\conda\conda\pkgs envs directories : C:\Users\owner\Anaconda3\envs C:\Users\owner\.conda\envs C:\Users\owner\AppData\Local\conda\conda\envs platform : win-64 user-agent : conda/4.7.12 requests/2.22.0 CPython/3.7.4 Windows/10 Windows/10.0.18362 administrator : False netrc file : None offline mode : False An unexpected error has occurred. Conda has prepared the above report. A similar error happens if I try to create a new environment and activate it. Any hint on what could be causing it? I see that that it's complaining about KeyError: 'openSim'. But I'm not sure what could be the root cause. The error message is not very explicit or at least I couldn't get anything from it. I tried uninstalling Anaconda and OpenSim and installing them again with no luck in resolving the issue. Any hint is appreciated.
I found the solution to the problem which is so random that I thought I share it here. It's not easy (almost impossible) to figure out. It looked like some configurations were cached and had to be manually deleted since even a fresh install of anaconda didn't resolve the issue. I had to delete .condarc file in the anaconda directory to solve this issue. For more info read this.
Error with simulation using INET in OMNeT++
I had been making simulations using INET with no problem, but suddenly I got an error and I don't know why. I don´t remember doing anything strange. I decided to test with an empty workspace to see if I did something wrong in the one that I was working in. I installed INET with the dialog that appears whith the empty workspace. Then I created a new empty simulation project, and when I run it, I only get the message that says there is no network, but it works. But when I set INET as reference project in the properties of the empty project, it doesn't run and I get the following error messages: OMNeT++ Discrete Event Simulation (C) 1992-2019 Andras Varga, OpenSim Ltd. Version: 5.5, build: 190529-d97ebbb173, edition: Academic Public License -- NOT FOR COMMERCIAL USE See the license for distribution terms and warranty disclaimer <!> Error: Cannot load library '../../inet/src//libINET_dbg.dll': No se encontró el proceso especificado End. Simulation terminated with exit code: 1 Working directory: C:/Users/comec/Desktop/test/test/simulations Command line: ../src/test_dbg.exe -m -n ../src;.;../../inet/src;../../inet/examples;../../inet/tutorials;../../inet/showcases --image-path=../../inet/images -l ../../inet/src/INET omnetpp.ini Environment variables: PATH=;C:/Users/comec/Desktop/test/inet/src;C:\omnetpp-5.5\bin;C:\omnetpp-5.5\tools\win64\mingw64\bin;C:\omnetpp-5.5\tools\win64\usr\bin;;C:/omnetpp-5.5/ide/jre/bin/server;C:/omnetpp-5.5/ide/jre/bin;C:/omnetpp-5.5/ide/jre/lib/amd64;C:\Program Files\Python37\Scripts\;C:\Program Files\Python37\;C:\Program Files\Python38\Scripts\;C:\Program Files\Python38\;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\MiKTeX 2.9\miktex\bin\x64\;C:\dart-sass;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\doxygen\bin;C:\Program Files (x86)\Eclipse\Sumo\bin\;C:\Program Files (x86)\Eclipse\Sumo\tools\;C:\Program Files\PuTTY\;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Program Files\Git\cmd;C:\Users\comec\AppData\Local\Microsoft\WindowsApps;C:\intelFPGA_lite\18.1\modelsim_ase\win32aloem;C:\Users\comec\AppData\Local\atom\bin;C:\Users\comec\AppData\Local\Microsoft\WindowsApps;C:\texlive\2019\bin\win32;C:\omnetpp-5.5\ide; OMNETPP_IMAGE_PATH=C:\omnetpp-5.5\images Does anyone know how can I solve this?
By default INET is built in release mode, from the above output, it seems that your own project is set to be built in debug mode and that's why it fails during linking. The debug version of inet (libINET_dbg) was not built. You should either switch your own project to release or rebuild INET in debug mode, too.