Comments (9)
i will try out the suggestions from simon to build core with the PR from link2xt
yeah, that works out. i am in business again :) thanks a lot for help, i would have no chance to build desktop without your help 🙏
from deltachat-desktop.
deltachat-node has no arm/m1 prebuild, so it is always built. the "linking" to node step somehow fails for you, it looks like a nodejs header problem. For me node 18.18.2
worked.
Anyways might be easier to figure this issue out with a local core, so:
- delete
node_modules
folder - checkout core repo, run
npm run build
in both repo-root folder anddeltachat-jsonrpc/typescript/
- run
npm i ../deltachat-core-rust ../deltachat-core-rust/deltachat-jsonrpc/typescript
in desktop repo (path should point to your core checkout)
deltachat-desktop/docs/UPDATE_CORE.md
Lines 47 to 55 in 2ac3deb
from deltachat-desktop.
This change seems to fix the problem in my case: deltachat/deltachat-core-rust#5489
I tried on macOS with node 20 installed via nix profile install nixpkgs#nodejs
.
from deltachat-desktop.
Probably prebuild for the used core was not uploaded to npm.
EDIT: seems to be uploaded already :/
from deltachat-desktop.
i also tried over with node 18 - similar issue:
EDIT: also same with node 20
from deltachat-desktop.
Similar issue: balena-io/balena-cli#2721
from deltachat-desktop.
@r10 What is your output of cc --version
?
In my case problems happen with:
Apple clang version 15.0.0 (clang-1500.3.9.4)
Target: arm64-apple-darwin23.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
It seems part of the problem is new clang
which treats -Wincompatible-function-pointer-types
as error by default.
from deltachat-desktop.
I have reproduced it with Node 18 and Xcode 15.3 in CI on macos-14 runner (macos-latest does not have Xcode 15.3): https://github.com/deltachat/deltachat-core-rust/actions/runs/8791852121/job/24126899012?pr=5488
Fix is at deltachat/deltachat-core-rust#5489
from deltachat-desktop.
@Simon-Laux , @link2xt , @adbenitez thanks a lot for help! ❤️ i will try out the suggestions from simon to build core with the PR from link2xt.
but please do not let that block things and go forward to merge and do whatever is needed :)
EDIT: @link2xt cc --version
shows the same for me:
Apple clang version 15.0.0 (clang-1500.3.9.4)
Target: arm64-apple-darwin23.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
and, yes, iirc, there was an xcode update
from deltachat-desktop.
Related Issues (20)
- Reaction selection dialogue closes unexpectedly when a new message comes HOT 1
- reaction chooser does not vanish after reacting HOT 3
- Typing a multi-line message makes chat scroll up (then you have to scroll to see new messages) HOT 2
- Clicking notification doesn't bring Delta Chat to foreground on Windows HOT 3
- portable / Windows Desktop: ADD AS SECOND DEVICE fails HOT 1
- slow mapbox startup time HOT 1
- Delete lastSelectedChatId when the chat is deleted
- Composer view doesn't show the line with the cursor if you add too many new lines
- issues with the new menus
- Switching accounts re-renders everything visibly including sidebar
- Archived chatlist not loading properly HOT 1
- Replace `Spinner` from Blueprint with own component
- message when following an invitelink is misleading HOT 1
- The account management sidebar does not follow colour scheme HOT 1
- Selected image can not be displayed when src is `file://` HOT 2
- DCLOGIN broken when logged in
- Help does not open for missing languages
- MacOS: borderless window is not moveable in welcome screen
- quoted messages with single emoji as text look too big
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deltachat-desktop.