Tool Native Library Generator (C/C++ to B4A)

JTmartins

Active Member
Licensed User
Longtime User
Yes it does. Already working perfectly in B4A.

However I had a minor problem. Running NLG and compiling your mazesolver, it produced an SLC error.
First I thought it was because I had SLC under programfiles(x86), so I moved it to c:\b4a tools\slc and changed the path in NLG accordingly.
Same problem,
However going to workspace folder and running SLC.bat manually it did compile without problems.

The code you've changed also worked Ok, running SLC manually.

Many thanks. This is indeed an extremly usefull tool.
 

wonder

Expert
Licensed User
Longtime User
Glad to hear that!
I'll check the SLC routine.

No issues here, I'm unable to reproduce your problem.
NLG 2.71, Java 1.8.0_73, NDK r10e, SLC latest version.

EDIT: Just upgraded to NDK r11. No issues so far.
 
Last edited:

wonder

Expert
Licensed User
Longtime User

ppgirl

Member
Licensed User
Longtime User
Hi Wonder , I want add other include & library files directory to compile , How can I set it ? thanks
 

wonder

Expert
Licensed User
Longtime User
Hi Wonder , I want add other include & library files directory to compile , How can I set it ? thanks
Hello hello!

Regarding your request, I'll be releasing an update soon, which handles #include files at the most basic level. I'll release it alongside with a demonstration video.
 
Last edited:

bparent

Member
Licensed User
Longtime User

I am having a similar problem as the previous posts. I am using the nlg 2.8 jar. I get an error NDK failed to compile and to run compile.bat . When I execute this program I get path printout with the correct path for the NDK, but in quotes (in fact it shows 3 time for the 3 times I ran compile.bat). It then says ndk-build is not a command. When I run manually with SLC it compiles. Any ideas?
 

wonder

Expert
Licensed User
Longtime User

wonder

Expert
Licensed User
Longtime User
Hi!

First of all, thanks for giving my NLG a chance!!

About the error, well, let's see...
JNI conversion: OK
NDK compilation: OK
SLC build: FAILED

I see that you're using NDK 12, correct?

Now... ICSharpCode? I've never seen that name, file or library in my life.
I'll do some googling and get back to you.
 

wonder

Expert
Licensed User
Longtime User


No issues with NDK 11... I'll download v12 and give it a try.

By the way r11 stands for RELEASE 11, while 12b stands for 12 BETA.
It's possible that the latest version isn't stable yet...
 
Last edited:

wonder

Expert
Licensed User
Longtime User
Alberto, can you please download UltraSearch (freeware), search for ICSharpCode.SharpZipLib and post a screenshot?

http://www.jam-software.com/ultrasearch/



@Erel, should the ICSharpCode.SharpZipLib.dll version be the same in B4A, B4J and SLC?
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…