You may encounter a build error: 'unresolved symbols remain'. This may be because you have not installed CCS along with SimpleLink SDK properly for the MSP432. To fix this, here a solution that you can try, courtesy of my Professors:
Credits: Prof Ian Vince McLoughlin, Prof Muhamed Fauzi bin Abbas
Install CCS (I used the latest, CCS10.4.0.00006_win64.zip [1.15Gbytes]).
Unzip, then do a custom install, and select the MSP432 tools. Default location. You can get it from: https://www.ti.com/tool/CCSTUDIO
Meanwhile, download the installer named; simplelink_msp432p4_sdk_3_40_01_02.exe [232 MBytes] from: https://www.ti.com/tool/download/SIMPLELINK-MSP432-SDK
Once CCS has been installed, launch it and make sure it is running fine. You might need to reboot your computer. Once this works OK, continue.
Now tun the simplelink installer .exe from step 2. Just accept all of the default options.
Once it has finished, run CCS (or restart CCS if it is already running using File -> Restart).
Once CCS is running, after some time, it will pop up a window near the bottom of the screen saying "Updates Available". Click on that window and allow it to do the default updates (this will auto-update three components).
Wait for that to complete.
In CCS, launch View -> Resource Explorer Offline.
Click the red crossed-out CLOUD icon (there are 3 icons, the cloud, a home icon and an eye icon). Wait for it to sync to the cloud. It can be slow.
Once the page reloads, scroll down and install the offline package (in one of the rectangular boxes) called Arm code generation tools - compiler. Use the pull-down option to choose version 20.2.4 and click the install icon next to that box.
Wait for this to install. It shouldn't take long.
Once that has been installed, restart CCS.
Now go to View -> Getting started. Click on "Import Project" and Browse the search-directory until you get to; C:/ti/simplelink_msp432p4_sdk_3_40_01_02/examples/nortos/MSP_EXP432P401R/driverlib/empty
Click "Select Folder"
It will show you a Discovered Project. Tick the box next to that to select that project and then press "Finish". This will import an empty DriverLib project into your workspace. You may rename this project and this becomes your own project.
If there is any problem at this stage, restart CCS and go back to clicking on the red crossed-out cloud (one time it failed for me and I needed to repeat that step).
Go to View -> Project Explorer and you should see it there. You can click on main.c and then try to compile it (the hammer icon in the toolbar) and debug it (the bug icon in the toolbar). If your MSP432 is connected to your computer it will download and execute.
Related
I'm using a thrid-party screen capturing application (Screenpresso). It's configured to start screen-capturing when I press PrtSc. And indeed it works except when Intellij has Windows focus. In fact, to screen capture code I have to focus on any other window press PrtSc and then select the area within Intellij.
I've looked through all the settings, and especially the Keymap settings, and I can't see anything else that has been assigned to PrtSc. Of course, I'm not really sure; when I try to find a setting via nothing happens, as pressing PrtSc has no effect.
I know this used to work for me in previous versions of Intellij (though I can't remember what versions). But PrtSc used to work in Intellij just like every other application.
So I guess the question is, why is Intellij eating the PrtSc keypress event? And can I turn it off so that the event gets correctly passed to my dedicated screen capturing application.
Intellij 2019.2.4
Windows 10, 64b
This turned out to be an issue with Screenpresso:
https://www.screenpresso.com/support/hot-keys/
Why shortcut [print screen] key does not always work?
This must be because you run your application with elevated
privileges (with admin rights) (the UAC must have displayed a popup
at startup).
For security reasons, Screenpresso can handle shortcuts
from Windows running with elevated privileges only when it is
installed in Program Files folder.
To fix this, you should install
Screenpresso in Program Files folder which is not the default
behavior:
Uninstall Screenpresso
Run again Screenpresso: Right click Screenpresso.exe and select Run as administrator
Click on the INSTALL on this computer button while holding the Control key or click on the sub-menu Install for all users:
Some users have this problem, first reported 5 years ago: Find here
Crash dumps (java_error_in_*.log in the user's home directory) can help to understand it better.
I've developed an application for Hololens, so the only way I know to install the application in hololens is by visual studio, so I want an application package to be able to install without needing Visual Studio. I tried to follow this tutorial here
"https://learn.microsoft.com/pt-br/windows/uwp/packaging/create-app-package-with-makeappx-tool"
but I can not find these two .appx and .appxsym files.
If anyone knew, I appreciate that.
Maybe you know some steps, but I will go the full way (it's only deploying without visual Studio):
In Unity:
File> Build Settings
Choose Universal Windows Plattform (older Versions Windows Store). Make sure your settings are right (for hololens, sdk enabled...)
hit "Build"
Now you have to select a Folder to build. In my Projects I create just an "App" Folder
Once it is build navigate to this Folder (if it's not opening automatically).
Open the Solution (in the App Folder, not the Unity one)
In the Explorer right Click on the "Project Properties" which are named like your Project and Select "Store>create App Package (or maybe build, i got it on German)"
If you want only the appx File select "no" at the Windows Store question
Select an Output Folder and Version Number (count's up itself, newer numbers will overwrite older versions on Hololens automatically) and for Hololens only select x86 (the others are not needed. Just consume time). Now hit the "create"(again i hope i translate it right) Button.
Apply on Hololens:
Connect the hololens via USB (you can do it with wifi too, but not in our Network, so i never tried)
Open a browser and type "127.0.0.1:10080" so you get access to your hololens
Navigate to "System>Apps" and under Install App select the appx file (in my case under: (myUnityProject/App/AppPackages/myUnityProject/myUnityProject_1.0.0.0_Win32_Master_Test)
First time deploying select the dependencies (Dependencies/x86)
Hit "go" to Deploy (wait until everything is uploaded)
Some Notes:
To build the Apps i needed mvs 2015 installed (just installed), but this was before the Fall creators Update. Now newer Versions (should) work fine. Also I needed to install the windows "buildtools 2015"
https://www.microsoft.com/de-de/download/details.aspx?id=48159
Hope it works and have fun!
So, the problem that I am having is that when I push F5, or click Start, Visual Studio starts debugging, but the application doesn't actually build. If I go to my Task Manager, and look for the process it isn't there. Or, if I alt-tab between the programs I had open. I have had this problem twice now. The last projet I started, I encountered this problem. I spent days looking for answers on my time off but couldn't find anyhting. So i started a new project. And now I'm getting the same thing. If I go to my source tree and go back to a previous build and discard my changes, it works fine. But the problem comes back. Its not my coding. I am not getting any build errors. And I don't have any break points. So i can't hit continue. PLease alos note, that between it working, and not working I have not changed ANY setings in Visual Studio. I will post what I have tried. If I forget anything, please forgive me. I have days and days of history to go through in my browser.
Restarted Computer and VS
Ran VS in Admin
Always Build is selected in Tools -> Options -> Projects and
Solutions -> Build and Run
Make sure project is set to Debug in Solution Configuration and
Build is checked in Configuration Manager.
Make sure Only BUild startup projects and dependencies on run is
unchecked
Clean Solution
Unchecked Enable the Visual Studio hosting process in Project ->
Properties -> Debug tab
Made sure vshost32.exe was not running in the background while
program was not running in the Task Manager.
Deleted contents of bin and obj files in my project folder file and
reset computer.
Tried running the program from the exe in previously mentioned
bin/obj file. (The last one does start the process in Task Manager. But still doesnt show in the task bar, or alt tab.)
None of these have worked. I am getting very frustrated at this. Maybe I am not looking for the right thing in Google...
I suggest you close all third party tools/processes like the Anti-virus or others, and then re-debug it.
Or
You could run your VS in safemode:
devenv /SafeMode
Some community members found that the symbols loaded is really slow recently, and this issue has been report the Microsoft product team, so please also disable the Microsoft symbols server under TOOLS->Options->Debugging->Symbols. Debug it again.
I'm using Visual Studio 2010 to build a program in C that can operate on a PostgreSQL database.
Everything is fine in VS, no compile errors, everything looks good.
When I click to debug and run, the code compiles, but then I get a pop up that says:
The program can't start because libpq.dll is missing from your computer
I've installed PostgreSQL and added the folder containing all the necessary files to my include and linker paths, but to no avail.
I cannot figure out why I am still getting this message?
Any suggestions?
The answer's surprisingly simple.
The issue you're seeing comes from the compiled application not being able to find the PostgreSQL libraries. The libpq.lib is used to compile the application, and it links to the DLL at run-time. You can either add it to your system wide path, or bundle the DLL with your application. (I'd add it on the development machine, and bundle the redistributable for a installer package.)
To include it in your path try:
Right click on "My Computer" and select Properties
Then Click on "Advanced System Settings".
Click the "Environment Variables" button at the bottom of the dialog box.
It will pop up a dialog with a group box labeled "System Variables". Find the one in the list box that has a Variable name of "Path".
Now, add the path of the PostgreSQL library folder to the path with a ";" separator.
Now logout or reboot. It's imperative that you at least log out of Windows and log back in for the Visual Studio debugger to pickup the additional executable module paths (that Path variable). Ideally, rebooting sends the new system path to all applications in the system at boot time.
If the Path variable has "C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem" in it, you would add ";C:\Program Files\PostgreSQL\libraries" to make it look like "C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\PostgreSQL\libraries".
Be aware that your path will be really long in most cases. Just add it to the end.
Good luck!
I have Win10 64 bit and this worked for me.
Get portable version of HeidiSQL and copy libpg.dll from the archive to the HeidiSQL installation folder on your computer.
Works like a charm.
I installed a launcher (syndicateapps ICS 4.0) on my rooted Kindle Fire; like an idiot I ticked 'Set to Default' only to get "The application ICS 4.0 Launcher (process android.process.acore) has stopped unexpectedly".
Force close just loops round to the same screen.
I can access my KF with adb but haven't able to find the file I need to edit which will remove the default.
Advice appreciated.
I had the same issue... here is a solution using a windows machine.
Refer to this link and the back links in the video description to setup the Kindle Fire Utility.
Once installed -- if not already, open kindle Fire Utility folder, you should see a file called 'run' inside. Double click on that file, you should see a command prompt window display.
Type in '7' for going into the 'Extras' options.
From there type in '2' which "Installs Google Apps / Go Launcher.
Once all the packages are installed you will gain access to your home screen to remove the launcher you have and use your fire again.