Closed tstarker closed 6 years ago
Why are you trying to build the project? Did you make any changes to code?
If not, use maven/gradle and download the artifact. There were just few changes made after last version 3.13.0, was created.
I never built the binaries myself, I did port project to use java5 in the past, and even then I didn't recompile the binaries, I just compiled java code and added all binaries supplied into jar file.
Ah, I see, thanks. As I said, I never used gradle/maven in the past, never knew that you could download the project already built, so I thought I'd need to compile it to use. I was simply following the readme instructions.
Hello, Sorry for the clutter/mess/english.
I was trying to run "make windows" on windows 7, but it has been a bit hard to make it work:
I'm most sure there's must be an easier way to do this, but I'm not used to gradle or make, just java programming.
I've had to install gradle and followed the readme on installing the tdm-gcc, here's what I needed to do to get a successful build:
I've saw a strange directory there, "D:/java-32/jdk1.7.0_25/include" , I've decided to download latest jdk 1.7 and put it in the same location it's asking for, "D:/java-32/jdk1.7.0_25/", so I ran into a different error this time:
So, I've created the "build" folder: G:/nfc/commlib/nrjavaserial/src/main/c/build
Then, ran the command again, this time got a bit of compilation warnings, and at the end: (full log: https://pastebin.com/V3fqs1FT)
So, I've decided to install tdm-gcc-32, and it finally worked, "BUILD SUCCESSFUL".
My question is, am I missing something basic there? Some basic concept perhaps? I had to create directories and install gradle, tdm-gcc-64 and tdm-gcc-32, and also instal jdk 1.7 on the directory it was being shown, but is there a simpler way of compiling it next time without needing to do all of these workarounds? (creating directory, installing on specific folder)
PS: I'm mostly sure that "make windows" should be run on windows only, because I tried to run it in ubuntu and got
PS2: Just reporting, I also tried to run "make wine" on ubuntu 16.04 and got: