Sorry guys. The sword/examples/classes folder assumes you have some
version of sword installed. regardless, the only file the test program
needs is sword/include/sysdata.h. Just compile it however you'd like
and copy sword/include/sysdata.h to the current folder (and change the
<> to "" in the include statement if necessary.
On 08/24/2014 08:39 AM, Stefan Husmann wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am 24.08.2014 um 17:04 schrieb Troy A. Griffitts:
Hi Stefan,
Could you run this program on your system and then tell me the output:
(the sword/examples/classes folder has an appropriate Makefile to build against sword
if you want to drop it in that folder and then type: make <your filename>.cpp)
#include<sysdata.h>
#include<stdio.h>
int main(int argc, char **argv) {
printf("%ld\n", sizeof(__u64));
return 0;
}
On 08/24/2014 04:54 AM, Stefan Husmann wrote:
Hello,
I have problems compiling sword in revision 3249 under Arch Linux 64 bit both
using clang++ or g++.
Switching off xz (configure option --without-xz) solves the issue.
I attach the two compile logs, hope it is okay to do so.
Best Regards
Stefan
_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page
_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page
Hello,
sure, I get this:
[haawda@frege ~]$ LANG=C g++ how_big_is_u64.cpp -o how_big_is_u64.o
how_big_is_u64.cpp:1:20: fatal error: sysdata.h: No such file or directory
#include<sysdata.h>
^
compilation terminated.
[haawda@frege ~]$ LANG=C clang++ how_big_is_u64.cpp -o how_big_is_u64.o
how_big_is_u64.cpp:1:9: fatal error: 'sysdata.h' file not found
#include<sysdata.h>
^
1 error generated.
Best Regards
Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBAgAGBQJT+gc3AAoJEFB4KGhvDRgLPMUH/isUBHN2bjcpcQXRR0nvPcYw
vitWjpljsYIHpDZXrHBKxRGqFm7SiE8uuFsTjf7KazKi9zSESt50dgN1pUw/dUap
os5XZoSF48keFd8dwN7Qu6k7r7R2qaX9/qfVB4hcVJDvyTEghhodFbN2bHGXH1AL
WSsdYteR31/lLD7wdQHcCD6uUQMGxXR+ArBH0/89BwrRcCAYF8o3jBaRhlUcOBIZ
NOr/wshvlAdEEG2Q1x2FiyWjdoMIDedK9x2NTTw5yu6tCtCwxLPf1ixqzZM/tv8T
2m+dmOxAMf70Ygyea3pwU7xmeExN7izQ0YcZBOBqL/6vRjjZAAbM9xblXKTh7CY=
=SbbG
-----END PGP SIGNATURE-----
_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page
_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page