Comments (11)
It seems the #include <cstdint>
is missing. Could you add it to the ITargetMemoryHandler.hpp and let me know if the compilation succeded?
from stmviewer.
Thanks for the info. It seems the ./chips directory is not present in the executable directory. Could you copy it manually and see if the error goes away? It's located in third_party/stlink/ folder.
The weird gui is due to the fact imgui.ini file should be placed in the folder the executable is run from. If its not detected by the library its going to default to some random window sizes and positions.
from stmviewer.
Could you also let me know which Arch Linux you are currently using? I will make a VM an try to reproduce and fix these problems
from stmviewer.
Could you also let me know which Arch Linux you are currently using? I will make a VM an try to reproduce and fix these problems
Arch Linux is a rolling distribution, so there is no version information.
from stmviewer.
Sorry I accidentally added the './' prefix and I think this is why you got it wrong. The directory is called 'chips' not '.chips'
from stmviewer.
I think it might be related to the spdlog, as after the last message the spdlog flush() is called. I will look into that when I have a working VM with Arch. Thanks for the feedback and feel free to let me know in case any other issues arise!
from stmviewer.
With symlink to spdlog-1.12 it is working now ;-)
from stmviewer.
Had to add the include also to Variable.hpp
. Now compiles fine.
However, starting yields an unresolved `libspdlog.so.1.11'. On my system spdlog-1.12 is installed. Maybe the version is hardcoded somewhere?
Workaround: made a symbolic link for libspdlog.so.1.11
.
from stmviewer.
After starting (and stopping) I get the following messages on the shell:
[2023-10-23 11:04:18.223] [logger] [info] Starting STMViewer!
[2023-10-23 11:04:18.223] [logger] [info] Version: 0.2.0
[2023-10-23 11:04:18.223] [logger] [info] Commit hash 4ee85552d1f51cd0c9ba6f5eca58f9c9a4d09d59
./chips: No such file or directory
./chips: No such file or directory
[2023-10-23 11:04:26.166] [logger] [info] Exiting trace plot handler thread
[2023-10-23 11:04:26.209] [logger] [info] Exiting GUI main thread
[2023-10-23 11:04:26.227] [logger] [info] Closing STMViewer!
Speicherzugriffsfehler (Speicherabzug geschrieben)
Starting it from my home-dir gives me a weird gui. Starting it from the source-dir the gui looks ok.
P.S.: the german "Speicherzugriffsfehler" means SEGV.
from stmviewer.
Thanks for the info. It seems the ./chips directory is not present in the executable directory. Could you copy it manually and see if the error goes away? It's located in third_party/stlink/ folder.
Hm, the error remains.
lmeier ~ ls -ld .chips
drwxr-xr-x 2 lmeier users 4096 23. Okt 13:27 .chips
lmeier ~ /usr/local/STMViewer/STMViewer
[2023-10-23 13:29:24.420] [logger] [info] Starting STMViewer!
[2023-10-23 13:29:24.420] [logger] [info] Version: 0.2.0
[2023-10-23 13:29:24.420] [logger] [info] Commit hash 4ee85552d1f51cd0c9ba6f5eca58f9c9a4d09d59
./chips: No such file or directory
./chips: No such file or directory
[2023-10-23 13:29:32.398] [logger] [info] Exiting trace plot handler thread
[2023-10-23 13:29:32.414] [logger] [info] Exiting GUI main thread
[2023-10-23 13:29:32.424] [logger] [info] Closing STMViewer!
Speicherzugriffsfehler (Speicherabzug geschrieben)
lmeier ~
The weird gui is due to the fact imgui.ini file should be placed in the folder the executable is run from. If its not detected by the library its going to default to some random window sizes and positions.
Yes, copying manually fixed the weird gui layout.
from stmviewer.
Sorry I accidentally added the './' prefix and I think this is why you got it wrong. The directory is called 'chips' not '.chips'
Oh, my fault!
Perfekt now, but SEGV at the end remains.
from stmviewer.
Related Issues (18)
- linux and windows exectutables HOT 2
- Double precision support HOT 2
- How can I change GUI font size, too small on my screen. HOT 8
- ITM port configuration issue HOT 1
- Add drop-down-list to select a variable to watch HOT 7
- High speed plotting HOT 5
- Any reason not to run on macos? HOT 8
- Support for J-Link Debug Probes HOT 3
- Trace View supports jlink RTT HOT 6
- Can't update variable address HOT 2
- Problem with using Var Viewer with .elf compiled by platformIO stm32duino framework. HOT 4
- Problem Updating Variable HOT 6
- Debian binary package contains dev dependencies HOT 1
- STMViewer does not update variables HOT 11
- Hello HOT 4
- Unobserve variables from ELF HOT 7
- Problem with changing variables name HOT 10
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 stmviewer.