I got that error trying to reinstall GMLib (GMLib_DXE5_FMX.bpl):
[dcc32 Fatal Error] F2039 Could not create output file
'C:\Users\Public\Documents\RAD Studio\12.0\Bpl\GMLib_DXE5.bpl'
[dcc32 Fatal Error] GMLib_DXE5_FMX.dpk(36): E2202 Required package
'GMLib_DXE5' not found
What can I do to solve this?
Related
I am trying to migrate a web application from 2.52 to 2.7, however, a lot of error are thrown without much information.
The problem seems to upgrade the build_runner and build_web_compilers.
Since 2.6, it must use dill files to compile and that type of compilation is not working for my projects.
webdev version: 2.5.4
here is the log:
MacBook-Pro-de-Jonathan-941:guaraci jonathanrezende$ dart --version
Dart VM version: 2.7.0 (Fri Dec 6 16:26:51 2019 +0100) on "macos_x64"
MacBook-Pro-de-Jonathan-941:guaraci jonathanrezende$ webdev --version
2.5.4
MacBook-Pro-de-Jonathan-941:guaraci jonathanrezende$ sudo webdev serve web:80 --hostname guara.ci
[INFO] Building new asset graph completed, took 3.8s
[INFO] Checking for unexpected pre-existing outputs. completed, took 1ms
[INFO] Serving `web` on http://guara.ci
[INFO] Generating SDK summary completed, took 3.5s
[SEVERE]build_web_compilers:ddc on package:oni_services_components/src/communication_message.ddc.module: Error compiling dartdevc module:oni_services_components|lib/src/communication_message.ddc.js
Error: Could not resolve the package 'oni_forms' in 'package:oni_forms/oni_forms.dart'.
Error: Could not resolve the package 'oni_forms' in 'package:oni_forms/oni_forms.template.dart'.
Error: Could not resolve the package 'oni_forms' in 'package:oni_forms/src/base.dart'.
Error: Could not resolve the package 'oni_forms' in 'package:oni_forms/src/base.scss.css.shim.dart'.
Error: Could not resolve the package 'oni_forms' in 'package:oni_forms/src/base.template.dart'.
Error: Could not resolve the package 'oni_forms' in 'package:oni_forms/src/batch_form.dart'.
Error: Could not resolve the package 'oni_forms' in 'package:oni_forms/src/batch_form.template.dart'.
Error: Could not resolve the package 'oni_forms' in 'package:oni_forms/src/editor/base.dart'.
Error: Could not resolve the package 'oni_forms' in 'package:oni_forms/src/editor/base.template.dart'.
Error: Could not resolve the package 'oni_forms' in 'package:oni_forms/src/editor/editor.dart'.
Error: Could not resolve the package 'oni_forms' in 'package:oni_forms/src/editor/editor.scss.css.shim.dart'.
Error: Could not resolve the package 'oni_forms' in 'package:oni_forms/src/editor/editor.template.dart'.
Error: Could not resolve the package 'oni_forms' in 'package:oni_forms/src/error.scss.css.shim.dart'.
Error: Could not resolve the package 'oni_forms' in 'package:oni_forms/src/footer.dart'.
Error: Could not resolve the package 'oni_forms' in 'package:oni_forms/src/footer.scss.css.shim.dart'.
Error: Could not resolve the package 'oni_forms' in 'package:oni_forms/src/footer.template.dart'.
Error: Could not resolve the package 'oni_forms' in 'package:oni_forms/src/form.dart'.
Error: Could not resolve the package 'oni_forms' in 'package:oni_forms/src/form.scss.css.shim.dart'.
Error: Could not resolve the package 'oni_forms' in 'package:oni_forms/src/form.template.dart'.
Error: Could not resolve the package 'oni_forms' in 'package:oni_forms/src/group.dart'.
Error: Could not resolve the package 'oni_forms' in 'package:oni_forms/src/group.template.dart'.
Error: Could not resolve the package 'oni_forms' in 'package:oni_forms/src/object_form.dart'.
Error: Could not resolve the package 'oni_forms' in 'package:oni_forms/src/object_form.template.dart'.
Error: Could not resolve the package 'oni_forms' in 'package:oni_forms/src/paginated_form.dart'.
Error: Could not resolve the package 'oni_forms' in 'package:oni_forms/src/paginated_form.template.dart'.
Error: Could not resolve the package 'oni_forms' in 'package:oni_forms/src/submit.dart'.
Error: Could not resolve the package 'oni_forms' in 'package:oni_forms/src/submit.template.dart'.
Error: Could not resolve the package 'oni_objector' in 'package:oni_objector/oni_objector.dart'.
Error: Could not resolve the package 'oni_objector' in 'package:oni_objector/oni_objector.template.dart'.
Error: Could not resolve the package 'oni_objector' in 'package:oni_objector/src/field_desc.dart'.
Error: Could not resolve the package 'oni_objector' in 'package:oni_objector/src/field_desc.scss.css.shim.dart'.
Error: Could not resolve the package 'oni_objector' in 'package:oni_objector/src/field_desc.template.dart'.
Error: Could not resolve the package 'oni_objector' in 'package:oni_objector/src/object.dart'.
Error: Could not resolve the package 'oni_objector' in 'package:oni_objector/src/object.template.dart'.
[WARNING]build_web_compilers:entrypoint on web/main.dart: Unable to read oni_services_components|lib/src/communication_message.ddc.js, check your console or the `.dart_tool/build/generated/oni_services_components/lib/src/communication_message.ddc.js.errors` log file.
[SEVERE]build_web_compilers:ddc on package:oni_inputs/oni_inputs.template.ddc.module: Error creating oni_inputs|lib/oni_inputs.template.ddc.dillError creating kernel summary for module:oni_inputs|lib/oni_inputs.template.ddc.dill
Response:--dart-sdk-summary=file:///Users/jonathanrezende/Dart/current/lib/_internal/ddc_sdk.dill --output=/private/tmp/scratch_spacenF5cNh/packages/oni_inputs/oni_inputs.template.ddc.dill --packages-file=file:///tmp/kernel_builder_jpDCb2/.packages --multi-root-scheme=org-dartlang-app --exclude-non-sources --summary-only --target=ddc --libraries-file=file:///Users/jonathanrezende/Dart/current/lib/libraries.json --reuse-compiler-result --use-incremental-compiler --used-inputs=/tmp/kernel_builder_FBcKpI/used_inputs.txt --input-summary=org-dartlang-app:///packages/angular/src/bootstrap/modules.ddc.dill --input-summary=org-dartlang-app:///packages/angular_components/utils/id_generator/id_generator.ddc.dill --input-summary=org-dartlang-app:///packages/oni_front_common/oni_front_common.template.ddc.dill --input-summary=org-dartlang-app:///packages/angular_components/material_input/material_input_default_value_accessor.ddc.dill --input-summary=org-dartlang-app:///packages/angular_components/laminate/components/modal/modal.ddc.dill --input-summary=org-dartlang-app:///packages/angular/src/runtime/proxies.ddc.dill --input-summary=org-dartlang-app:///packages/angular_components/material_input/material_input.ddc.dill --input-summary=org-dartlang-app:///packages/angular_components/dynamic_component/dynamic_component.template.ddc.dill --input-summary=org-dartlang-app:///packages/oni_common/oni_common.ddc.dill --input-summary=org-dartlang-app:///packages/oni_front_common/src/config.ddc.dill --input-summary=org-dartlang-app:///packages/angular_components/angular_components.template.ddc.dill --input-summary=org-dartlang-app:///packages/angular_components/material_input/material_auto_suggest_input.template.ddc.dill --input-summary=org-dartlang-app:///packages/angular_components/material_input/base_material_input.ddc.dill --input-summary=org-dartlang-app:///packages/angular/src/runtime/queries.ddc.dill --input-summary=org-dartlang-app:///packages/angular_components/material_select/material_select.ddc.dill --input-summary=org-dartlang-app:///packages/angular/src/runtime/text_binding.ddc.dill --input-summary=org-dartlang-app:///packages/angular_components/focus/focus.template.ddc.dill --input-summary=org-dartlang-app:///packages/angular_components/src/material_tooltip/tooltip_controller.ddc.dill --input-summary=org-dartlang-app:///packages/angular_components/utils/angular/reference/reference.ddc.dill --input-summary=org-dartlang-app:///packages/angular_components/utils/browser/dom_service/dom_service.ddc.dill --input-summary=org-dartlang-app:///packages/angular_components/model/selection/selection_container.ddc.dill --input-summary=org-dartlang-app:///packages/angular_components/interfaces/has_disabled.ddc.dill --input-summary=org-dartlang-app:///packages/oni_services/src/action.ddc.dill --input-summary=org-dartlang-app:///packages/angular/angular.template.ddc.dill --input-summary=org-dartlang-app:///packages/angular_components/mixins/material_dropdown_base.ddc.dill --input-summary=org-dartlang-app:///packages/angular_components/material_input/material_auto_suggest_input.ddc.dill --input-summary=org-dartlang-app:///packages/angular_components/material_input/deferred_validator.ddc.dill --input-summary=org-dartlang-app:///packages/angular_components/src/laminate/popup/popup_hierarchy.ddc.dill --input-summary=org-dartlang-app:///packages/angular_components/utils/disposer/disposer.ddc.dill --input-summary=org-dartlang-app:///packages/angular_forms/src/directives.ddc.dill --input-summary=org-dartlang-app:///packages/angular/angular.ddc.dill --input-summary=org-dartlang-app:///packages/angular/src/core/change_detection/change_detection.ddc.dill --input-summary=org-dartlang-app:///packages/angular_components/model/ui/
Do you see oni_forms in your .packages file? This looks like you got some new version of a package that is missing dependencies and not a build_web_compilers issue.
found it out.
was a cyclic dependency between deep related packages.
I am guessing the old DDC let this happen because even thought the packages were cyclic, the files were not.
Now, the dill stuff does not let this happen in the package level.
I tried to compile opencv for x86_64 and arm64-v8a, but it threw error below:
In file included
from D:\AndroidSDK\android-ndk-r17b\sources\cxx-stl\gnu-libstdc++\4.9\include/bits/stl_algo.h:59:0,
from D:\AndroidSDK\android-ndk-r17b\sources\cxx-stl\gnu-libstdc++\4.9\include/algorithm:62,
from D:\TMP\C++\OpenCV-Source\opencv-3.4.3\modules\core\include/opencv2/core/base.hpp:55,
from D:\TMP\C++\OpenCV-Source\opencv-3.4.3\modules\core\include/opencv2/core.hpp:54,
from D:\TMP\C++\OpenCV-Source\opencv-3.4.3\modules\core\include/opencv2/core/utility.hpp:56,
from D:\TMP\C++\OpenCV-Source\opencv-3.4.3\modules\core\src\precomp.hpp:49,
from D:\TMP\C++\OpenCV-Source\opencv-3.4.3\modules\core\src\algorithm.cpp:43:
D:\AndroidSDK\android-ndk-r17b\sources\cxx-stl\gnu-
libstdc++\4.9\include/cstdlib:178:10: error: expected unqualified-id before
'__int128'
inline __int128
D:\AndroidSDK\android-ndk-r17b\sysroot\usr\include\aarch64-linux-
android/asm/sigcontext.h:40:3: error: '__uint128_t' does not name a type
__uint128_t vregs[32];
How to solve it?
It seems to be a problem with the stl library. You could try changing the stl in CMAKE to c++ static:
Flag: ANDROID_STL Value: c++_static
I'm having trouble installing the rinku gem version '1.7.3' on Mavericks. I followed the advice of another post that suggested to install apple-gcc42 but that didn't help. I've also tried searching google and stack overflow but couldn't find this exact issue. Here is the error:
Building native extensions. This could take a while...
ERROR: Error installing rinku:
ERROR: Failed to build gem native extension.
/Users/home/.rvm/rubies/ruby-1.9.3-p429/bin/ruby extconf.rb
creating Makefile
make clean
make
compiling autolink.c
In file included from autolink.c:17:
buffer.h:23:20: error: stdint.h: No such file or directory
In file included from autolink.c:17:
buffer.h:41: error: expected specifier-qualifier-list before 'uint8_t'
In file included from autolink.c:18:
autolink.h:31: warning: type defaults to 'int' in declaration of 'uint8_t'
autolink.h:31: error: expected ';', ',' or ')' before '*' token
autolink.h:35: error: expected declaration specifiers or '...' before 'uint8_t'
autolink.h:39: error: expected declaration specifiers or '...' before 'uint8_t'
autolink.h:43: error: expected declaration specifiers or '...' before 'uint8_t'
autolink.c:20:20: error: string.h: No such file or directory
autolink.c:21:20: error: stdlib.h: No such file or directory
autolink.c:22:19: error: stdio.h: No such file or directory
autolink.c:23:19: error: ctype.h: No such file or directory
autolink.c:30: warning: type defaults to 'int' in declaration of 'uint8_t'
... Had to leave out some of the error because it won't let me post this without a lower code to text ratio.
autolink.c: At top level:
autolink.c:256: error: expected declaration specifiers or '...' before 'uint8_t'
autolink.c: In function 'sd_autolink__url':
autolink.c:263: error: 'data' undeclared (first use in this function)
autolink.c:266: warning: implicit declaration of function 'isalpha'
autolink.c:269: warning: implicit declaration of function 'sd_autolink_issafe'
autolink.c:272: warning: incompatible implicit declaration of built-in function 'strlen'
make: *** [autolink.o] Error 1
make failed, exit code 2
this ended up fixing it for 1.9.3
xcode-select --install
i found this project for connecting to mysql servers!
: http://sourceforge.net/projects/zeoslib/
but for installing on XE5 i got the flowing error :
[dcc32 Fatal Error] ZCore.dpk(56): F1026 File not found: 'C:\Users\peiman\Desktop\rad\mysql\packages\DelphiXE5\ZFastCode.dcu'
i searched the file for ZFastCode.dcu but there isnt any file with this name in all parts of the projects
any body know how can i fix this!?
just Remove line for ZFastCode.pas from your ZCore package file.
I am trying to follow the tutorial on Emscripten setup.I have installed the SDK and now trying to test clang compilation.
Trying simple : clang tests/hello_world.cpp I am getting the following error:
c:\Program Files\Emscripten\emscripten\1.13.0>clang++
tests/hello_world.cpp hello_world-005255.o : error LNK2019:
unresolved external symbol printf referenc ed in function main LINK :
error LNK2001: unresolved external symbol mainCRTStartup hell.exe :
fatal error LNK1120: 2 unresolved externals clang++.exe: error: linker
command failed with exit code 1120 (use -v to see inv ocation)
I am executing the command in VS 2010 cmd and my system is 64bit (Emscripten version is 64bit too)