This is probably not the correct interpretation of this error.
The Win32 error above is more likely to indicate the actual problem.
Flags
Severity
Success
This code indicates success, rather than an error.
This may not be the correct interpretation of this code,
or possibly the program is handling errors incorrectly.
The code following is the first part of u-boot to define interrupt vector table, and my question is how every line will be used. I understand the first 2 lines which is the starting point and the first instruction to implement: reset, and we define reset below. But when will [...] read more
I am trying to build a proof-of-concept android application which uses OpenSSH code to establish a SSH session with a server. For that I am using android sources to build the required libraries and then pull them up to an AndroidStudio native project where everything should be packed and installed [...] read more
I need to train CMU Sphinx offline in my android app. I downloaded this project that use this parameter but when I start it I have this error: Fatal signal 11 (SIGSEGV) at 0x0000001c (code=1). This error I also have when Sphinx can not find the accoustic model. I found [...] read more
I have notice that Android NDK (r6b in my case) produce unreasonable big resulting .so files. For example, in my case I have ~150-200 lines of C++ code (6 native methods and 3 C++ simplest classes) and this native code produce 60kb (!) .so with enabled exceptions and RTTI or [...] read more
I'm writing a program to mimic elfdump -ecps It currently prints out the elf header, program headers, and section headers correctly, but I'm stuck on the last few parts of the symbol table. the desired output is in the format of: Symbol Table Section: .dynsym index value size type bind [...] read more
I'm in the (very) early stages of developing a UAV flight controller on a BeagleBone Black. I should mention that I'm quite the novice when it comes to the BBB, Linux and embedded systems.My academic focus has been on control theory - this is my first attempt at a practical [...] read more
I'm currently writing a lecture on ARM optimization, specifically on vector machines such as NEON as the final target. And since vector machines don't fare well with if-else slaloms, I'm trying to demonstrate how to get rid of them by bit-hacking. I picked the "saturating absolute" function as an example [...] read more
I am trying to make a usable setup for gcc-linaro-arm-linux-gnueabihf-4.8-2013.11 on windows. Something happens at dynamic link: $(CC)-gcc -o test main.c -Wall -lc The program compiles fine, but when deployed to ARM shows: "No such file or directory" Searching the issue, seems that static build works but executable is huge: [...] read more
I have a windows phone app and get sometimes InvalidOperationExceptions but not sure why and how to avoid them. The problem function from the error report is Microsoft.Xna.Framework.Media.MediaLibraryEnumerator_1[[System.__Canon,_mscorlib]].get_Item and i get this stacktrace "Frame Image Function Offset 0 Microsoft.Xna.Framework.ni.dll Microsoft.Xna.Framework.Media.MediaLibraryEnumerator_1[[System.__Canon,_mscorlib]].get_Item 0x0003e4d8 1 Microsoft.Xna.Framework.ni.dll Microsoft.Xna.Framework.Media.MediaLibraryEnumerator_1[[System.__Canon,_mscorlib]].System.Collections.IEnumerator.get_Current 0x00000006 2 Microsoft.Xna.Framework.ni.dll Microsoft.Xna.Framework.Media.MediaLibraryEnumerator_1[[System.__Canon,_mscorlib]].System.Collections.Generic.IEnumerator_T_.get_Current 0x0000001c 3 [...] read more
A couple days ago I installed the Android SDK on my work laptop. I created an AVD for 4.0.3. I ran it with proxy information on the command line. When it started up I ran the browser app and it successfully displayed the Google home page. I then clicked in [...] read more
When loading an url with my webView, application crashes after few seconds (without error log...). My Code : wv = new WebView(this); wv.clearCache(true); wv.clearHistory(); wv.getSettings().setJavaScriptEnabled(true); wv.getSettings().setJavaScriptCanOpenWindowsAutomatically(true); wv.setDownloadListener(new DownloadListener() { @Override public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype, long contentLength) { Intent intent = new Intent(Intent.ACTION_VIEW); intent.setType(mimetype); intent.setData(Uri.parse(url)); [...] read more
I've compiled a shared library with android-cmake and the NDK against libstdc++, and as per android-ndk-r7/docs/CPLUSPLUS-SUPPORT.html I'm trying to load gnustl_shared before loading my library: static { System.loadLibrary("gnustl_shared"); System.loadLibrary("MathTest"); } I can see this being done for instance here but I get an exception: 01-03 20:02:42.307: E/AndroidRuntime(569): Caused by: java.lang.UnsatisfiedLinkError: [...] read more
I am trying to load a shared library using: System.loadLibrary("sharedC"); sharedC is dependent on 2 other shared libraries sharedA and sharedB, all three were made using the standalone toolchain and are included as prebuilt shared libraries. I load sharedA and sharedB before sharedC and I know of no other dependencies. [...] read more
I have done some searching and have consulted a friend of mine, but also want to get the StackExchange's communities input. To preface I'm mainly a HW person who has been slammed into low-level firmware land, so forgive me for anything that seems as common knowledge. I have done C [...] read more
This question is a prologue to the one I previously asked here. I'm working on an IP camera project that is based on TI OMAP-L138. All in all, the H264 encoded video is streamed via live555 libraries over RTSP. For Live555 I'm using deviceSource based framed source. However, when I [...] read more
While debugging with VS 2012 Graphic's Debugger, I want to look at an index buffer, but the format that is showing it in is as float. This means the numbers are different than they would be with an int or short format. Does somebody know how to change this? Here [...] read more
I have a file containing these lines Entry : 12300000 F Blocks: 0x00000020 0x00000000 0x000a1b00 S Blocks: 0x00100000 0x0000001c 0x00000150 Using a shell script, the hex values from line starting with F Blocks: can be extracted using the line below : blocks="$(sed -nE 's/F Blocks:[\t ]+(0x)?([0-9a-f]+)[ ]+(0x)?([0-9a-f]+)[ ]+(0x)?([0-9a-f]+)/0x\2 0x\4 0x\6/p' [...] read more
I'am writing an network library in C from scratch. I already implemented the Ethernet protocol and now I want to get ARP working. Sending Requests/Replies works fine but receiving isn't working well. When I send an send an Request and wait for the Reply after it, recvfrom() just takes the [...] read more
I'd like to execute PostgreSQL commands from SQCLR procedure. When I am adding Mono.Security.dll I receive error: Msg 6218, Level 16, State 2, Line 33 CREATE ASSEMBLY for assembly 'Mono.Security' failed because assembly 'Mono.Security' failed verification. Check if the referenced assemblies are up-to-date and trusted (for external_access or unsafe) to [...] read more
I have a massive C/C++ library that I'm trying to use through JNI for an Android project. It's comprised of several classes that were originally written for MFC and we've ported them over for execution on the Android environment. The library builds fine (at least according to ndk-build). The size [...] read more
I've been struggling for days to run this simple piece of code (that is part of a bigger project but this is the only part I'm running now). This code runs flawlessly in Xcode on macbook but not on my Windows 10 PC in Visual Studio 2015. The code is [...] read more
I want to implement a keyword spotting based on PocketSphinx for an Android app. PocketSphinx is new for me. I started with the PocketsphinxAndroidDemo from their repo. Then I have imported the project in Eclipse and have build and deployed the demo app on my phone. The demo recognized the [...] read more
I am trying to use navigation in Skobbler maps. It was working well when route is created using 'creatRoute' but then i get this error list as shown below when i use 'createRouteWithPoints': 05-16 09:33:16.948 27932-27932/com.wolfmatrix.navz E/SKRouteManager: GPX track navigation is available for commercial use with a enterprise license 05-16 [...] read more
i'm running Qt Creator 3.0.1 (Based on Qt 5.2.1 (GCC 4.8.2, 64 bit)) on Ubuntu 14.4 64bit on VirtualBox on Windows 7 64bit I'm trying to cross compile to Raspberry Pi and run very simple program: MainWindow.h: #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> namespace Ui { class MainWindow; } class [...] read more
I'm developing an iPhone app that uses third party libraries (openEars in specific) and I'm experiencing an issue when running it on the device (iPhone 4 with 5.0.1). The application works fine on the simulator but always crash at the same point when running on device. This is the crash [...] read more
My app do not crash on device. No leaks no memory warning. I was living happily. But recently I was doing some UI testing with Instrument(Automation). Boom Boom. App crashes after using it like 8 min. Looping around like 30 times. And it keep crashing but after different durations but [...] read more
I'm using the following code to get the filepath to save to for use with tinyxml2: OPENFILENAME ofn; char szFileName[MAX_PATH] = ""; ZeroMemory(&ofn, sizeof(ofn)); ofn.lStructSize = sizeof(ofn); ofn.hwndOwner = NULL; ofn.lpstrFilter = (LPCWSTR)L"XML Files (*.xml)\0*.xml\0All Files (*.*)\0*.*\0"; ofn.lpstrFile = (LPWSTR)szFileName; ofn.lpstrFile[0] = '\0'; ofn.nMaxFile = MAX_PATH; ofn.Flags = OFN_EXPLORER | [...] read more
I have the following hex opcode sequence for a 8051 microcontroller 785679107A247BFD7C347D407E51745568F869F96AFA6BFB6CFC6DFD6EFE I found this repo that converts hex to instruction sequences https://github.com/anarcheuz/8051-disassembler. Using that I was able to get the following assembly instructions x00000000: 37 38 MOV 38 (R0,#immed) 0x00000002: 35 ANL A,@R0 0x00000004: 37 39 MOV 39 (R1,#immed) [...] read more
So some background - I have a esp32 cam with a PIR sensor. The esp is in deep sleep, then is waken up by a PIR sensor (GPIO 13) and the esp takes an image. What I want it to do is then monitor for another 15s for movement. If [...] read more
I am a new learner of C++. I want to define a class 'ap_uint'. The goal is to conveniently implement the bit-wise operation. For example: I define an unsigned int value inside the class 'ap_uint'. I want to implement both read and write as below. my_ap_uint(4, 2) = 7; // [...] read more
I am trying to connect two ESP32 via Bluetooth, while one is serving as the server and one as a client. Connecting the client to the server works just fine and discovering the characteristic works too. But when I try to register the characteristic for notify, I get an error [...] read more
I wanted to show to somebody an exemple of incorrect memory access (kernelspace trying to access userspace memory leading to a bug). Thus, I took an old tutorial as a POC, the important part is : static ssize_t dev_write(struct file *filep, const char *buffer, size_t len, loff_t *offset){ sprintf(message, "%s(%zu [...] read more
Dear stackoverflow community. I'm cross-compiling Qt 5.12 for my Beaglebone Black with EGL support. The host OS is Ubuntu 18.04.1 LTS (x64) running in a VM. I have installed any possible dependcies (I could find in different posts) on the target (and some on the host as well) and copied [...] read more
Currently we are developing an android app that can advertise itself from the BLE(bluetooth low energy) to ESP32 devices. ESP32 collects the MAC address, device name, and service UUID and send the data to MySQL server. So far ESP32 can send the device name and MAC address but somehow, we [...] read more
I'm developing a joint work Android app/ESP32 application to communicate via BLE. The goal is to be able to advertise, and to manage connections to exchange specific data for each android phone. On my ESP32, I want to be able to have a callback for GATT characteristic, and another one [...] read more
I am using the ESP32 DevKitC-v1 (clone) with FreeRTOS and attempting to write bytes to the serial port. My code (below) causes the following exception: Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled. Core 0 register dump: PC : 0x400ea8fe PS : 0x00060730 A0 : 0x800eb825 A1 : [...] read more
In the LPC4088 user manual (p. 876) we can read that LPC4088 microcontroler has a really extraordinary startup procedure: enter image description here [https://i.stack.imgur.com/6fXvE.png] This looks like a total nonsense and I need someone to help me clear things out... In the world of ARM I've heard countless times to [...] read more
I need the bytes of a BIN file converted to a unsigned int, in this format (JavaScript): p.write4(shellcode.add32(0x00000000), 0x00000be9); p.write4(shellcode.add32(0x00000004), 0x90909000); p.write4(shellcode.add32(0x00000008), 0x90909090); p.write4(shellcode.add32(0x0000000c), 0x90909090); p.write4(shellcode.add32(0x00000010), 0x0082b955); p.write4(shellcode.add32(0x00000014), 0x8948c000); p.write4(shellcode.add32(0x00000018), 0x415741e5); p.write4(shellcode.add32(0x0000001c), 0x41554156); p.write4(shellcode.add32(0x00000020), 0x83485354); p.write4(shellcode.add32(0x00000024), 0x320f18ec); p.write4(shellcode.add32(0x00000028), 0x89d58949); p.write4(shellcode.add32(0x0000002c), 0x64b948c0); p.write4(shellcode.add32(0x00000030), 0x77737069); p.write4(shellcode.add32(0x00000034), 0x49000000); p.write4(shellcode.add32(0x00000038), 0x4120e5c1); p.write4(shellcode.add32(0x0000003c), 0x000200bc); p.write4(shellcode.add32(0x00000040), [...] read more
I want to convert Audio file to text. So, I have found link Can CMU Sphinx be set up to recognize ~200 words to use CMUSphinx library to do this. Do this I followed the http://cmusphinx.sourceforge.net/2011/05/building-pocketsphinx-on-android/ and try to run android example. But I could not found sample project there.Is [...] read more
CROSS COMPILING GSL FOR ANDROID I am attempting to cross compile the GNU Scientific Library (GSL) for Android 4.1 using Autotools. My build and host are as follows: build="i386-apple-darwin10.8.0" host="arm-linux-androideabi" Autotools versions: GNU Automake version 1.11.3 GNU Autoconf version 2.68 GNU Libtool version 2.4.2 My goal is to compile an [...] read more
I try to debug cortex-M3 microcontroller. There is SysTick interrupt enabled in firmware. So I can't debug program. There is what i get: C:\Users\al\Desktop\eclipse\arm-toolchain\bin>arm-none-eabi-gdb.exe ../../work_d ir/mdr1986be91_94_dev_board/Debug/mdr1986be91_94_dev_board.elf GNU gdb (Sourcery G++ Lite 2011.03-42) 7.2.50.20100908-cvs ... (gdb) target remote localhost:3333 ... (gdb) c Continuing. Program received signal SIGINT, Interrupt. 0x0000001c in ?? [...] read more
I have written code for a uPP device driver to be used with an OMAPL138 based custom board for data acquisition through a camera lens. The code for my device driver is: /* * A device driver for the Texas Instruments * Universal Paralllel Port (UPP) * * Modified by: [...] read more
I have VS .NET 2010 installed, and a class library targeting .NET 3.5. The simple C# fragment below generates verifiable IL under .NET 4.0's peverify, but the IL does not verify using .NET 3.5's peverify. Were there any peverify bugs fixed in this transition? public static bool IsGenericTypeInstance(this Type typ) [...] read more
I'm trying to cross-compile dropbear for android. The files appear to compile find, but when executed give "program : not found." I did a find and the libraries marked NEEDED appear to be located in the cross-compile environment. I have compiled other programs with this toolchain. arm-none-linux-gnueabi-readelf -d dropbear Dynamic [...] read more
I'm trying to build async webserver with websocket using ESPAsycnWebserver lib. Everything works fine, but there is one moment: when i refresh multiple times: 13 or 29 it crushes and reboots. I think there is memory problem but dont know how to solve. Here is Console output and working code: [...] read more
I am working on a median filter on the ESP32 board. This median filter is based on a circular buffer. I implemented the filter into the main.c and it worked just fine. However as I created a custom library and called the function from the main.c the ESP32 just reboots [...] read more
I'm looking for help because I'm stuck on the problem for a long time. I have at home an ESP32 wrover kit that I have connected in uart to a Zigbee gateway module. I would like to send via uart some commands to the module, for that I put the [...] read more
I am developing on ESP32 WROOWER using Arduino IDE. When I use BLE in my sketch it bricks down, I dont know why. My sketch is big, 1416000 bytes and in Tool>Partition Scheme I selected "HUGE APP 3MB....". Here is the backtrace: Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception [...] read more
I've written a little program, which in a loop first sends a POST-request to a special machine, the machine returns an other API-path in its response header, afterwards I can execute a GET-request on that API path and get an extremly long string (~ about 15.000 characters). This works pretty [...] read more
I was trying to record light intensity values for a Li-Fi project. This is my code: #include <soc/sens_reg.h> #include <soc/sens_struct.h> #include <driver/adc.h> #include <SD.h> #define ADC1_GPIO36_CHANNEL ADC1_CHANNEL_0 #include <adc_channel.h> const char filename1[] = "/part1.dat"; const char filename2[] = "/part2.dat"; File file1, file2; int local_adc1_read(int channel) { uint16_t adc_value; SENS.sar_meas_start1.sar1_en_pad = [...] read more
Sadly Canon doesn't provide the EOS Utility for the Canon 3000D camera for wireless real time image transfer to computer. I'm currently attempting to use the airnef software by testcams.com, its a open source python based application. It hasn't been updated since 2016 so hence its not working for the [...] read more
I am trying to inject a Frida gadget into an Android App which is already installed on an emulated (MEmu) Android 7.1 rooted system. When I connect to the device using adb, I can see that the files are store here: ASUS_Z01QD:/data/app/com.turtle.foo.bar-1 # ls base.apk lib oat split_config.armeabi_v7a.apk The MEmu [...] read more
I am trying to fire a function every time an ESP32 node receives a certain char. I can receive the data and parse the char out of a packet structure I have made. I register all my actions in a map of type <char,callback_function>, where typedef void (*callback_function)(void); The idea [...] read more
Hardware: Board: ESP32 Dev Module, node32, ttgo Core Installation version: not sure IDE name: Arduino IDE Flash Frequency: 40Mhz PSRAM enabled: not Upload Speed: 115200 Computer OS: Windows 10 Hi, I am working on a project, which is to use GSM to connect MQTT, and send instant data such as [...] read more
I am reading a file that is written in high endian on a little endian intel processor in c++. The file is a generic file written in binary. I have tried reading it using open() and fopen() both but they both seem to get the same thing wrong. The file [...] read more
I imported the symbol table file.txt of swift project, Why is it not as intuitive as Objective-C? # Symbols: # Address Size File Name 0x1000017E0 0x00000090 [ 2] ___sanitizer_cov_trace_pc_guard_init 0x100001870 0x00000070 [ 2] ___sanitizer_cov_trace_pc_guard 0x1000018E0 0x00000090 [ 2] _printC 0x100001970 0x0000001C [ 2] _sancov.module_ctor_trace_pc_guard 0x100001990 0x00000080 [ 3] +[TestOCViewController load] [...] read more
Here is the full code Imports System.Data.OleDb Public Class veterinarycgpa Private Sub veterinarycgpa_Load(sender As Object, e As EventArgs) Handles MyBase.Load Dim matricno, sessionad As String matricno = pretranscript.matric.Text sessionad = pretranscript.session.Text 'semester = checkresult.semester.Text Dim allunit, allwgp As Decimal Try Dim con As New System.Data.OleDb.OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0; Data Source=cgpa.accdb") Dim cmd As [...] read more
Am using libcurl to communicate with Amazon S3. GET calls are success whereas PUT (for uploading files) calls are failing with 403. PUT call with same headers when ran through CURL-CLI are success. I have disabled certificate checking. [[ curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0) ]] Using CURLOPT_DEBUGFUNCTION option as specified in https://curl.haxx.se/libcurl/c/CURLOPT_DEBUGFUNCTION.html, [...] read more
I have a file containing these lines Entry : 12300000 F Blocks: 0x00000020 0x00000000 0x000a1b00 S Blocks: 0x00100000 0x0000001c 0x00000150 I would like to extract only the numbers associated to the line starting with F Blocks as string. Line can be easily extracted using : sed -n '/F Blocks:/p' filename [...] read more
im using nipplejjs like virtual joystick by sending json request to esp32 to remote a rc car with to dc motors the front motor is for direction and the back motor for speed the fonction rorat hendle the json request i retrive the (distance , angle , degree ,type ) [...] read more
Goodmorning everyone. I am developing an application for an electronic Waveshare display, based on a version of ESP32 on IDE Arduino. The directive is to print on the display a bitmap image provided by a webservice at a specific address. Being a beginner, it is not clear to me how [...] read more
Can anyone tell me what is the data payload to change the system mode of the ZigBee based thermostat? I have found the cluster ID and attribute ID for the system mode i.e 0x0201 (cluster ID) & 0x001C (attribute ID) but unable to frame the data payload. Zigbee walker output [...] read more
I'm trying to implement polling functionality into my simple Linux kernel module called gpio_driver for my Raspberry Pi which should notify the user space poll function about the change of state of one of the GPIO pins (button push). What I did in my gpio_driver is set the internal pull [...] read more
I would like to create a Arduino library for an ESP8266or ESP32 microcontroller. I wrote a test library which running on an Arduino Nano board with no problem. Here the library cpp file: #include "Test.h" Test::Test(){ } uint32_t Test::libTest(strcttest* t){ uint32_t w; w = t->a; return w; } Here's the [...] read more
I am trying to upload this simple assembly program: .global _start .text reset: b _start undefined: b undefined software_interrupt: b software_interrupt prefetch_abort: b prefetch_abort data_abort: b data_abort nop interrupt_request: b interrupt_request fast_interrupt_request: b fast_interrupt_request _start: mov r0, #0 mov r1, #1 increase: add r0, r0, r1 cmp r0, #10 bne [...] read more
I have the following ARM code: AREA prog, code, READONLY ENTRY MOV r1, #0 ;division count MOV r2, #41 ;Fahrenheit SUB r2, r2, #32 ;r2=r2-32 ADD r3, r2, r2, LSL #2 ;r3=r2*5 LOOP ADD r1, r1, #1 SUBS r3, r3, #9 BLT LOOP END And I am getting the following [...] read more
I have an application that uses the MFC Ribbon. It is developed in Visual Studio 2010. I am facing a strange issue. The app works fine in Windows 7 and windows 2008 R2. However it crashes in windows 2008 when it tries to load the ribbon from resource. The exact [...] read more
I am studying for an ARM test and I have this code AREA datos, DATA, READWRITE long EQU 7*4 serie DCD 1, 2, 4, 6, 8, 7, 9 resul DCB 0 AREA prog, CODE, READONLY ENTRY mov r0, #0 eor r1, r1, r1 ;result variable ldr r2, =serie **This one** [...] read more
I am trying to make a Linux Kernel driver in the Raspberry pi 3 that turns on a led when a button in a joystick es pressed(Sets GPIO as an Output and then sets it on) and also reads the status of that GPIO port. My driver for turning on [...] read more
i've successfully cross compiled a c++ library to the android plateform using the android ndk standalone toolchain. i've created a new android application project into Eclipse with a jni dolder and Android.mk file and when i do an ndk-build the building goes well and it adds mylib.so to libs/armeabi folder [...] read more
I am trying to make a crossword puzzle program utilizing BST's, i currently have the following words inserted into the tree: word, will, wyr, wale, wilt, apple, abs, wack(inserted in that order) but everytime i debug the program in visual studio, i get an error Exception thrown at 0x008DE28C in [...] read more
I use Android code cocos2dx call encountered a problem. I will not call in the Android cocos2dx Context, I'm not sure whether there is a problem with the following code, and then the following is the way I need to call in Android , as well as errors such calls [...] read more
There was a deadlock and found that pthread_mutex_lock is waiting to get the lock but the mutex lock is already locked with owner set to zero. p *(*spinLock)->lock $47 = {__data = {__lock = 1, __count = 0, __owner = 0, __kind = 0, __nusers = 0, {__spins = 0, [...] read more
This is a hard question but I hope someone could help ;) Here is the crash I have from simplest app which just calls pthread_create(): / # /opt/zpm_thread 00032 : pthread_initialize: initial thread stack bounds: bos=0x1, tos=0xffffffff 00032 : __pthread_initialize_manager: manager stack: size=8160, bos=0xa02fc008, tos=0xa02fdfe8 00032 : __pthread_initialize_manager: send REQ_DEBUG [...] read more
Ok, first please don't ask why this application is the way it is. This is a classic ASP application which in several areas uses .Net and COM and some of that .Net also reaches into COM! It's all to do with code reuse really, at some point .Net was introduced [...] read more
Hellllooooo guys! I have an app for Windows Phone 8. The crash report of my app lists one really big bug that often occurs (crash count is high). The funny (let's say sad) thing is that I can't reproduce this error on my phone or emulator. Can you help me, [...] read more
When I look at the assembly generated by gcc or icc there's a ton of pseudo-ops. Do they all do something? Here's the example that raised the question. I have two simple C++ files. One calls a function and the other does it. call.cpp: #include <iostream> void vadd(float* __restrict__ A, [...] read more
I am trying to run picam on my raspberry pi. Unfortunately I am not getting around the following import error: --------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-1-ae50f21e1c18> in <module>() ----> 1 import picam 2 import time /usr/local/lib/python2.7/dist-packages/picam/__init__.py in <module>() 1 # Copyright (c) 2013 Sean Ashton 2 # Licensed [...] read more
I am using libmpsse_spi.h for SPI communication through FT2232H. When I use this I get an error in the following program on the line: > FTDI_API FT_STATUS SPI_GetChannelInfo(uint32 index, FT_DEVICE_LIST_INFO_NODE > *chanInfo); This line is under Function Declaration. The error says that the identifier FT_DEVICE_LIST_INFO_NODE is undefined. What can be [...] read more
Well, I've taken the iOS stumbler app that was first made here and later here and added a whole bunch of functionality such as real time scanning on user defined intervals and etc etc. Well, everything runs fine except the actual scanning up to a point. Due to the nature [...] read more
I'm using a constant buffer to pass data to my shaders at every frame, and I'm running into an issue where the values of some of the members of the buffer point to the same memory. When I use the Visual Studio 2012 debugging tools, it looks like the data [...] read more
This is for a computer science data-structures class and we are making a "memory manager" aka something that mimicks the job of the heap. Basically, the user defines a number of bytes to have if they want to store things on the heap. To store things on the heap, they [...] read more
I have a pkcs#7 file with included signers certificate, CA certificate, CRL. Now, to verify signature from this file I get the certificate from it. I try to do: HANDLE hFile; if(!(hFile = CreateFile(L"c:\\users\\timur\\desktop\\sign_pkcs7.sig", GENERIC_READ, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL))) { printf("Error opening file %d\n", GetLastError()); } HCERTSTORE hPkcsStore = [...] read more
I'm using a custom NSURLCache to intercept calls for certain web pages in order to modify them dynamically. Inside cachedResponseForRequest: I modify the request, then send it out using sendSynchronousRequest. This works very well until you attempt to submit a form. If there is post data it fails. If i [...] read more
I have an NSTextField which is bound to an int in an object that I have included in my nib. When the object changes its int, the text field follows suit, and everything looks fine. However, when I try to change it manually the program crashes as soon as I [...] read more
I am trying to write code for the ESP32 chip where it takes in readings from a DHT22 sensor, packages it into a json file, and then sends it to a Flask server. Everything works just fine up until I try to POST, where I get the following error: Guru [...] read more
I'm working on a Parallax scrolling project, in which I need to get multiple sprites up on the screen at once. To do this, and to make the code remotely reusable, I am using some vectors to hold my ParallaxSegment objects. ParallaxSegment* seg; vector<ParallaxSegment> parsega; These are created as private [...] read more