Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Anonymous's avatar
Anonymous
7 years ago

Anyone ever tried via Visual Studio and its tools ?

Ok I am maybe going to do "a big mistake" but at this point - fed up with Android Studio on Windows and trying to get it work - I am going to try with whatever VS seems to have for "Android NDK development".

Has anyone ever tried this ? Tried to "port/migrate" some of the projects in there and/or just have something that runs on the Quest made in CPP native done with this ?

I don't know .. "despair" but I am going to try it and see where I get.

I feel there's not much support for CPP/NDK developers here ..

Please prove me wrong ..

Cheers.

[edit] - ok the first ever attempt with a "VS Andorid CPP project template" at least seems to compile and be uploaded in the Quest ... (*)

.. it does not do/display anything yet ...

So I'll see if I can port one of the SDK projects into the VS Envirronement ...

(*) this is much more than what my attemps with Andorid Studio, on Windows 10, got, because there I could NOR compile NOR launch anything.

As I said before it did work on Manjaro Mate Linux but not on Windows ...

[edit] - I fear I'll have to do it all in Linux ...

This is as far as I got so far :

=thread-group-added,id="i1"
GNU gdb (GDB) 7.11
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-w64-mingw32".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
=cmd-param-changed,param="pagination",value="off"
=tsv-created,name="trace_timestamp",initial="0"\n
0x0000007f88f2ee2c in syscall () from F:\VSAndroidTest\VRCubeNative\VRCubeNative\VRCubeNative.Packaging\ARM64\Debug\.gdb\libc.so
Loaded 'F:\VSAndroidTest\VRCubeNative\VRCubeNative\VRCubeNative.Packaging\ARM64\Debug\.gdb\linker64'. Symbols loaded.
Loaded '/system/lib64/libcutils.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libutils.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/liblog.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libbinder.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libnativeloader.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libandroid_runtime.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libwilhelm.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libc++.so'. Cannot find or open the symbol file.
Loaded 'F:\VSAndroidTest\VRCubeNative\VRCubeNative\VRCubeNative.Packaging\ARM64\Debug\.gdb\libc.so'. Symbols loaded.
Loaded '/system/lib64/libm.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libbacktrace.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libnativehelper.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libmemtrack.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libandroidfw.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libexpat.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libnetutils.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libui.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libgui.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libinput.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libinputflinger.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libcamera_client.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libcamera_metadata.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libskia.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libsqlite.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libEGL.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libGLESv1_CM.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libGLESv2.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libvulkan.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libETC1.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libhardware.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libhardware_legacy.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libselinux.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libsonivox.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libcrypto.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libssl.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libicuuc.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libicui18n.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libmedia.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libjpeg.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libusbhost.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libharfbuzz_ng.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libz.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libaudioutils.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libpdfium.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libimg_utils.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libnetd_client.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libradio.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libsoundtrigger.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libminikin.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libprocessgroup.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libnativebridge.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libradio_metadata.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libmemunreachable.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libelfutils.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libhwui.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libregionalization.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libstagefright.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libstagefright_foundation.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libstagefright_http_support.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libbase.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libunwind.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libstdc++.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libsync.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libpng.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libft2.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libdng_sdk.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libpiex.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libwpa_client.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libpcre.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libpackagelistparser.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libnbaio.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libspeexresampler.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libprotobuf-cpp-lite.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libRS.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libRScpp.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libdrmframework.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libmediautils.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libopus.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libstagefright_omx.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libstagefright_yuv.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libvorbisidec.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libpowermanager.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libstagefright_enc_common.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libstagefright_avc_common.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/liblzma.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libbinary_parse.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libimage_type_recognition.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libtiff_directory.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libRS_internal.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libbcinfo.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libLLVM.so'. Cannot find or open the symbol file.
Loaded '/system/vendor/lib64/libavenhancements.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libstagefright_httplive.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libmediaplayerservice.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libstagefright_wfd.so'. Cannot find or open the symbol file.
Loaded '/system/vendor/lib64/libExtendedExtractor.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libart.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libsigchain.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/liblz4.so'. Cannot find or open the symbol file.
Loaded '/system/framework/arm64/boot.oat'. Cannot find or open the symbol file.
Loaded '/system/framework/arm64/boot-core-libart.oat'. Cannot find or open the symbol file.
Loaded '/system/framework/arm64/boot-conscrypt.oat'. Cannot find or open the symbol file.
Loaded '/system/framework/arm64/boot-okhttp.oat'. Cannot find or open the symbol file.
Loaded '/system/framework/arm64/boot-core-junit.oat'. Cannot find or open the symbol file.
Loaded '/system/framework/arm64/boot-bouncycastle.oat'. Cannot find or open the symbol file.
Loaded '/system/framework/arm64/boot-ext.oat'. Cannot find or open the symbol file.
Loaded '/system/framework/arm64/boot-framework.oat'. Cannot find or open the symbol file.
Loaded '/system/framework/arm64/boot-telephony-common.oat'. Cannot find or open the symbol file.
Loaded '/system/framework/arm64/boot-voip-common.oat'. Cannot find or open the symbol file.
Loaded '/system/framework/arm64/boot-ims-common.oat'. Cannot find or open the symbol file.
Loaded '/system/framework/arm64/boot-apache-xml.oat'. Cannot find or open the symbol file.
Loaded '/system/framework/arm64/boot-org.apache.http.legacy.boot.oat'. Cannot find or open the symbol file.
Loaded '/system/framework/arm64/boot-com.oculus.os.platform.oat'. Cannot find or open the symbol file.
Loaded '/system/lib64/libandroid.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libcamera2ndk.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libGLESv3.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libjnigraphics.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libmediandk.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libmediadrm.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libOpenMAXAL.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libOpenSLES.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libwebviewchromium_plat_support.so'. Cannot find or open the symbol file.
Loaded '/system/vendor/lib64/libossdk.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libosutils.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libovrion.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libwakeword.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libkwsengine.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libtelemetry.so'. Cannot find or open the symbol file.
Loaded '/system/vendor/lib64/libOmxCore.so'. Cannot find or open the symbol file.
Loaded '/system/vendor/lib64/libOmxVdec.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libqdutils.so'. Cannot find or open the symbol file.
Loaded '/system/vendor/lib64/libcodecmanagerclient.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libqdMetaData.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libqservice.so'. Cannot find or open the symbol file.
Loaded '/system/vendor/lib64/libOmxVenc.so'. Cannot find or open the symbol file.
Loaded '/system/vendor/lib64/libc2dcolorconvert.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libOmxVpp.so'. Cannot find or open the symbol file.
Loaded '/system/vendor/lib64/libmm-omxcore.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libvpplibrary.so'. Cannot find or open the symbol file.
Loaded '/system/vendor/lib64/libvpphvx.so'. Cannot find or open the symbol file.
Loaded '/system/vendor/lib64/libadsprpc.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libmve.so'. Cannot find or open the symbol file.
Loaded '/system/vendor/lib64/libOpenCL.so'. Cannot find or open the symbol file.
Loaded '/system/vendor/lib64/libgsl.so'. Cannot find or open the symbol file.
Loaded '/system/vendor/lib64/libCB.so'. Cannot find or open the symbol file.
Loaded '/system/vendor/lib64/libcdsprpc.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libart-compiler.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libvixl.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libjavacore.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libopenjdk.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libopenjdkjvm.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/hw/memtrack.monterey.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libmedia_jni.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libmtp.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libexif.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libstagefright_amrnb_common.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libextmedia_jni.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libjavacrypto.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libkeystore-engine.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libkeystore_binder.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libkeymaster_messages.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libsoftkeymasterdevice.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libkeymaster1.so'. Cannot find or open the symbol file.
Loaded '/system/vendor/lib64/egl/libEGL_adreno.so'. Cannot find or open the symbol file.
Loaded '/system/vendor/lib64/libadreno_utils.so'. Cannot find or open the symbol file.
Loaded '/system/vendor/lib64/egl/libGLESv2_adreno.so'. Cannot find or open the symbol file.
Loaded '/system/vendor/lib64/libllvm-glnext.so'. Cannot find or open the symbol file.
Loaded '/system/vendor/lib64/egl/libGLESv1_CM_adreno.so'. Cannot find or open the symbol file.
Loaded '/system/vendor/lib64/egl/eglSubDriverAndroid.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libcompiler_rt.so'. Cannot find or open the symbol file.
Loaded '/system/lib64/libwebviewchromium_loader.so'. Cannot find or open the symbol file.
Stopped due to shared library event (no libraries added or removed)
Stopped due to shared library event (no libraries added or removed)

Program terminated with signal SIGKILL, Killed.
The program no longer exists.
The program '' has exited with code 0 (0x0).

I managed to compile the VRCubeNativeActivity inside VS2017 with some minor modifications but I still have no idea what it's not launching.

Plus ti would appear there's something 'Totally wrong' with "LogCat" ( in VS2017 ) it keeps spewing so many messages it freezes the whole VS when opened.

I must say I am pretty frustrated of the whole experience so far :(


No Replies