Comments (42)
Hi,
Sorry for that, sw is now reorganizing a bit, so this functionality was turned off for some time.
I'll try to turn on it back and ping you here.
from sw.
I will wait. Thank you.
from sw.
Hopefully fixed in 08d8b64
(test from https://github.com/SoftwareNetwork/sw/tree/b0.3.0/test/integrations works for me now)
Please, try it and report any issues.
Run sw --self-upgrade
to update sw client.
from sw.
I have tested it. Now i got this error:
Exception in file D:\dev\cppan2\client\src\sw\builder\command.cpp:616, function execute1: When executing: "[org.sw.demo.google.tesseract.libtesseract-master]/[config]"
C:/Users/zumm/.sw/storage/pkg/1d/13/e4d8/src/sdir/sw.cpp(70): error C2039: 'Settings': is not a member of 'sw::Build'
C:\Users\zumm.sw\storage\pkg\56\25\3e4e\src\sdir\src\sw\driver\build.h(232): note: see declaration of 'sw::Build'
Exception in file D:\dev\primitives\src\command\src\command.cpp:772, function execute1: command failed: "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.20.27508\bin\Hostx64\x64\cl.exe" "@C:\Users\zumm\AppData\Local\Temp\sw\sw.client.sw\rsp\3ad5-506d-7bff-80ba.rsp", exit code = 2
Exception in file D:\dev\cppan2\client\src\sw\builder\command.cpp:616, function execute1: When executing: "[org.sw.demo.danbloomberg.leptonica-1.78.0]/[config]"
C:/Users/zumm/.sw/storage/pkg/db/d8/73b6/src/sdir/sw.cpp(46): error C2039: 'Settings': is not a member of 'sw::Build'
C:\Users\zumm.sw\storage\pkg\56\25\3e4e\src\sdir\src\sw\driver\build.h(232): note: see declaration of 'sw::Build'
C:/Users/zumm/.sw/storage/pkg/db/d8/73b6/src/sdir/sw.cpp(52): error C2039: 'Settings': is not a member of 'sw::Build'
C:\Users\zumm.sw\storage\pkg\56\25\3e4e\src\sdir\src\sw\driver\build.h(232): note: see declaration of 'sw::Build'
C:/Users/zumm/.sw/storage/pkg/db/d8/73b6/src/sdir/sw.cpp(67): error C2039: 'Settings': is not a member of 'sw::Build'
C:\Users\zumm.sw\storage\pkg\56\25\3e4e\src\sdir\src\sw\driver\build.h(232): note: see declaration of 'sw::Build'
C:/Users/zumm/.sw/storage/pkg/db/d8/73b6/src/sdir/sw.cpp(67): error C2039: '__this': is not a member of 'sw::Build'
C:\Users\zumm.sw\storage\pkg\56\25\3e4e\src\sdir\src\sw\driver\build.h(232): note: see declaration of 'sw::Build'
Exception in file D:\dev\primitives\src\command\src\command.cpp:772, function execute1: command failed: "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.20.27508\bin\Hostx64\x64\cl.exe" "@C:\Users\zumm\AppData\Local\Temp\sw\sw.client.sw\rsp\2d48-3d10-608d-7acf.rsp", exit code = 2
from sw.
I think you need to set -master
branch for tess in your cmake:
set(DEPENDENCIES
org.sw.demo.google.tesseract.libtesseract-master
)
from sw.
Yes, it with master. I had another error without that.
from sw.
Oh, I see. Working on it.
from sw.
Ok, I've tested your example, fixed some issues. Now you could try it again.
Update the client before you go (sw --self-upgrade
).
from sw.
There is new error:
Exception in file D:\dev\cppan2\client\src\sw\driver\module.h:56, function operator (): error in module (C:/Users/zumm/Projects/CPP/untitled/cmake-build-debug/.sw/cmake/.sw/cfg/50eea5/loc.sw.self.0455d1-local.dll): org.sw.demo.tiff-4.0.10: tiff: no type
from sw.
Ok, I saw this from some user earlier, but cannot repro locally. I've added more specific error message for libtiff, so re-run please, and send me new error.
from sw.
Exception in file D:\dev\cppan2\client\src\sw\driver\module.h:56, function operator (): error in module (C:/Users/zumm/Projects/CPP/untitled/cmake-build-debug/.sw/cmake/.sw/cfg/50eea5/loc.sw.self.0455d1-local.dll): org.sw.demo.tiff-4.0.10: Exception in file C:/Users/zumm/.sw/storage/pkg/9e/48/3628/src/sdir/sw.cpp:104, function build_2639134887917130854: no type
from sw.
Thank you.
Try to delete C:/Users/zumm/.sw/storage/etc/sw/checks
dir and try again.
from sw.
Yes, it works. I did successfully build test project. But still can't build main project with this deps:
org.sw.demo.google.tesseract.libtesseract-master
org.sw.demo.intel.opencv.imgproc-4.1.0
org.sw.demo.intel.opencv.highgui-4.1.0
There is that error:
NMAKE : fatal error U1073: don't know how to make 'C:\Users\zumm.sw\storage\pkg\57\05\4062\obj\bld\bdabf0\lib\org.sw.demo.openexr.config-2.3.0.lib'
Don't sure that error still related with subject issue.
from sw.
Ok, I'll check!
from sw.
Works for me now. Try it.
Don't forget to update sw client and report any further issues!
from sw.
Now i got this:
Exception in file D:\dev\cppan2\client\src\sw\builder\command.cpp:610, function execute1: When executing: "[org.sw.demo.intel.opencv.highgui-4.1.0]/[config]"
C:\Users\zumm.sw\storage\pkg\56\25\3e4e\src\sdir\src\sw\driver\command.h(490): error C2664: 'void sw::driver::<<::<lambda_57e53cf0ab945c573462386e144ce459>::operator ()(const String &) const': cannot convert argument 1 from 'const T' to 'const String &'
with
[
T=gen_protobuf::<lambda_bea51bf6ad27b6df4fef63736ba57a04>
]
C:\Users\zumm.sw\storage\pkg\56\25\3e4e\src\sdir\src\sw\driver\command.h(490): note: Reason: cannot convert from 'const T' to 'const String'
with
[
T=gen_protobuf::<lambda_bea51bf6ad27b6df4fef63736ba57a04>
]
C:\Users\zumm.sw\storage\pkg\56\25\3e4e\src\sdir\src\sw\driver\command.h(490): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\zumm\.sw\storage\pkg\38\bc\eb55\src\gen\pkg_header_3010d9.h(34): note: see reference to function template instantiation 'sw::driver::CommandBuilder &sw::driver::operator <<<gen_protobuf::<lambda_bea51bf6ad27b6df4fef63736ba57a04>>(sw::driver::CommandBuilder &,const T &)' being compiled
with
[
T=gen_protobuf::<lambda_bea51bf6ad27b6df4fef63736ba57a04>
]
Exception in file D:\dev\primitives\src\command\src\command.cpp:791, function execute1: command failed: "C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.20.27508/bin/Hostx64/x64/cl.exe" "@C:\Users\zumm\AppData\Local\Temp\sw\sw.client.sw\rsp\5d5a-2c83-2b4d-bcc0.rsp", exit code = 2
from sw.
Oh, yes, sorry. I did not update deps.
Try again in 5-15 mins.
from sw.
There is old error again:
Exception in file D:\dev\cppan2\client\src\sw\driver\module.h:56, function operator (): error in module (C:/Users/zumm/Projects/CPP/untitled/cmake-build-debug/.sw/cmake/.sw/cfg/50eea5/loc.sw.self.0baeaf-local.dll): org.sw.demo.tiff-4.0.10: Exception in file C:/Users/zumm/.sw/storage/pkg/9e/48/3628/src/sdir/sw.cpp:104, function build_2639134887917130854: no type
sw command: C:/Windows/SW.exe -shared -platform x86 -d C:/Users/zumm/Projects/CPP/untitled/cmake-build-debug/.sw/cmake integrate -cmake-deps C:/Users/zumm/Projects/CPP/untitled/cmake-build-debug/.sw/cmake/sw.txt
I have tried to delete .sw folder (as last time), but at this time it didn't help.
from sw.
I have tried to delete .sw folder (as last time), but at this time it didn't help.
This one C:/Users/zumm/.sw/storage/etc/sw/checks
?
from sw.
Whole folder C:/Users/zumm/.sw/ was deleted.
Tried to delete only C:/Users/zumm/.sw/storage/etc/sw/checks right now, but this didn't help too.
from sw.
Could you send me your C:/Users/zumm/.sw/storage/etc/sw/checks
dir?
from sw.
Ofc.
checks.zip
from sw.
For some reason checks are not passing on your system.
To investigate please do following:
- Delete C:/Users/zumm/.sw/storage/etc/sw/checks
- Run after failed cmake command:
C:/Windows/SW.exe --trace --print-checks -shared -platform x86 -d C:/Users/zumm/Projects/CPP/untitled/cmake-build-debug/.sw/cmake integrate -cmake-deps C:/Users/zumm/Projects/CPP/untitled/cmake-build-debug/.sw/cmake/sw.txt > swlog.txt
- Send me checks dir and
swlog.txt
file.
from sw.
Also maybe you could try to update to the latest VS16.1? Seems now you have VS16.0.
from sw.
Oh, i have updated to 16.1.2 and it finally works. Thanks you for help!
Now i will try to publish some another deps to use only SW in this project. Is it ok if i publish third party (i'm not author of it) library?
And also one more question about SM and CMake. CPPAN has CPPAN_BUILD_OUTPUT_DIR option to control dll output. Has SW something like that? I want to get rid "Debug/Release" folders for dll output.
from sw.
Now i will try to publish some another deps to use only SW in this project. Is it ok if i publish third party (i'm not author of it) library?
Completely fine.
I want to get rid "Debug/Release" folders for dll output.
I see.
So, you generate NMake project and you need dlls to be near exe?
This is just SW issue at the moment. I'll fix it.
from sw.
Can you notify me when this issue is fixed please?
from sw.
Done.
- Upgrade sw -
sw --self-upgrade
- Run setup again -
sw setup
from sw.
Thank you again!
from sw.
Oh, seems like this issue still not solved. I'm trying to build release version of project, but there is this:
error:
[2119/2909] generate: "C:/Users/zumm/.sw/storage/pkg/c8/65/6faa/obj/bld/cf4317/bd/b44ExpLogTable.h"
Exception in file D:\dev\cppan2\client\src\sw\builder\command.cpp:610, function execute1: When executing: generate: "C:/Users/zumm/.sw/storage/pkg/c8/65/6faa/obj/bld/cf4317/bd/b44ExpLogTable.h"
Exception in file D:\dev\primitives\src\command\src\command.cpp:791, function execute1: command failed: "C:/Users/zumm/.sw/storage/pkg/24/43/9af2/obj/bld/cf4317/bin/org.sw.demo.openexr.b44ExpLogTable-2.3.0.exe", exit code = 3221225781 (0xC0000135)
It isn't happening when i build debug version.
from sw.
Hm, i did delete sw folder and try to build debug version again. Same error.
Seems like some deps update broke it.
from sw.
Could you run "C:/Users/zumm/.sw/storage/pkg/24/43/9af2/obj/bld/cf4317/bin/org.sw.demo.openexr.b44ExpLogTable-2.3.0.exe"
in cmd? What does it say?
I'll check the issue, but last time I tried including opencv libs, it worked fine for me.
from sw.
That exe needs org.sw.demo.openext.ilmbase.Half-2.3.0.dll to run.
from sw.
I see. Ok, I'll check.
from sw.
It seems it's a long standing issue. I also experience it in different places.
It will be fixed only with the next major update.
from sw.
So there is no way to build it with sw now, right? Sad.
I will waiting for major update then.
from sw.
It is working, if you run sw build org.sw.demo.google.tesseract.libtesseract-master
for all your deps.
org.sw.demo.intel.opencv.imgproc-4.1.0
org.sw.demo.intel.opencv.highgui-4.1.0
The bug is that sw mistaking debug/release configs. So if you do not invoke command before it might fail.
from sw.
All of deps passed fine with this command, but building of project is still failing with same error.
from sw.
Try again those commands but now with config option:
sw -config d,r,rwdi,msr build YOUR_DEPENDENCY_NAME
And then your cmake build.
from sw.
Unfortunately, it didn't help. :(
from sw.
Ok, I'll ping when new version is ready (it is almost actually).
from sw.
Should be ok now, update client and try again.
Feel free to reopen.
from sw.
Related Issues (20)
- Error compiling for iOS arm64 from macOS arm64 HOT 55
- Exception when executing: sw build org.sw.demo.google.tesseract.tesseract HOT 1
- Can't build podofo HOT 2
- i don't know why, HOT 3
- when I run sw build org.sw.demo.googke.tesseract -trace HOT 1
- Trying to Build tesseract - Errors from SW HOT 13
- SW is needed to build SW, server down HOT 1
- "Cannot find compiler" error in leptonica Windows build HOT 6
- No target resolved: pub.egorpugin.primitives.hash-master HOT 26
- ABSL file not found HOT 2
- swgui for Windows deprecated HOT 2
- Unknown CMake command "sw_add_package". HOT 7
- SSL connect error HOT 1
- windows tesseract build error (the error is on the SW side) HOT 2
- Tesseact 5.3.3 build issue HOT 6
- sw stuck while building tesseract HOT 2
- lua not built when adding sol2 dependency HOT 3
- CMake Error for SW: Non-zero exit code HOT 10
- sw setup failed HOT 2
- Leptonica Build error for dynamic Library HOT 6
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 sw.