dburckh / AndroidLibRaw

Another Android LibRaw implementation. LibRaw is used to render raw camera files (e.g NEF, CR2, ARW). Contains a sample app that show a simple implementation.
4 stars 5 forks source link

Hi sir i cannot compile the code #1

Open rizwankhanMiranshah opened 2 years ago

rizwankhanMiranshah commented 2 years ago

i face the below issue failed :app:writeDebugSigningConfigVersions cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first) (project) (project) CMakeLists.txt /Users/imran/Desktop/AndroidLibRaw-master/libraw/src/main/cpp/LibRaw-cmake does not contain a CMakeLists.txt file.

CMake Error at CMakeLists.txt:49 (add_subdirectory): The source directory C:/Users/imran/Desktop/AndroidLibRaw-master/libraw/src/main/cpp/LibRaw-cmake does not contain a CMakeLists.txt file.

dburckh commented 2 years ago

Looks like there are files missing. Did you do the clone as described in the readme?

Dustin

On Mon, Dec 20, 2021 at 10:46 PM Muhammad Rizwan @.***> wrote:

i face the below issue failed :app:writeDebugSigningConfigVersions cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first) (project) (project) CMakeLists.txt /Users/imran/Desktop/AndroidLibRaw-master/libraw/src/main/cpp/LibRaw-cmake does not contain a CMakeLists.txt file.

CMake Error at CMakeLists.txt:49 (add_subdirectory): The source directory

C:/Users/imran/Desktop/AndroidLibRaw-master/libraw/src/main/cpp/LibRaw-cmake does not contain a CMakeLists.txt file.

— Reply to this email directly, view it on GitHub https://github.com/dburckh/AndroidLibRaw/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABM2VUJ6NZ6DYSEVS4HCBEDUSAIDTANCNFSM5KPKKCKQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

rizwankhanMiranshah commented 2 years ago

yes same every thing i copy complete of your code

dburckh commented 2 years ago

It looks like the submodules didn't get cloned. Are you sure you cloned it from the command line using: git clone --recurse-submodules https://github.com/dburckh/AndroidLibRaw.git

I just did a fresh clone and it built fine.

I've made a few minor updates and I'm going to try hosting the aar as an artifact on github. Should be ready in a day or two.

Dustin

On Thu, Dec 30, 2021 at 12:46 PM Muhammad Rizwan @.***> wrote:

yes same every thing i copy complete of your code

— Reply to this email directly, view it on GitHub https://github.com/dburckh/AndroidLibRaw/issues/1#issuecomment-1003160275, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABM2VUPYDBRLHYNDUR4CY33UTSZLDANCNFSM5KPKKCKQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

dburckh commented 2 years ago

I built the AAR and hosted it on GitHub Packages. https://github.com/dburckh/AndroidLibRaw/packages/1172747

The dependency is:

implementation 'com.homesoft.android:libraw:1.0.1'

Unfortunately, it's kind of a PITA to add GitHub Packages to your build. You'll need to add the following to your project root build.gradle. You'll also need to set the environment variables GPR_USER= and GPR_API_KEY=. It might be easier just to download it. :) I'll add all this to the readme tomorrow. allprojects { repositories { ... maven { url = 'https://maven.pkg.github.com/dburckh/AndroidLibRaw' credentials { username = System.getenv("GPR_USER") //This password expires, so it will need to updated in environment password = System.getenv("GPR_API_KEY") } } } }

FYI: This has no impact to building the sample app.

On Thu, Dec 30, 2021 at 2:27 PM Dustin Burckhardt @.***> wrote:

It looks like the submodules didn't get cloned. Are you sure you cloned it from the command line using: git clone --recurse-submodules https://github.com/dburckh/AndroidLibRaw.git

I just did a fresh clone and it built fine.

I've made a few minor updates and I'm going to try hosting the aar as an artifact on github. Should be ready in a day or two.

Dustin

On Thu, Dec 30, 2021 at 12:46 PM Muhammad Rizwan @.***> wrote:

yes same every thing i copy complete of your code

— Reply to this email directly, view it on GitHub https://github.com/dburckh/AndroidLibRaw/issues/1#issuecomment-1003160275, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABM2VUPYDBRLHYNDUR4CY33UTSZLDANCNFSM5KPKKCKQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>