Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement setupCan in openblt_jni.cpp #6358

Open
rusefillc opened this issue Apr 12, 2024 · 2 comments
Open

implement setupCan in openblt_jni.cpp #6358

rusefillc opened this issue Apr 12, 2024 · 2 comments

Comments

@rusefillc
Copy link
Contributor

static bool setupCan(JNIEnv* env, jobject jCallbacks) {
	Callbacks cb(env, jCallbacks, "Setup CAN", false);

	cb.error("CAN not supported yet!");
	return false;
}
rusefillc pushed a commit that referenced this issue Apr 13, 2024
rusefillc pushed a commit that referenced this issue Apr 13, 2024
only: well at least it compiles
@rusefillc
Copy link
Contributor Author

HOWTO compile b3e552a

JNI CAN progress 4fda062

my DLL is somehow 60K while existing one is 10K

and execution phase linking issues while attempting to use it

image

image

@mck1117 any ideas what I could be doing wrong here?

@rusefillc
Copy link
Contributor Author

manually replaced DynamicLibrary with StaticLibrary in all project files, .dll size went down to 30K WAT? but still same error.

how is static lib smaller than dynamic lib? how is my lib x6 times the existing .dll?

rusefillc added a commit that referenced this issue Apr 13, 2024
temporary workaround

only:small-can-board
rusefillc added a commit that referenced this issue Apr 13, 2024
only:a note that this does not work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant