I moved a ndk project from windows to linux(ubuntu). Then suddenly i got above error. But this project build seamlessly in windows. Even I get this error while ndk-clean.
The culprit was 'obj' temporary directory under jni. I just removed the 'obj' directory and everything is fine. Maybe Linux can't tolerate Windows temporary object files:) (Or confused with those files..)
Related
I have a gradle file which references another gradle file using:
// settings.gradle
// references `playground-include-settings.gradle` file
apply from: "../playground-common/playground-include-settings.gradle"
When opening the code in Android Studio, the above Gradle file is executed and with the same exact setup, it works for Linux but DO NOT work when done for Windows.
I tried with backward slash \\, double forward slash // in Windows but it did not work either.
Error (ONLY on WINDOWS): (Line 19 is above of apply from ...)
Exception is:
org.gradle.api.GradleScriptException: A problem occurred evaluating script. at settings_b5vpkybm1b8f1fi4z6dnydgh9.run(D:\path\to\code\settings.gradle:19)
Caused by: java.lang.IllegalStateException:
What is the cause of the error and how to make referencing another file compatible in Windows?
Turns out the error was not related to file path, but rather I missed the error stack trace that said to use "JDK 11" instead of "JDK 8"
I had to go to Project Structure dialog in Android Studio and then under SDK Location, set the JDK to 11 version.
And then Gradle sync. It worked.
I've cloned the official YamlDotNet git repository.
https://github.com/aaubry/YamlDotNet
However I'm unable to compile the solution
Failed in Visual Studio 2017
Failed using the build.ps1 script in the repo
I get the same error.
Predefined type 'System.Object' is not defined or imported
Predefined type 'System.Void' is not defined or imported
I've already tried...
doing a git clean -xfd, and recompiling to no avail
I've also tried only deleting the bin/ obj/ folders and attempt recompiling to no avail
Additional Details
I have a bunch of different .net framework's installed, including 4.5
I also have installed .net core SDK 2.2
Is anyone else getting this issue?
I am new to dealing with these ERRORS so I need to know every step between getting this error while trying to open a project in unreal editor to having it actually open correctly in Windows 10. I had the same error in Windows 8.1 and in every version of UE4 since 4.9. I went back to it recently because I have been working with Maya since I am new to that as well. I use Visual Studio Community 2015. I can open a blueprint in UE4, but not a C++ Project.
An error occurred while trying to generate project files.
Running C:/Program Files (x86)/Epic Games/4.10/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project="C:/Users/Corey/Documents/UE4Projects/Puzzle/Puzzle.uproject" -game -rocket -progress -2015
Discovering modules, targets and source code for game...
UnrealBuildTool Exception: ERROR : failed to harvest environment variables
I've seen this many times and I can normally solve it by doing a Clean Solution inside Visual Studio and then a Rebuild Solution.
It used to be caused by an error in the build code, but I believe that was solved around about 4.8.
I have a project which I am trying to run (in both normal and debug modes) but every time I run it, it throws the error:
The program cannot start because MSVCP90.dll missing from your computer. Try re installing to fix your problem.
After going through lot of posts about the same problem I've tried the following things but nothing seems to work.
Found this .dll file in C:\Program Files\Microsoft Office Servers\15.0\Synchronization Service\Bin\Microsoft.VC90.CRT and copy pasted it in C:\Windows\System32\. Checked that the environmental variable path has system32 in it.
Checked in the project properties and have set the Embed Manifest option under Manifest Tool-> Input and Output as Yes for Debug as well as Release modes
The project I am building depends on 3 other projects (they are in same solution) and have set Embed Manifest as yes for all of them. Another .exe built for same project built on other machine runs perfectly fine on my machine but the one that I build on the same machine does not work.
Thanks in advance for your help.
Your best bet is to install the "official" Microsoft Redistributable on all target PCs that will run your app:
http://www.microsoft.com/en-us/download/details.aspx?id=11895
I have just download the DNN package no source and source version too opened it in visual studio 2012 in building it is showing these errors.
I unblock the zip folder before extracting. It works fine when I configure it through netmgr.exe option IIS. I want to do that from visual studio. P.S I am using windows 8.1
Error 1 Could not load file or assembly 'DotNetNuke.Web.DDRMenu' or one of its dependencies. The system cannot find the file specified. C:\Users\Umair\Downloads\DNN_Platform_07.02.02_Install\admin\ControlPanel\RibbonBar.ascx 8
Error 2 The file '/DNN_Platform_07.02.02_Install/DesktopModules/DDRMenu/Menu.ascx' does not exist. C:\Users\Umair\Downloads\DNN_Platform_07.02.02_Install\admin\ControlPanel\RibbonBar.ascx 9
Error 3 Unknown server tag 'dnn:MENU'. C:\Users\Umair\Downloads\DNN_Platform_07.02.02_Install\admin\ControlPanel\RibbonBar.ascx 13
I don't think you're supposed to even try to compile the website they distribute. It should come with everything already compiled for you. Disable building for the website project from the build options dialog to get rid of spurious errors if you have other projects you'd like to compile in the same solution.
I'm not all too surprised there's a few errors in there (It's DNN, what did you expect?)