Anoncoin / oldrepo-backup

Old repo, keept for issues. Use "anoncoin" which don't link back to litecoin and suggests PR to be merged there.
https://anoncoin.net
MIT License
66 stars 32 forks source link

i2psam isnt being build by qmake #23

Open yhaenggi opened 10 years ago

yhaenggi commented 10 years ago

i2psam isnt being build if you compile with anoncoin-qt.pro as there is no target for it, hence qmake wont build it.

anoncoin-qt.pro should include build target for i2psam/i2psam.pro and build it before trying to build anoncoin-qt

TvL2386 commented 10 years ago

+1

GroundRod commented 9 years ago

K1773R - Can understand that you want to use QMake to build anoncoin-qt executables. However I don't use qmake, nor have had the time to keep it updated for v9 core code. I use Code::Blocks for an integrated IDE with all our development files, but run 'make' to build, and debugging is pretty much on the fly. Would like to get setup at some point with a fully interactive debugger, but others here prefer Eclispe as that IDE, so many options.

It has been a huge battle getting our 'depends' builder operational for cross-platform targeted and semi-deterministic toolchain construction. Atm can not confirm that we can even build without it, simply so many combinations of dependancies out there to pick from, supporting them with our current autotools & make build process is still only theoretically possible... lun, cs & I all build with prefixes on our configure line, pointing to the prebuilt toolchain we need for boost, openssl, dbd 4.8, qt and the many other libraries, all nailed down to a specific version. So little testing has been done without it.

If you can figure out how to update our QMake pro file and get it to compile and link with that, or whatever you have installed on your distro, I for one, would really appreciate that commit & the updated build option added.

It's just like another issue on here though, asked by Gnosis, whom wants gitian builds working, I can only do so much right now, keeping all these various build setups, has not been a priority, nor likely to be in the near future. If someone were to ask me to also support Visual Studio builds, I'd have to say the same, it can become a career move trying to support them all.

Building v9 core wallets is no longer simply an anoncoin-qt executable to me, it is only one of many programs our current builder is creating, from unit tests to bootstrap.dat files, command line utilities & win setup installers, mac deployment packages, and soon a working deployment package wrapper for linux, in the various flavors such as anoncoinv9.deb and .rpm format, which means a Ubuntu ppa is only a few keystrokes away. The old wallet code is scattered now across a vast number of repos and websites, we need to give those folks a simple and easy upgrade path....

When that is done, I would like to learn more about and use QMake for various projects, perhaps anoncoin-qt will be one of them, but assigning me this task atm, is not likely to produce any results, perhaps you or someone else reading this can send in a pull request to make that happen.

GR

yhaenggi commented 9 years ago

the problem was, that libi2psam.so wasnt build from the qt.pro file. hence you had to build it manually by running make inside i2psam/ or by using the makefile.unix in the src/. the build system has to build libi2psam.so before anything tries to link to it, i dont care how it is done ;)