Comments (3)
At least the dependency on swing-store-lmdb
currently prevents running on Windows natively, as importing the lmdb
module results in unresolved symbols. Venemo/node-lmdb#151 (comment) may have a fix.
SwingSet needs synchronous reads of the database in order to function. Perhaps we should use swing-store-simple
under Windows natively.
from exo.
Solved with a patch to node-lmdb
:
diff --git a/node_modules/node-lmdb/binding.gyp b/node_modules/node-lmdb/binding.gyp
index 325a9aa..fe775fc 100644
--- a/node_modules/node-lmdb/binding.gyp
+++ b/node_modules/node-lmdb/binding.gyp
@@ -7,7 +7,7 @@
"targets": [
{
"target_name": "node-lmdb",
- "win_delay_load_hook": "false",
+ "win_delay_load_hook": "true",
"sources": [
"dependencies/lmdb/libraries/liblmdb/mdb.c",
"dependencies/lmdb/libraries/liblmdb/midl.c",
@@ -58,7 +58,21 @@
}
}],
["OS=='win'", {
- "libraries": ["ntdll.lib"]
+ "libraries": ["ntdll.lib"],
+ "configurations": {
+ "Release": {
+ "msvs_settings": {
+ "VCLinkerTool": {
+ "AdditionalOptions": [
+ "/LTCG:OFF"
+ ]
+ },
+ "VCCLCompilerTool": {
+ "WholeProgramOptimization": "false"
+ }
+ }
+ }
+ }
}],
["use_fixed_size=='true'", {
"defines": ["MDB_FIXEDSIZE"],
from exo.
Agoric/agoric-sdk#2494 plus current Pledger is enough to get working under Windows.
from exo.
Related Issues (8)
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 exo.