blackberry supports j2me polish classes? - blackberry

Do blackberry supports j2me polish classes because when i use it with blackberry api;s in my application it shows me following error of the in built classes of the j2me polish
C:\Program Files\J2ME-Polish\j2mepolish-src\j2me\src\de\enough\polish\midp\ui\Form.java:42: interface expected here
[javac] implements Displayable
[javac] ^
[javac] C:\Program Files\J2ME-Polish\j2mepolish-src\j2me\src\de\enough\polish\midp\ui\TextBox.java:42: interface expected here
[javac] implements Displayable
[javac] ^

Related

Undefined symbol errors showing in Xcode when trying to use Objective-C libraries in Swift project

I was using Objective-C libraries in my flutter project which supports Swift. I am using a Bridging file for importing the Objective-C frameworks. So, during building I have encountered some issues which are shown below. Is anyone aware of these errors?
Undefined symbol: _av_bsf_alloc
Undefined symbol: _av_bsf_get_by_name
Undefined symbol: _av_bsf_receive_packet
Undefined symbol: _av_bsf_send_packet
Undefined symbol: _avcodec_receive_frame
Undefined symbol: _avcodec_send_packet
These errors are indicating that the symbols you are trying to use in your Objective-C code are not being found at runtime. These symbols are part of the FFmpeg library. It seems that your project is not linking against the FFmpeg library correctly.

Utilization of Clang CFE Toolchains from C++

I'm trying to use the Clang Compiler FrontEnd to compile C++ for OpenCL to SPIR-V.
I assume that this is done by creating a clang::driver::toolchains::SPIRVToolChain which is defined in header SPIRV.h. However, this header is located under LLVM_ROOT_DIR/clang/lib/ToolChains/, which only exists in the LLVM project folder. It is not installed with the rest of Clangs headers.
Am I supposed to only interface abstract class clang::driver::ToolChain in order to perform the compilation, or do I have to modify the LLVM/Clang-installation?

compile libc++ for ios?

I'd like to use libclang in my ios app for syntax highlighting.
I've cross-compiled clang for ios (armv7) and i'm able to use it for tokenize, diagnostics, etc. But when i try to tokenize/get diagnostics for .cpp file which have #include <stdio.h> or iostream or cstdio.h libclang outputs fatal diagnostics that header file is not found.
Do i have to cross-compile libc++, upload cross compiled headers and static lib to device and add according -I to libclang command-line arguments?
libc++ already exists on iOS. You don't need to do anything special to access it. Just link against /usr/lib/libc++.dylib in the iOS SDK.

Problems with Directx Header file

Hi I am trying to use the Visual Studio 2013 Graphics debugger and tried to create an event group. Bute I ran into a problem while including d3d11_1.h header file . I copied the header to my include directory in June 2010 SDK's include file. But the following error pops up.
1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgi1_2.h(1271): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgi1_2.h(1271): error C2143: syntax error : missing ',' before '*'
1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgi1_2.h(1275): error C2061: syntax error : identifier 'DXGI_RGBA'
I am have also copied over dxgi1_2.h in the include directory . What is causing this problem ? Is it a conflict problem ? Can any one give me any pointer on how to create this event group ?
The error was due to the header orders, you placed the DirectX headers before windows headers, so some types defined in windows.h was not visible when the compiler process directx headers.
You should include windows.h in prior to the direct3d headers.
#include <windows.h>
#include <d3d11_1.h>
...

Linker error "contains invalid OMF record"

In C++ Builder when I compile I get
[ilink32 Error] Error: 'C:\PATH\TO\A\LIB\INCLUDED\IN\THE\PROJECT\ALIBRARY.LIB' contains invalid OMF record, type 0x21 (possibly COFF)
When I convert .lib with utilities coff2omf, new lib looses significant functions.
C++Builder cannot use .lib files from other compilers, only its own.
If the .lib file is an import lib for a DLL, use C++Builder's command-line IMPLIB tool to create a new .lib file from the DLL directly.
If the .lib file is a static library (containing actual code), C++Builder's command-line COFF2OMF tool MAY be able to convert the library, but it is not guaranteed. It really depends on what kind of code the library is actually using. If the conversion is not possible, you will have to wrap the .lib file into a DLL that is written in the same compiler that created the .lib file. Then you can use the DLL in C++Builder.
I was facing the same issue. I have used the tool COFF2OMF to covert the existing lib files to make them compatible with C++Builder. It works for me.
Syntax:
..Embarcadero/../bin> COFF2OMF libssl.lib alibssl.lib
..Embarcadero/../bin> COFF2OMF libcrypto.lib alibcrypto.lib
Renamed the converted files and placed them in the required location.

Resources