I am installing the TLD application based on the instructions shown on https://github.com/zk00006/OpenTLD/wiki/Installation
Using:
OpenCV 2.4.2
Matlab R2010b x 64bits
Win7 x 64
VS2010 Professional
Everything works fine until I executed this step "6) In Matlab, run compile.m"
C:\Program Files\MATLAB\R2011b\extern\include\tmwtypes.h(821) : warning C4091: 'typedef ' : ignored on left of 'wchar_t' when no variable is declared
**c:\program files\matlab\r2011b\extern\include\matrix.h(319) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int**
lk.cpp(39) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
lk.cpp(40) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
lk.cpp(146) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
lk.cpp(146) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
lk.cpp(155) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
lk.cpp(155) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
lk.cpp(162) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
lk.cpp(175) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
lk.cpp(175) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
lk.cpp(176) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
lk.cpp(176) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
lk.cpp(177) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
lk.cpp(177) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\PROGRA~1\MATLAB\R2011B\BIN\MEX.PL: Error: Compile of 'lk.cpp' failed.
I have searched through many websites but to no avail. Hopefully, someone can enlighten me on this problem. All solutions are greatly appreciated.
Related
I've tried almost every solution on GitHub and StackOverflow, nothing is working. After changing from a Intel based mac to a M1 Max mac, my Flutter app stopped compiling, giving this weird error without any further detail. I'm attaching the XCode logs. I really need help please. Thank you!
Showing Recent Errors Only
PhaseScriptExecution Run\ Script /Users/alessandrodefendenti/Library/Developer/Xcode/DerivedData/Runner-deveoduanwnjibbunuscrmjquxnr/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/Script-9740EEB61CF901F6004384FC.sh (in target 'Runner' from project 'Runner')
cd /Users/alessandrodefendenti/Projects/Flutter/winefriends/ios
*** exports here ***
export variant\=normal
/bin/sh -c /Users/alessandrodefendenti/Library/Developer/Xcode/DerivedData/Runner-deveoduanwnjibbunuscrmjquxnr/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/Script-9740EEB61CF901F6004384FC.sh
/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/feature_discovery-0.14.1/lib/src/widgets/layout.dart:92:20: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
- 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/widgets/binding.dart').
WidgetsBinding.instance!.addPostFrameCallback((_) {
^
/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/feature_discovery-0.14.1/lib/src/widgets/layout.dart:112:20: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
- 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/widgets/binding.dart').
WidgetsBinding.instance!.addPostFrameCallback((_) {
^
/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/multi_image_picker-4.8.01/lib/src/asset.dart:93:21: Warning: Operand of null-aware operation '!' has type 'ServicesBinding' which excludes null.
- 'ServicesBinding' is from 'package:flutter/src/services/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/services/binding.dart').
ServicesBinding.instance!.defaultBinaryMessenger
^
/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/multi_image_picker-4.8.01/lib/src/asset.dart:96:23: Warning: Operand of null-aware operation '!' has type 'ServicesBinding' which excludes null.
- 'ServicesBinding' is from 'package:flutter/src/services/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/services/binding.dart').
ServicesBinding.instance!.defaultBinaryMessenger
^
/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/multi_image_picker-4.8.01/lib/src/asset.dart:122:21: Warning: Operand of null-aware operation '!' has type 'ServicesBinding' which excludes null.
- 'ServicesBinding' is from 'package:flutter/src/services/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/services/binding.dart').
ServicesBinding.instance!.defaultBinaryMessenger
^
/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/multi_image_picker-4.8.01/lib/src/asset.dart:125:23: Warning: Operand of null-aware operation '!' has type 'ServicesBinding' which excludes null.
- 'ServicesBinding' is from 'package:flutter/src/services/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/services/binding.dart').
ServicesBinding.instance!.defaultBinaryMessenger
^
/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/win32-2.3.3/lib/src/structs.g.dart:661:31: Error: Member not found: 'UnicodeChar'.
int get UnicodeChar => Char.UnicodeChar;
^^^^^^^^^^^
/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/win32-2.3.3/lib/src/structs.g.dart:662:38: Error: Setter not found: 'UnicodeChar'.
set UnicodeChar(int value) => Char.UnicodeChar = value;
^^^^^^^^^^^
/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/win32-2.3.3/lib/src/structs.g.dart:664:29: Error: Member not found: 'AsciiChar'.
int get AsciiChar => Char.AsciiChar;
^^^^^^^^^
/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/win32-2.3.3/lib/src/structs.g.dart:665:36: Error: Setter not found: 'AsciiChar'.
set AsciiChar(int value) => Char.AsciiChar = value;
^^^^^^^^^
/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/flare_flutter-3.0.2/lib/flare_render_box.dart:167:26: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.
- 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/scheduler/binding.dart').
SchedulerBinding.instance?.cancelFrameCallbackWithId(_frameCallbackID);
^
/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/flare_flutter-3.0.2/lib/flare_render_box.dart:170:28: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.
- 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/scheduler/binding.dart').
SchedulerBinding.instance?.scheduleFrameCallback(_beginFrame) ?? -1;
^
/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/flare_flutter-3.0.2/lib/flare_render_box.dart:272:26: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.
- 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/scheduler/binding.dart').
SchedulerBinding.instance?.cancelFrameCallbackWithId(_frameCallbackID);
^
Failed to package /Users/alessandrodefendenti/Projects/Flutter/winefriends.
Command PhaseScriptExecution failed with a nonzero exit code
I think you are using an older flutter version which had WidgetBinding as a nullable value but in flutter 3+ widgetbinding is non nullable. The feature discovery had been resolved to the latest version which probably works only in flutter 3+.
Try downgrading the feature discovery package that supports older version of flutter
Try to install rosetta, this solved my issue.
sudo softwareupdate --install-rosetta --agree-to-license
Good afternoon everyone,
Ive been trying to make the app run and it doesnt work i’ve tried everything please help.
Thank you so much in advance!
MacBook Pro (13-inch, M1, 2020)
macOS Monterey version 12.3.1
Xcode Version 13.3.1 (13E500a)
android studio bumblebee 2021.1.1 patch 3
flutter channel stable
everything running in rosseta 2 including the simulator
Command Flutter build iOS:
Android studio:
Error output from Xcode build:
↳
objc[13420]: Class AppleTypeCRetimerRestoreInfoHelper is implemented in both /usr/lib/libauthinstall.dylib (0x1e56e1eb0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1043644f8). One of the two will be used. Which one is undefined.
objc[13420]: Class AppleTypeCRetimerFirmwareAggregateRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x1e56e1f00) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x104364548). One of the two will be used. Which one is undefined.
objc[13420]: Class AppleTypeCRetimerFirmwareRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x1e56e1f50) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x104364598). One of the two will be used. Which one is undefined.
objc[13420]: Class ATCRTRestoreInfoFTABFile is implemented in both /usr/lib/libauthinstall.dylib (0x1e56e1fa0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1043645e8). One of the two will be used. Which one is undefined.
objc[13420]: Class AppleTypeCRetimerFirmwareCopier is implemented in both /usr/lib/libauthinstall.dylib (0x1e56e1ff0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x104364638). One of the two will be used. Which one is undefined.
objc[13420]: Class ATCRTRestoreInfoFTABSubfile is implemented in both /usr/lib/libauthinstall.dylib (0x1e56e2040) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x104364688). One of the two will be used. Which one is undefined.
2022-04-26 12:51:00.034 xcodebuild[13420:385696] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2022-04-26 12:51:00.035 xcodebuild[13420:385696] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
** BUILD FAILED **
Xcode's output:
↳
Writing result bundle at path:
/var/folders/75/1k4jl9xd4qn5p8fstmtzs43h0000gn/T/flutter_tools.Ajgo6z/flutter_ios_build_temp_dirfVfbjn/temporary_xcresult_bundle
/Users/aryuna/studioprojects/Uniyo/ios/Pods/libwebp/src/enc/backward_references_enc.c:694:12: warning: variable 'best_offset' may be uninitialized when used here [-Wconditional-uninitialized]
(best_offset << MAX_LENGTH_BITS) | (uint32_t)best_length;
^~~~~~~~~~~
/Users/aryuna/studioprojects/Uniyo/ios/Pods/libwebp/src/enc/backward_references_enc.c:626:20: note: initialize the variable 'best_offset' to silence this warning
int best_offset;
^
= 0
1 warning generated.
/Users/aryuna/studioprojects/Uniyo/ios/Pods/libwebp/src/enc/backward_references_enc.c:694:12: warning: variable 'best_offset' may be uninitialized when used here [-Wconditional-uninitialized]
(best_offset << MAX_LENGTH_BITS) | (uint32_t)best_length;
^~~~~~~~~~~
/Users/aryuna/studioprojects/Uniyo/ios/Pods/libwebp/src/enc/backward_references_enc.c:626:20: note: initialize the variable 'best_offset' to silence this warning
int best_offset;
^
= 0
1 warning generated.
4 warnings generated.
/Users/aryuna/studioprojects/Uniyo/ios/Pods/libwebp/src/enc/backward_references_enc.c:694:12: warning: variable 'best_offset' may be uninitialized when used here [-Wconditional-uninitialized]
(best_offset << MAX_LENGTH_BITS) | (uint32_t)best_length;
^~~~~~~~~~~
/Users/aryuna/studioprojects/Uniyo/ios/Pods/libwebp/src/enc/backward_references_enc.c:626:20: note: initialize the variable 'best_offset' to silence this warning
int best_offset;
^
= 0
1 warning generated.
/Users/aryuna/studioprojects/flutter/.pub-cache/hosted/pub.dartlang.org/pay_ios-1.0.6/ios/Classes/PaymentExtensions.swift:40:22: warning: expression implicitly coerced from 'String?' to 'Any'
"displayName": displayName,
^~~~~~~~~~~
/Users/aryuna/studioprojects/flutter/.pub-cache/hosted/pub.dartlang.org/pay_ios-1.0.6/ios/Classes/PaymentExtensions.swift:40:22: note: provide a default value to avoid this warning
"displayName": displayName,
^~~~~~~~~~~
?? <#default value#>
/Users/aryuna/studioprojects/flutter/.pub-cache/hosted/pub.dartlang.org/pay_ios-1.0.6/ios/Classes/PaymentExtensions.swift:40:22: note: force-unwrap the value to avoid this warning
"displayName": displayName,
^~~~~~~~~~~
!
/Users/aryuna/studioprojects/flutter/.pub-cache/hosted/pub.dartlang.org/pay_ios-1.0.6/ios/Classes/PaymentExtensions.swift:40:22: note: explicitly cast to 'Any' with 'as Any' to silence this warning
"displayName": displayName,
^~~~~~~~~~~
as Any
/Users/aryuna/studioprojects/flutter/.pub-cache/hosted/pub.dartlang.org/pay_ios-1.0.6/ios/Classes/PaymentExtensions.swift:41:18: warning: expression implicitly coerced from 'String?' to 'Any'
"network": network?.rawValue,
^~~~~~~~~~~~~~~~~
/Users/aryuna/studioprojects/flutter/.pub-cache/hosted/pub.dartlang.org/pay_ios-1.0.6/ios/Classes/PaymentExtensions.swift:41:27: note: provide a default value to avoid this warning
"network": network?.rawValue,
~~~~~~~~~^~~~~~~~
?? <#default value#>
/Users/aryuna/studioprojects/flutter/.pub-cache/hosted/pub.dartlang.org/pay_ios-1.0.6/ios/Classes/PaymentExtensions.swift:41:27: note: force-unwrap the value to avoid this warning
"network": network?.rawValue,
~~~~~~~~~^~~~~~~~
!
/Users/aryuna/studioprojects/flutter/.pub-cache/hosted/pub.dartlang.org/pay_ios-1.0.6/ios/Classes/PaymentExtensions.swift:41:27: note: explicitly cast to 'Any' with 'as Any' to silence this warning
"network": network?.rawValue,
~~~~~~~~~^~~~~~~~
as Any
/Users/aryuna/studioprojects/flutter/.pub-cache/hosted/pub.dartlang.org/pay_ios-1.0.6/ios/Classes/PaymentExtensions.swift:67:21: warning: expression implicitly coerced from 'String?' to 'Any'
"namePrefix": namePrefix,
^~~~~~~~~~
/Users/aryuna/studioprojects/flutter/.pub-cache/hosted/pub.dartlang.org/pay_ios-1.0.6/ios/Classes/PaymentExtensions.swift:67:21: note: provide a default value to avoid this warning
"namePrefix": namePrefix,
^~~~~~~~~~
?? <#default value#>
/Users/aryuna/studioprojects/flutter/.pub-cache/hosted/pub.dartlang.org/pay_ios-1.0.6/ios/Classes/PaymentExtensions.swift:67:21: note: force-unwrap the value to avoid this warning
"namePrefix": namePrefix,
^~~~~~~~~~
!
/Users/aryuna/studioprojects/flutter/.pub-cache/hosted/pub.dartlang.org/pay_ios-1.0.6/ios/Classes/PaymentExtensions.swift:67:21: note: explicitly cast to 'Any' with 'as Any' to silence this warning
"namePrefix": namePrefix,
^~~~~~~~~~
as Any
/Users/aryuna/studioprojects/flutter/.pub-cache/hosted/pub.dartlang.org/pay_ios-1.0.6/ios/Classes/PaymentExtensions.swift:68:20: warning: expression implicitly coerced from 'String?' to 'Any'
"givenName": givenName,
^~~~~~~~~
/Users/aryuna/studioprojects/flutter/.pub-cache/hosted/pub.dartlang.org/pay_ios-1.0.6/ios/Classes/PaymentExtensions.swift:68:20: note: provide a default value to avoid this warning
"givenName": givenName,
^~~~~~~~~
?? <#default value#>
/Users/aryuna/studioprojects/flutter/.pub-cache/hosted/pub.dartlang.org/pay_ios-1.0.6/ios/Classes/PaymentExtensions.swift:68:20: note: force-unwrap the value to avoid this warning
"givenName": givenName,
^~~~~~~~~
!
/Users/aryuna/studioprojects/flutter/.pub-cache/hosted/pub.dartlang.org/pay_ios-1.0.6/ios/Classes/PaymentExtensions.swift:68:20: note: explicitly cast to 'Any' with 'as Any' to silence this warning
"givenName": givenName,
^~~~~~~~~
as Any
/Users/aryuna/studioprojects/flutter/.pub-cache/hosted/pub.dartlang.org/pay_ios-1.0.6/ios/Classes/PaymentExtensions.swift:69:21: warning: expression implicitly coerced from 'String?' to 'Any'
"middleName": middleName,
^~~~~~~~~~
/Users/aryuna/studioprojects/flutter/.pub-cache/hosted/pub.dartlang.org/pay_ios-1.0.6/ios/Classes/PaymentExtensions.swift:69:21: note: provide a default value to avoid this warning
"middleName": middleName,
^~~~~~~~~~
?? <#default value#>
/Users/aryuna/
lib/Screens/me/Selling/selling.dart:436:70: Error: The getter 'TEST' isn't defined for the class 'Screen'.
- 'Screen' is from 'package:uniyo/class/Util.dart' ('lib/class/Util.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'TEST'.
utils.changeScreen(context, utils.screen.TEST);
^^^^
lib/class/Basket.dart:175:33: Error: The getter 'bookingTime' isn't defined for the class 'BasketItem'.
- 'BasketItem' is from 'package:uniyo/class/BasketItem.dart' ('lib/class/BasketItem.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'bookingTime'.
int bookingTime = service.bookingTime;
^^^^^^^^^^^
lib/Screens/home/homepage.dart:140:27: Error: The getter 'SliverStaggeredGrid' isn't defined for the class '_HomePageState'.
- '_HomePageState' is from 'package:uniyo/Screens/home/homepage.dart' ('lib/Screens/home/homepage.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'SliverStaggeredGrid'.
SliverStaggeredGrid.count(
^^^^^^^^^^^^^^^^^^^
lib/Screens/home/homepage.dart:247:42: Error: The getter 'StaggeredTile' isn't defined for the class '_HomePageState'.
- '_HomePageState' is from 'package:uniyo/Screens/home/homepage.dart' ('lib/Screens/home/homepage.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'StaggeredTile'.
return StaggeredTile.count(4, 4);
^^^^^^^^^^^^^
lib/Screens/home/homepage.dart:253:42: Error: The getter 'StaggeredTile' isn't defined for the class '_HomePageState'.
- '_HomePageState' is from 'package:uniyo/Screens/home/homepage.dart' ('lib/Screens/home/homepage.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'StaggeredTile'.
return StaggeredTile.count(2, 4);
^^^^^^^^^^^^^
lib/Screens/home/homepage.dart:262:42: Error: The getter 'StaggeredTile' isn't defined for the class '_HomePageState'.
- '_HomePageState' is from 'package:uniyo/Screens/home/homepage.dart' ('lib/Screens/home/homepage.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'StaggeredTile'.
return StaggeredTile.count(2, 2);
^^^^^^^^^^^^^
lib/Screens/home/homepage.dart:265:42: Error: The getter 'StaggeredTile' isn't defined for the class '_HomePageState'.
- '_HomePageState' is from 'package:uniyo/Screens/home/homepage.dart' ('lib/Screens/home/homepage.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'StaggeredTile'.
return StaggeredTile.count(4, 2);
^^^^^^^^^^^^^
lib/Screens/home/homepage.dart:273:42: Error: The getter 'StaggeredTile' isn't defined for the class '_HomePageState'.
- '_HomePageState' is from 'package:uniyo/Screens/home/homepage.dart' ('lib/Screens/home/homepage.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'StaggeredTile'.
return StaggeredTile.count(2, 2);
^^^^^^^^^^^^^
lib/Screens/home/homepage.dart:275:40: Error: The getter 'StaggeredTile' isn't defined for the class '_HomePageState'.
- '_HomePageState' is from 'package:uniyo/Screens/home/homepage.dart' ('lib/Screens/home/homepage.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'StaggeredTile'.
return StaggeredTile.count(1, 1);
^^^^^^^^^^^^^
lib/widgets/Search.dart:179:60: Error: The getter 'REQUEST2' isn't defined for the class 'Screen'.
- 'Screen' is from 'package:uniyo/class/Util.dart' ('lib/class/Util.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'REQUEST2'.
utils.changeScreen(context, utils.screen.REQUEST2);
^^^^^^^^
lib/Screens/add/supporting_screens_add/reviews4.dart:52:32: Error: The getter 'Lottie' isn't defined for the class 'reviews4'.
- 'reviews4' is from 'package:uniyo/Screens/add/supporting_screens_add/reviews4.dart' ('lib/Screens/add/supporting_screens_add/reviews4.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'Lottie'.
child: Lottie.asset(
^^^^^^
lib/Screens/add/supporting_screens_add/reviews2.dart:26:16: Error: The getter 'Lottie' isn't defined for the class 'reviews2'.
- 'reviews2' is from 'package:uniyo/Screens/add/supporting_screens_add/reviews2.dart' ('lib/Screens/add/supporting_screens_add/reviews2.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'Lottie'.
var anim = Lottie.asset('assets/animations/check9.json',
^^^^^^
Unhandled exception:
FileSystemException(uri=org-dartlang-untranslatable-uri:package%3Aquick_feedback%2Fquick_feedback.dart; message=StandardFileSystem only supports file:* and data:* URIs)
#0 StandardFileSystem.entityForUri (package:front_end/src/api_prototype/standard_file_system.dart:34:7)
#1 asFileUri (package:vm/kernel_front_end.dart:623:37)
#2 writeDepfile (package:vm/kernel_front_end.dart:763:21)
<asynchronous suspension>
#3 FrontendCompiler.compile (package:frontend_server/frontend_server.dart:586:9)
<asynchronous suspension>
#4 starter (package:flutter_frontend_server/server.dart:85:12)
<asynchronous suspension>
#5 main (file:///opt/s/w/ir/cache/builder/src/flutter/flutter_frontend_server/bin/starter.dart:13:24)
<asynchronous suspension>
Failed to package /Users/aryuna/studioprojects/Uniyo.
Command PhaseScriptExecution failed with a nonzero exit code
note: Using new build system
note: Planning
note: Build preparation complete
note: Building targets in dependency order
/Users/aryuna/studioprojects/Uniyo/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.4.99. (in target 'leveldb-library' from project 'Pods')
Result bundle written to path:
/var/folders/75/1k4jl9xd4qn5p8fstmtzs43h0000gn/T/flutter_tools.Ajgo6z/flutter_ios_build_temp_dirfVfbjn/temporary_xcresult_bundle
Could not build the application for the simulator.
Error launching application on iPhone 12 Pro Max.
Xcode keeps asking me to update to recommended settings 12 repeatedly after updating something is changing them back even tho its specified in podfile swell
Terminal : Encountered error while building for device.
Flutter 2.10.5 • channel stable •
Tools • Dart 2.16.2 • DevTools 2.9.2
I am trying to compile FFmpeg (the Chromium version) for Windows10/Aarch64 configuration using Microsoft Visual Studio 2017 Preview community edition. I am running into errors in the assembly files as copied below (highlighted few errors). I believe FFmpeg is working for Linux/Aarch64 configuration (probably using GNU assembler) already in which case the same assembly code should also work for Microsoft ARM Macro Assembler as well. Please let me know if I am missing anything here and any pointers to help resolve the errors.
D:\Work\Chromium_FFmpeg\chromium\src>ninja -C out\ARM64V8 third_party\ffmpeg
ninja: Entering directory `out\ARM64V8'
[2/9] ASM obj/third_party/ffmpeg/ffmpeg_internal/autorename_libavcodec_aarch64_fft_neon.obj
FAILED: obj/third_party/ffmpeg/ffmpeg_internal/autorename_libavcodec_aarch64_fft_neon.obj
D:/Work/Chromium_FFmpeg/depot_tools/win_tools-2_7_6_bin/python/bin/python.exe ../../build/toolchain/win/tool_wrapper.py asm-wrapper environment.arm64 armasm64.exe /Foobj/third_party/ffmpeg/ffmpeg_internal/autorename_libavcodec_aarch64_fft_neon.obj ../../third_party/ffmpeg/libavcodec/aarch64/autorename_libavcodec_aarch64_fft_neon.S
Microsoft (R) ARM Macro Assembler Version 14.16.26926.0 for 64 bits
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\autorename_libavcodec_aarch64_fft_neon.S(1) : error A2003: improper line syntax: /
// File automatically generated. See crbug.com/495833.
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\autorename_libavcodec_aarch64_fft_neon.S(2) : error A2230: Illegal preprocessor directive; only "#line [filename]" is recognized
include "fft_neon.S"
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\autorename_libavcodec_aarch64_fft_neon.S(3) : warning A4045: missing END directive
include "fft_neon.S"
.
.
.
[6/9] ASM obj/third_party/ffmpeg/ffmpeg_internal/mpegaudiodsp_neon.obj
FAILED: obj/third_party/ffmpeg/ffmpeg_internal/mpegaudiodsp_neon.obj
D:/Work/Chromium_FFmpeg/depot_tools/win_tools-2_7_6_bin/python/bin/python.exe ../../build/toolchain/win/tool_wrapper.py asm-wrapper environment.arm64 armasm64.exe /Foobj/third_party/ffmpeg/ffmpeg_internal/mpegaudiodsp_neon.obj ../../third_party/ffmpeg/libavcodec/aarch64/mpegaudiodsp_neon.S
Microsoft (R) ARM Macro Assembler Version 14.16.26926.0 for 64 bits
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(1) : error A2003: improper line syntax: /
/*
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(2) : error A2079: improper line syntax; symbol expected
* Copyright (c) 2014 Janne Grunau
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(3) : error A2079: improper line syntax; symbol expected
*
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(4) : error A2079: improper line syntax; symbol expected
* This file is part of FFmpeg.
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(5) : error A2079: improper line syntax; symbol expected
*
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(6) : error A2079: improper line syntax; symbol expected
* FFmpeg is free software; you can redistribute it and/or
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(7) : error A2079: improper line syntax; symbol expected
* modify it under the terms of the GNU Lesser General Public
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(8) : error A2079: improper line syntax; symbol expected
* License as published by the Free Software Foundation; either
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(9) : error A2079: improper line syntax; symbol expected
* version 2.1 of the License, or (at your option) any later version.
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(10) : error A2079: improper line syntax; symbol expected
*
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(11) : error A2079: improper line syntax; symbol expected
* FFmpeg is distributed in the hope that it will be useful,
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(12) : error A2079: improper line syntax; symbol expected
* but WITHOUT ANY WARRANTY; without even the implied warranty of
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(13) : error A2079: improper line syntax; symbol expected
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(14) : error A2079: improper line syntax; symbol expected
* Lesser General Public License for more details.
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(15) : error A2079: improper line syntax; symbol expected
*
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(16) : error A2079: improper line syntax; symbol expected
* You should have received a copy of the GNU Lesser General Public
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(17) : error A2079: improper line syntax; symbol expected
* License along with FFmpeg; if not, write to the Free Software
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(18) : error A2079: improper line syntax; symbol expected
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(19) : error A2079: improper line syntax; symbol expected
*/
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(21) : error A2230: Illegal preprocessor directive; only "#line [filename]" is recognized
include "libavutil/aarch64/asm.S"
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(23) : error A2230: Illegal preprocessor directive; only "#line [filename]" is recognized
define FRAC_BITS 23 // fractional bits for sb_samples and dct
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(24) : error A2230: Illegal preprocessor directive; only "#line [filename]" is recognized
define WFRAC_BITS 16 // fractional bits for window
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(25) : error A2230: Illegal preprocessor directive; only "#line [filename]" is recognized
define OUT_SHIFT (WFRAC_BITS + FRAC_BITS - 15)
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(27) : error A2034: unknown opcode: tbl_rev128_s
const tbl_rev128_s, align=4
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(28) : error A2034: unknown opcode: .
.byte 12, 13, 14, 15
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(29) : error A2034: unknown opcode: .
.byte 8, 9, 10, 11
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(30) : error A2034: unknown opcode: .
.byte 4, 5, 6, 7
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(31) : error A2034: unknown opcode: .
.byte 0, 1, 2, 3
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(34) : error A2003: improper line syntax: .
.macro apply_window type, st
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(35) : error A2034: unknown opcode: ff_mpadsp_apply_window_
function ff_mpadsp_apply_window_\type()_neon, export=1
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(42) : error A2034: unknown opcode: movrel
movrel x15, tbl_rev128_s
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(44) : error A2003: improper line syntax: .
.ifc \type, fixed
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(46) : error A2003: improper line syntax: .
.else
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(48) : error A2003: improper line syntax: .
.endif
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(53) : error A2173: syntax error in expression
sub x5, x5, x4 // samples2
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(53) : error A2003: improper line syntax: Trouble parsing operands
sub x5, x5, x4 // samples2
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(54) : error A2173: syntax error in expression
neg x13, x4 // -incr
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(54) : error A2003: improper line syntax: Trouble parsing operands
neg x13, x4 // -incr
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(56) : error A2003: improper line syntax: .
.ifc \type, fixed
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(57) : error A2173: syntax error in expression
ld1r {v16.2s}, [x2] // dither_state
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(57) : error A2003: improper line syntax: Trouble parsing operands
ld1r {v16.2s}, [x2] // dither_state
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(60) : error A2061: illegal expression type; expected absolute numeric
movi v30.2d, #(1<error A2034: unknown opcode: MLA2
MLA2 v17, v2, v0
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(93) : error A2034: unknown opcode: MLS2
MLS2 v19, v3, v6
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(95) : error A2034: unknown opcode: MLS2
MLS2 v17, v4, v7
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(97) : error A2034: unknown opcode: MLS2
MLS2 v19, v5, v1
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(98) : error A2034: unknown opcode: .
b.gt 2b
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(101) : error A2173: syntax error in expression
sub x10, x10, #64<<5 // 64 * 8 * sizeof(int32_t)
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(101) : error A2003: improper line syntax: Trouble parsing operands
sub x10, x10, #64<<5 // 64 * 8 * sizeof(int32_t)
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(103) : error A2003: improper line syntax: .
.ifc \type, fixed
D:\Work\Chromium_FFmpeg\chromium\src\third_party\ffmpeg\libavcodec\aarch64\mpegaudiodsp_neon.S(105) : error A2034: unknown opcode: ext
ext v28.16b, v29.16b, v28.16b, #8
.
.
.
I believe FFmpeg is working for Linux/Aarch64 configuration (probably using GNU assembler) already in which case the same assembly code should also work for Microsoft
ARM Macro Assembler as well.
The Microsoft Arm Assembler uses a different syntax to the GNU Assembler, similar but not quite the same as the syntax used by armasm. They are not compatible.
I have code that worked well in Visual C++ 6.0. Now I need to get it working in VS 2017. I have some error messages when I compile, and I'm really not sure how to fix it. Here's the code:
class CTagDB : public CObject
{
...
bool SameTag (const CTagDB *TagDB) { return TagDB && *this == *TagDB; }
...
}
class CTagsDB : public CObject
{
...
std::vector<CTagDB*> m_Tags;
...
}
bool CTagsDB::IsDup(const CTagDB *TagDB) const
{
return std::find_if(m_Tags.begin(), m_Tags.end(),
std::bind2nd(std::mem_fun1(CTagDB::SameTag),
TagDB)) != m_Tags.end();
}
For this code I get the following errors:
error C2039: 'mem_fun1': is not a member of 'std' C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.11.25503\include\map(16):
note: see declaration of 'std'
error C3867: 'CTagDB::SameTag': non-standard syntax; use '&' to create a pointer to member
error C3861: 'mem_fun1': identifier not found
error C2672: 'std::find_if': no matching overloaded function found
error C2780: '_InIt std::find_if(_InIt,_InIt,_Pr)': expects 3 arguments - 2 provided
Seeing the methods begin() & end(), I suspect that there is a problem with the way the vectors are being used, because originally the code was written without iterators. But this fragment of code is so clever as to be very difficult to decipher, let alone maintain (by me).
Can anyone help me figure out what is going on here and how to fix it?
I am tring to compile OpenMCU in fedora 12. Since the orignal project was compiled in VC++, it has some compatiility issues with gcc.
I am using gcc 4.4.4 and febora 12.
The error shows somehting like this.
In file included from mcu.h:84,
from main.cxx:56:
filemembers.h:123: error: ISO C++ forbids declaration of ‘deque’ with no type
filemembers.h:123: error: typedef name may not be a nested-name-specifier
filemembers.h:123: error: expected ‘;’ before ‘<’ token
filemembers.h:124: error: ISO C++ forbids declaration of ‘FilenameList’ with no type
filemembers.h:124: error: expected ‘,’ or ‘...’ before ‘&’ token
In file included from mcu.h:84,
from main.cxx:56:
filemembers.h:149: error: ‘FilenameList’ does not name a type
make: *** [obj_linux_x86_r/main.o] Error 1
when checked in the source code of that perticular file it was something like this...
class ConferenceFileMember : public ConferenceMember
{
PCLASSINFO(ConferenceFileMember, ConferenceMember);
public:
ConferenceFileMember(Conference * conference, const PFilePath & _fn, PFile::OpenMode mode);
*typedef std::deque<PFilePath> FilenameList; //Line 123..*
ConferenceFileMember(Conference * conference, const FilenameList & _fns, PFile::OpenMode mode);
~ConferenceFileMember();
void Unlisten();
Seems to be a simple syntax issue. Can someone help me in this regards?
Thanx in advance..
Looks like std::deque is not defined. Did you #include <deque>?