Questions tagged [alchemy]

Alchemy is a research project from Adobe Systems that allows for the compilation of C and C++ code to AVM2 bytecode, so that it can be run on Flash Player or Adobe AIR. This is accomplished by an initial compilation to LLVM bytecode as an intermediate step.

Alchemy is a research project from Adobe Systems that allows for the compilation of C and C++ code to AVM2 bytecode, so that it can be run on Flash Player or Adobe AIR. This is accomplished by an initial compilation to LLVM bytecode as an intermediate step.

148 questions
0
votes
0 answers

Cannot find artifacts at some location,BLOCKCHAIN,HARDHAT

I am requiring artifacts/contracts/sol but it is giving error node:internal/modules/cjs/loader:936 throw err; ^ Error: Cannot find module 'artifacts/contracts/ManufactureProductDetails.sol/ManufactureProductDetails.json' Require…
0
votes
1 answer

Something went wrong CONNECTION ERROR: Couldn't connect to node https://eth-rinkeby.alchemyapi.io

Error: CONNECTION ERROR: Couldn't connect to node https://eth-rinkeby.alchemyapi.io/v2 at Object.ConnectionError (D:\QaptaInc-BLCH-V4\backend\node_modules\web3-core-helpers\lib\errors.js:66:23) at Object.InvalidConnection…
Hariom
  • 1
  • 3
0
votes
0 answers

HH110: Invalid JSON-RPC response received: {"jsonrpc":"2.0","id":14} (While using matic testnet with Alchemy API)

I'm running an Alchemy node (Matic Mumbai Testnet), having already set up Hardhat in VScode with the required dependencies. However, I get this error when I try to deploy to the testnet. Here is the error I get: HardhatError: HH110: Invalid…
0
votes
1 answer

NameError: name 'create_engine' is not defined,

I am attempting to create a python script that connects to an MS SQL Studio database and using SQLAlchemy to help with this. (I am learning databases and python), but I am trying to create a connection to a new database but keep getting this…
0
votes
1 answer

Assertion failed: (LHSCst != RHSCst && "Compares not folded above?")

I'm trying to compile ICU v4.8.1 with Alchemy, but am running into an LLVM problem: Assertion failed: (LHSCst != RHSCst && "Compares not folded above?"), function visitAnd, file…
paleozogt
  • 6,393
  • 11
  • 51
  • 94
0
votes
0 answers

FundMe contract doesn't deploy in my mainnet-fork-dev network in Brownie + Alchemy

I've been learning Solidity on the Free Code Camp 16 hour course - and stuck with the following problem: I created fork of Ethereum Mainnet in Brownie using Alchemy: brownie networks add development mainnet-fork-dev…
0
votes
1 answer

using alchemy generated swc in Flash CS4

I've gone over the Alchemy quick start guide and exported my stringecho.swc successfully, but I don't want to compile in Flex. I just don't know Flex and I'm not very keen on learning it all of a sudden. I tried to do my business in Flash, instead,…
evilpenguin
  • 5,448
  • 6
  • 41
  • 49
0
votes
1 answer

Adobe Alchemy returning C data structures

I have lexer/parser (Generated from an ANTLR grammar file) which (for performance reasons) I have compiled to C code which will be included into my actionscript project using Adobe Alchemly. The parser will generate an abstract syntax tree (In C)…
Richard Walton
  • 4,789
  • 3
  • 38
  • 49
0
votes
3 answers

How to compile ffmpeg via Alchemy gcc?

So I created ffmpeg configuration file that makes it pure C (platform independent, but only theoretically) So my config is simple (0.6.1,0.6.3 tested): ./configure --disable-doc --disable-ffplay --disable-ffprobe --disable-ffserver …
Rella
  • 65,003
  • 109
  • 363
  • 636
0
votes
1 answer

Convert Little-endian ByteArray to Big-endian in AS3

How to convert Little-endian ByteArray to Big-endian in AS3? I convert bitmapData to Big-endian ByteArray and then push it into memory with Adobe Alchemy. And then when i read it from memory i get Little-endian ByteArray. How to get Big-endian. I…
EthanHunt
  • 473
  • 2
  • 9
  • 19
0
votes
2 answers

Adobe alchemy and dllimport

Is it possible to connect c++ dll to .c file (with dllimport or something else) and convert it to .swc with adobe alchemy? If it does - how to do that?
EthanHunt
  • 473
  • 2
  • 9
  • 19
0
votes
1 answer

How to display video in/with Adobe Alchemy?

I want to display a video from a not supported USB camera in Air (or Flash). There is a SDK (of the camera) to display the video stream. My question: How should the C/C++ routine build to compile it with Adobe Alchemy? I want only to display the…
Damian
  • 219
  • 5
  • 14
0
votes
1 answer

Flash Alchemy built .swc library too small and missing functions

I can modify and compile the SDK's stringecho.c example for AS3 use no problem. For my own app, I compile with g++ a few dozen files successfully and link: g++ -swc -o myApp.swc glue.o demo.o obj1.o obj2.o obj3.o I do get a myApp.swc, but it's…
user703047
  • 151
  • 1
  • 1
  • 4
0
votes
1 answer

Does the adobe 'Alchemy' support the posix pthread library?

When I use pthread_create function create a thread in the c code, it fails. But, the pthread.h in the avm2-lib directory is declared pthread_* functions. I want to know whether the 'Alchemy' support thread.
noar
  • 73
  • 2
  • 5
0
votes
1 answer

Compiling libJPEG with Alchemy (-swc)

I have tried for a few days to compile -swc with -ljpeg but have not had any luck. Here is what i have been doing. in my jpeg_sample_linker.c, it has two headers #include "AS3.h" #include //or #include "jpeglib.h" and the rest of the…
Gary
  • 1
  • 2