build-error

'System' : a namespace with this name does not exist

偶尔善良 提交于 2019-11-28 06:55:41
I had a C++ project which was running perfectly. Now I copied the project to another folder and added the project to a WPF application solution. Now the C++ project is giving me lot of build errors. One of them is "System' : a namespace with this name does not exist" . Below are the lines which creates this error. #include "stdafx.h" using namespace System; using namespace System::Reflection; using namespace System::Runtime::CompilerServices; using namespace System::Runtime::InteropServices; using namespace System::Security::Permissions; The above lines are in AssemblyInfo.cpp file. I don't

'System' : a namespace with this name does not exist

∥☆過路亽.° 提交于 2019-11-27 05:43:03
问题 I had a C++ project which was running perfectly. Now I copied the project to another folder and added the project to a WPF application solution. Now the C++ project is giving me lot of build errors. One of them is "System' : a namespace with this name does not exist" . Below are the lines which creates this error. #include "stdafx.h" using namespace System; using namespace System::Reflection; using namespace System::Runtime::CompilerServices; using namespace System::Runtime::InteropServices;

No resource found that matches the given name (at 'dialogCornerRadius' with value '?android:attr/dialogCornerRadius')

老子叫甜甜 提交于 2019-11-27 04:14:10
Can anybody help why I am getting an error in the following? Error:(7, 41) No resource found that matches the given name (at 'dialogCornerRadius' with value '?android:attr/dialogCornerRadius'). apply plugin: 'com.android.application' //Add these lines def Base_URL = '"' + WEBServiceBaseURL + '"' ?: '"Define BASE URL"'; def SMS_Base_URL = '"' + WEBServiceBaseSMSURL + '"' ?: '"Define SMS BASE URL"'; android.buildTypes.each { type -> type.buildConfigField 'String', 'Base_URL', WEBServiceBaseURL type.buildConfigField 'String', 'SMS_Base_URL', WEBServiceBaseSMSURL } android { compileSdkVersion 26

how to fix the issue “Command /bin/sh failed with exit code 1” in iphone

╄→гoц情女王★ 提交于 2019-11-27 02:45:25
I used a cocoa static library in my application. When I compile my library I got the following error: Shell Script invocation error:can't open input file: /Users/sijuthomas/Library/Developer/Xcode/DerivedData/SCXML2- bbttehupryhijphhjdiemcytkvgy/Build/Products/Debug-iphonesimulator/ libSCXMLParser.a (No such file or directory) Command /bin/sh failed with exit code 1 How can I fix this? Click On Run checkbox if not selected. I had this issue because i denied keychain access and in order to solve it you need to open keychain, Then click on the lock on top right of the screen to lock it again,

What causes imported Maven project in Eclipse to use Java 1.5 instead of Java 1.6 by default and how can I ensure it doesn't?

六月ゝ 毕业季﹏ 提交于 2019-11-26 19:19:36
I imported a Maven project and it used Java 1.5 even though I have 1.6 configured as my Eclipse default Preferences->Java->Installed JREs . When I changed the Maven project to use the 1.6 JRE it still had the build errors left over from when the project was using Java 1.5 (I described these build errors earlier in: I have build errors with m2eclipse but not with maven2 on the command line - is my m2eclipse misconfigured? ) I'm going to delete the project and try again but I want to make sure this time that it uses Java 1.6 from the start to see if this eliminates the build problems. How do I

CocoaPods Errors on Project Build

╄→гoц情女王★ 提交于 2019-11-26 18:05:47
I'm unable to build a project that uses CocoaPods. I get the following errors: diff: /../Podfile.lock: No such file or directory diff: Manifest.lock: No such file or directory error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.` $ pod install seems to work fine and adds a Pods Project to my Workspace. I've tried $ pod update but this doesn't help. It seems that PODS_ROOT is not being set. Podfile: platform :ios, '6.0' workspace 'Example.xcworkspace' xcodeproj 'example/Example.xcodeproj' pod 'TestFlightSDK', '~> 1.3.0-beta.5' pod

how to fix the issue “Command /bin/sh failed with exit code 1” in iphone

我们两清 提交于 2019-11-26 10:13:39
问题 I used a cocoa static library in my application. When I compile my library I got the following error: Shell Script invocation error:can\'t open input file: /Users/sijuthomas/Library/Developer/Xcode/DerivedData/SCXML2- bbttehupryhijphhjdiemcytkvgy/Build/Products/Debug-iphonesimulator/ libSCXMLParser.a (No such file or directory) Command /bin/sh failed with exit code 1 How can I fix this? 回答1: Click On Run checkbox if not selected. 回答2: I had this issue because i denied keychain access and in

Android Studio 3.0 Execution failed for task: unable to merge dex

妖精的绣舞 提交于 2019-11-26 08:59:05
问题 android studio was getting build error while build execution with following: Error:Execution failed for task \':app:transformDexArchiveWithExternalLibsDexMergerForDebug\'. java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex\" My app:build.gradle file: apply plugin: \'com.android.application\' android { compileSdkVersion 26 buildToolsVersion \'26.0.2\' defaultConfig { applicationId \"com.pdroid.foodieschoice\"

What causes imported Maven project in Eclipse to use Java 1.5 instead of Java 1.6 by default and how can I ensure it doesn't?

*爱你&永不变心* 提交于 2019-11-26 06:54:57
问题 I imported a Maven project and it used Java 1.5 even though I have 1.6 configured as my Eclipse default Preferences->Java->Installed JREs . When I changed the Maven project to use the 1.6 JRE it still had the build errors left over from when the project was using Java 1.5 (I described these build errors earlier in: I have build errors with m2eclipse but not with maven2 on the command line - is my m2eclipse misconfigured?) I\'m going to delete the project and try again but I want to make sure

CocoaPods Errors on Project Build

六月ゝ 毕业季﹏ 提交于 2019-11-26 06:12:53
问题 I\'m unable to build a project that uses CocoaPods. I get the following errors: diff: /../Podfile.lock: No such file or directory diff: Manifest.lock: No such file or directory error: The sandbox is not in sync with the Podfile.lock. Run \'pod install\' or update your CocoaPods installation.` $ pod install seems to work fine and adds a Pods Project to my Workspace. I\'ve tried $ pod update but this doesn\'t help. It seems that PODS_ROOT is not being set. Podfile: platform :ios, \'6.0\'