I have added localized strings for my app as Resources.resw files under corresponding folders (en-US, nb-NO) and get the following warning when compiling:
MakePRI : warning 0xdef00520: Invalid Qualifier: EN-US
MakePRI : warning 0xdef00520: Invalid Qualifier: NB-NO
I suspect invalid characters as keys but I am unable to track down the offenders.
Here is the build output:
1>Task "GenerateProjectPriFile"
1> C:\Program Files (x86)\Windows Kits\8.0\bin\x86\MakePri.exe New -ProjectRoot "C:\Users\Eivind\documents\visual studio 2012\Projects\FructoseStore\FructoseStore\\" -ConfigXml obj\Debug\priconfig.xml -OutputFile "C:\Users\Eivind\documents\visual studio 2012\Projects\FructoseStore\FructoseStore\bin\Debug\resources.pri" -IndexName 1e111781-63c0-4629-81a6-442da5904cb6 -Verbose -Overwrite
1> Option Verbose specified
1> Option Overwrite specified
1> Index Pass Completed: obj\Debug\layout.resfiles
1>
1> Index Pass Completed: obj\Debug\resources.resfiles
1> Language Qualifiers: EN-US, NB-NO
1>
1> Index Pass Completed: obj\Debug\pri.resfiles
1> Language Qualifiers: EN-US, NB-NO
1>
1> Finished building
1> Version: 1.0
1> Resource Map Name: 1e111781-63c0-4629-81a6-442da5904cb6
1> Named Resources: 79
1> Resource Candidates: 140
1> Output File at C:\Users\Eivind\documents\visual studio 2012\Projects\FructoseStore\FructoseStore\bin\Debug\resources.pri
1> Successfully Completed
1>MakePRI : warning 0xdef00520: Invalid Qualifier: EN-US
1>MakePRI : warning 0xdef00520: Invalid Qualifier: NB-NO
1>Done executing task "GenerateProjectPriFile".
As far as I can gather this was resolved by restarting Visual Studio.
Related
------ Build started: Project: freertos, Configuration: Debug AVR ------
Build started.
Project "freertos.cproj" (default targets):
Target "PreBuildEvent" skipped, due to false condition; ('$(PreBuildEvent)'!='') was evaluated as (''!='').
Target "CoreBuild" in file "C:\Program Files (x86)\Atmel\Studio\7.0\Vs\Compiler.targets" from project "D:\AVR\freertos\freertos\freertos.cproj" (target "Build" depends on it):
Task "RunCompilerTask"
Shell Utils Path C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils
C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils\make.exe all --jobs 4 --output-sync
Building target: freertos.elf
Invoking: AVR/GNU Linker : 5.4.0
"C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe" -o freertos.elf heap_1.o list.o main.o port.o queue.o tasks.o -Wl,-Map="freertos.map" -Wl,--start-group -Wl,-lm -Wl,--end-group -Wl,--gc-sections -mrelax -mmcu=atmega128 -B "C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.3.300\gcc\dev\atmega128"
D:\AVR\freertos\freertos\Debug\Makefile(166,1): error: recipe for target 'freertos.elf' failed
tasks.o: In function `prvIdleTask':
D:\AVR\freertos\freertos\Debug\tasks.c(1,1): error: undefined reference to `vApplicationIdleHook'
collect2.exe(0,0): error: ld returned 1 exit status
make: *** [freertos.elf] Error 1
The command exited with code 2.
Done executing task "RunCompilerTask" -- FAILED.
Done building target "CoreBuild" in project "freertos.cproj" -- FAILED.
Done building project "freertos.cproj" -- FAILED.
Build FAILED.
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========
You have to options to solve this error:
1- set configUSE_IDLE_HOOK to 0 in FreeRTOSConfig.h.
2- Define a function that has the following name and prototype:
void vApplicationIdleHook( void );
Anything that starts 'Application' is expected to be provided by the application writer, rather than be part of the kernel - and in all cases the features are options - so as per the above you can either provide the hook function or tern the feature off.
Background
I have a project which was using boost/1.71.0#conan/stable, and was giving me a compile-time error. I decided to try boost/1.72.0 just on the off chance that it might fix it. When I did, I got this:
1> [CMake] ERROR: boost/1.72.0: Error in source() method, line 151
1> [CMake] tools.get(**self.conan_data["sources"][self.version])
1> [CMake] AttributeError: 'NoneType' object has no attribute 'token'
1> [CMake] CMake Error at out/build/x64-Debug/conan.cmake:402 (message):
1> [CMake] Conan install failed='1'
1> [CMake] Call Stack (most recent call first):
1> [CMake] out/build/x64-Debug/conan.cmake:497 (conan_cmake_install)
1> [CMake] CMakeLists.txt:41 (conan_cmake_run)
which references the conan_cmake_run() call in my CMakeLists.txt:
if(CONAN_EXPORTED) # in conan local cache
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup()
else() # in user space
include(${CMAKE_BINARY_DIR}/conan.cmake)
conan_cmake_run(CONANFILE conanfile.txt
BASIC_SETUP
BUILD missing)
endif()
and line 151 in the boost conanfile.py:
if tools.os_info.is_windows:
sha256 = "85a94ac71c28e59cf97a96714e4c58a18550c227ac8b0388c260d6c717e47a69"
extension = ".zip"
else:
sha256 = "d73a8da01e8bf8c7eda40b4c84915071a8c8a0df4a6734537ddde4a8580524ee"
extension = ".tar.bz2"
zip_name = "%s%s" % (self.folder_name, extension)
url = "https://dl.bintray.com/boostorg/release/%s/source/%s" % (self.version, zip_name)
151: tools.get(url, sha256=sha256)
...
My conanfile.txt:
[requires]
boost/1.72.0
...some of my own packages...
[generators]
cmake
[options]
boost:shared=True
What I've Tried
Upgrading Conan from 1.21 to 1.23. That gave me a different error ("Forbidden" something or other), so after trying to get rid of that for a while, I reverted. I also updated Pip somewhere in here.
Removing boost packages using conan remove boost/*
Other boost versions... I've tried boost/1.71.0, boost/1.72.0, and boost/1.71.0#conan/stable. The latter, which worked initially, no longer works after removing all boost packages. Related to that, when I generate the CMake cache for a second time (i.e. the boost package is already in the local cache), I get these warnings:
1> [CMake] boost/1.72.0: Configuring sources in C:\.conan\133b85\1
1> [CMake] boost/1.72.0: WARN: Package is corrupted, removing folder: C:\.conan\854baa\1
1> [CMake] boost/1.72.0: WARN: Build folder is dirty, removing it: C:\.conan\34c708\1
1> [CMake] boost/1.72.0: WARN: Trying to remove corrupted source folder
1> [CMake] boost/1.72.0: WARN: This can take a while for big packages
1> [CMake] ERROR: boost/1.72.0: Error in source() method, line 151]
... snip: the additional errors already copied at the beginning of the post ...
So, my suspicion is that even the formerly working boost/1.71.0#conan/stable is being corrupted upon a fresh pull.
Note: This happens when instructing Visual Studio to generate the CMake cache.
The URL used in the package recipe: https://dl.bintray.com/boostorg/release/1.72.0/source/boost_1_72_0.tar.bz2, is not working. It seems the download URL has some issues, you can try downloading in your browser. So not Conan related, not an issue of the recipe.
Hi I was trying to create a react based project , but I'm getting errors during initial build.
1>------ Rebuild All started: Project: ChatApp, Configuration: Debug
Any CPU ------ 1>ChatApp ->
C:\Users\hirplk\Desktop\Voice\ChatApp\ChatApp\bin\Debug\netcoreapp2.0\ChatApp.dll
1>v8.12.0 1>Performing first-run Webpack build... 1>module.js:550
1> throw err; 1> ^ 1> 1>EXEC : error : Cannot find module
'C:\Users\hirplk\Desktop\Voice\ChatApp\ChatApp\node_modules\webpack\bin\webpack.js'
1> at Function.Module._resolveFilename (module.js:548:15) 1>
at Function.Module._load (module.js:475:25) 1> at
Function.Module.runMain (module.js:694:10) 1> at startup
(bootstrap_node.js:204:16) 1> at bootstrap_node.js:625:3
1>C:\Users\hirplk\Desktop\Voice\ChatApp\ChatApp\ChatApp.csproj(33,5):
error MSB3073: The command "node node_modules/webpack/bin/webpack.js
--config webpack.config.vendor.js" exited with code 1. 1>Done building project "ChatApp.csproj" -- FAILED. ========== Rebuild All:
0 succeeded, 1 failed, 0 skipped ==========
I'm trying to create the React project using '.Net Core 2.0'. Can someone please tell me what I'm missing here
You should do it in (probably) your working directory. Do cd C:\Users\hirplk\Desktop\Voice\ChatApp\ChatApp\ and then npm i webpack
I'm trying to build Chromium 40.0.2214.111
ninja -C out/Release chrome
But it failed with the error:
FAILED: ninja -t msvc -e environment.x86 -- "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64_x86\cl.exe" /nologo /showIncludes /FC #obj\device
bluetooth\device_bluetooth.bluetooth_low_energy_defs_win.obj.rsp /c ..\..\device\bluetooth\bluetooth_low_energy_defs_win.cc /Foobj\device\bluetooth\device_blue
ooth.bluetooth_low_energy_defs_win.obj /Fdobj\device\bluetooth\device_bluetooth.cc.pdb
c:\program files (x86)\windows kits\8.1\include\um\bluetoothleapis.h(685) : error C2061: syntax error : identifier 'PFNBLUETOOTH_GATT_EVENT_CALLBACK'
c:\program files (x86)\windows kits\8.1\include\um\bluetoothleapis.h(711) : error C2065: 'BLUETOOTH_GATT_EVENT_HANDLE' : undeclared identifier
c:\program files (x86)\windows kits\8.1\include\um\bluetoothleapis.h(711) : error C2146: syntax error : missing ')' before identifier 'EventHandle'
c:\program files (x86)\windows kits\8.1\include\um\bluetoothleapis.h(711) : warning C4229: anachronism used : modifiers on data are ignored
c:\program files (x86)\windows kits\8.1\include\um\bluetoothleapis.h(713) : error C2059: syntax error : ')'
[8/6758] ACTION Generating C++ API bundle code for function registration
ninja: build stopped: subcommand failed.
I have tried to solve the issue with the google, but I did not succeed
I am trying to create an android module with titanium.
I am getting the error below:
Buildfile: C:\Users\dhairya\workspace\titanium-testandroidmodule\build.xml
init:
[mkdir] Created dir: C:\Users\dhairya\workspace\titanium-testandroidmodule\build\classes
[mkdir] Created dir: C:\Users\dhairya\workspace\titanium-testandroidmodule\build\generated
[mkdir] Created dir: C:\Users\dhairya\workspace\titanium-testandroidmodule\dist
process.annotations:
[mkdir] Created dir: C:\Users\dhairya\workspace\titanium-testandroidmodule\build\generated\json
[javac] Compiling 2 source files to C:\Users\dhairya\workspace\titanium-testandroidmodule\build\classes
[javac] Note: [KrollBindingGen] Running Kroll binding generator.
[javac] Note: [KrollBindingGen] No binding data found, creating new data file: org.appcelerator.titanium.bindings/testandroidmodule.json
[javac] Note: [KrollBindingGen] Found binding for proxy Example
[javac] Note: [KrollBindingGen] Found binding for module Testandroidmodule
[javac] Note: [KrollBindingGen] Generating JSON: file:/C:/Users/dhairya/workspace/titanium-testandroidmodule/build/generated/json/org/appcelerator/titanium/bindings/testandroidmodule.json
[javac] warning: The following options were not recognized by any processor: '[kroll.checkTiContext]'
[javac] Note: C:\Users\dhairya\workspace\titanium-testandroidmodule\src\com\test\testandroidmodule\ExampleProxy.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
generate.rhino.bindings:
[java] Generating C:\Users\dhairya\workspace\titanium-testandroidmodule\build\generated\java\com\test\testandroidmodule\TestandroidmoduleModulePrototype.java
[java] Generating C:\Users\dhairya\workspace\titanium-testandroidmodule\build\generated\java\com\test\testandroidmodule\ExampleProxyPrototype.java
[java] Generating C:\Users\dhairya\workspace\titanium-testandroidmodule\build\generated\java\testandroidmoduleGeneratedBindings.java
generate.rhino.idswitch:
[echo] Generating IDs for C:\Users\dhairya\workspace\titanium-testandroidmodule\build\generated\java\com\test\testandroidmodule\ExampleProxyPrototype.java
[echo] Generating IDs for C:\Users\dhairya\workspace\titanium-testandroidmodule\build\generated\java\com\test\testandroidmodule\TestandroidmoduleModulePrototype.java
[echo] Generating IDs for C:\Users\dhairya\workspace\titanium-testandroidmodule\build\generated\java\testandroidmoduleGeneratedBindings.java
generate.v8.bindings:
[java] Generating C:\Users\dhairya\workspace\titanium-testandroidmodule\build\generated\jni\com.test.testandroidmodule.TestandroidmoduleModule.h
[java] Generating C:\Users\dhairya\workspace\titanium-testandroidmodule\build\generated\jni\com.test.testandroidmodule.TestandroidmoduleModule.cpp
[java] Generating C:\Users\dhairya\workspace\titanium-testandroidmodule\build\generated\jni\com.test.testandroidmodule.ExampleProxy.h
[java] Generating C:\Users\dhairya\workspace\titanium-testandroidmodule\build\generated\jni\com.test.testandroidmodule.ExampleProxy.cpp
generate.bindings:
pre.compile:
ndk.build:
[copy] Copying 1 file to C:\Users\dhairya\workspace\titanium-testandroidmodule\build\generated
[copy] Copying 1 file to C:\Users\dhairya\workspace\titanium-testandroidmodule\build\generated\jni
[exec] jni/Android.mk:24: warning: overriding commands for target `C:/Users/dhairya/workspace/titanium-testandroidmodule/build/generated/KrollGeneratedBindings.cpp'
[exec] jni/Android.mk:24: warning: ignoring old commands for target `C:/Users/dhairya/workspace/titanium-testandroidmodule/build/generated/KrollGeneratedBindings.cpp'
[exec] jni/Android.mk:27: warning: overriding commands for target `C:/Users/dhairya/workspace/titanium-testandroidmodule/build/generated/BootstrapJS.cpp'
[exec] jni/Android.mk:27: warning: ignoring old commands for target `C:/Users/dhairya/workspace/titanium-testandroidmodule/build/generated/BootstrapJS.cpp'
[exec] /usr/bin/sh: -c: line 1: syntax error: unexpected end of file
[exec] make: *** [C:\Users\dhairya\workspace\titanium-testandroidmodule\build\generated/obj/local/armeabi/objs/com.test.testandroidmodule/com.test.testandroidmodule.ExampleProxy.o] Error 258
BUILD FAILED
C:\Users\dhairya\AppData\Roaming\Titanium\mobilesdk\win32\2.0.1.GA2\module\android\build.xml:236: C:\Users\dhairya\workspace\titanium-testandroidmodule\build\generated\libs does not exist.
Total time: 3 seconds
Any idea what is the problem? I have just make a default android module using command:
titanium create --platform=android --type=module --name=testandroidmodule --id=com.test.testandroidmodule --android=C:\Android\android-sdk
Added the android-ndk path in the build.property file
This is the build.property file:
titanium.platform=C:\\Users\\dhairya\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\2.0.1.GA2\\android
android.platform=C:\\Android\\android-sdk\\platforms\\android-8
google.apis=C:\\Android\\android-sdk\\add-ons\\addon-google_apis-google_inc_-8
android.ndk=C:\\Android\\android-ndk\\android-ndk-r7b
removing C:\RhoStudio\devkit\bin; from path variable under System Variables solved the issue.
Titanium mobilesdk version: 2.0.1.GA2