Comments (17)
You should get actual linker flags from swiften-config
output and should not link Swiften_Boost explicitly
from swift.
I HAVE used the actual linker flags, but Swiften_Boost was not built.
from swift.
It is intended, linker flags will have references to system boost in this case
from swift.
Yeah, but my system had no Swiften_Boost, it only had Boost and Swiften_Boost was not builded.
from swift.
What does the scons config output look like?
from swift.
@LNJ2 if you have uninstalled system boost, then you need to rebuild Swiften, scons
will re-check Boost presence and will enable building and linking bundled boost copy
from swift.
Just to clarify: Everything is working for me
I just want to say that when the boost packages are installed on my system, it won't build Swiften_Boost.
I have removed the libboost packages from my system and then Boost and SwiftenBoost were built.
Just install libboost-all-dev
(on debian sid) and you will get the same as I had.
from swift.
@vitalyster I know I have to rebuild it.
from swift.
@LNJ2 building bundled boost is a "last resort" when scons is unable to find system one
No need to have multiple copy of boost libraries in most cases
from swift.
@vitalyster You might wonder, but I also know that.
from swift.
@LNJ2 So what is the actual issue here? The build of Swiften fails if only some boost dependencies are installed?
from swift.
@tfar Why is scons (or whatever) not building Swiften_Boost, if this part is missing?
from swift.
@LNJ2 your actual problem still isn't clear. scons
checks at configure time presence of boost and prefer system one, it shouldn't build Swiften_Boost when system one is present, it's by design.
from swift.
Hi there,
To check that I understand your problem correctly:
- You have your own application that uses libSwiften
- You compiled Swiften on a system that has the system Boost installed
- Building Swiften did not generate libSwiften_Boost
- Your application failed to link, because your build system tries to link against libSwiften_Boost.
(And then you uninstalled the system Boost, rebuilt Swiften, it built libSwiften_Boost, and your build system was happy)
Is that right?
from swift.
@Kev That's exactly what I did (to be exact, someone else of my 'team' created the project and I tried to build it).
I think I can understand you now ... libBoost and libSwiften_Boost are the same, but have different names? (I thought that Swiften_Boost would be something like an 'extension' for Boost ...)
from swift.
Yes, Swiften_Boost is the name of the boost library if Swift has to compile it.
You should run Swiften's swiften-config tool as part of your build system, which will tell you which libraries need to be linked in for the particular way Swiften's been built on that machine.
In your case, it would have told you the system Boost libraries that were used and needed to be linked, and wouldn't have said Swiften_Boost.
Closing this as I think it's clear at this point that the bug isn't in Swiften.
from swift.
Sorry and Thank you guys. :)
from swift.
Related Issues (20)
- swift organisation name discussion HOT 1
- Bundles vulnerable copy of Expat - please update to 2.2.7 HOT 6
- XML StreamError (Swift::ClientError::Type) on <footag> in element content. HOT 2
- Swiften won't connect to the XMPP server with TLS enabled, but without StartTLS HOT 4
- documentation HOT 1
- Chat History HOT 2
- APT Release key expired? HOT 4
- [Feature] Add OMEMO v>0.5.0 (omemo:1) support for End-to-end crypto HOT 3
- Cannot build 4.0.3 with clang
- Closed
- Emojis on MacOS 10.15.6 are broken
- Feature request: initiate file transfer from clipboard (paste)
- Crash after process TLS HOT 6
- `boost` errors on FreeBSD HOT 1
- πΎππππ
- Your package signing keys are expired. HOT 1
- Deleted
- SConscript.boot uses $HOME -- but it is not guarenteed to be there nor accessible.
- Swift 6.0 HOT 1
- Status of the project HOT 2
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 swift.