Hi,
It's a little hard to tell what happened from the pictures. Could you send us the full cmake output? Also, what version of gcc and the supporting libraries are you using?
Thanks,
Zack
Hiya guys doing a little project that needs onion and running into a snag compiling onion form source on RPI2 with trusty tar..Everything looked good till 67% ish and got my SSL error... im not sure how to exactly disable it in the .txt i have gcrypt and gnutls installed but i dont need SSL anyhow... I was able to disable it but had to remove examples also... so i think i did it incorrectly that also halted compile in the 85% area.... any help be much appreciated maybe i forgot a dependency but i thought i did them all...
--
You received this message because you are subscribed to the Google Groups "onion-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onion-dev+...@coralbits.com.
To post to this group, send email to onio...@coralbits.com.
Visit this group at https://groups.google.com/a/coralbits.com/group/onion-dev/.
For more options, visit https://groups.google.com/a/coralbits.com/d/optout.
Hi,
In the first screenshot looks like its missing #include <onion/log.h> at that file. Maybe in our builds its getting it transitively from another file...
I will try to have a better look later and push changes.
The second looks like it depends on examples for the tests, but should not.
If you just want to compile, disable tests too, or try to fix the first error and maybe it will finish compiling examples and tests.
Regards,
david
David,
Are you sure? It's not finding ONION_WARNING when trying to compile the line ONION_WARNING ("Please compile with gnutls...
To me that looks like cmake didn't find gnutls. As for the second build attempt, it looks like he fixed it, but the cmake cache is probably in some indeterminate state. However, it's hard to tell without something more descriptive than photos. What would be best for troubleshooting would be the CMakeOutput.log file from the CMakeFiles directory in his build folder.
Zack
The error says ONION_WARNING was not declared in this scope.
The rest is what the warning is supposed to say, that no https is compiled in.
I will check later to compile without gnutls, but almost sure it's that in that place...
The other error looks like some cmake build script bug. Expecting something that is not compiled.
Regards,
David.
Yes its working great now