baidu / baidu/lac

v2.0.0 java 编译时报错

Open
#79 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
4k
Forks
592
PR merge metrics
No merged PRs in 30d

Description

不太明白为什么cmake之后要使用make
执行完
```
cmake -DPADDLE_ROOT=$PADDLE_ROOT \
-DJAVA_HOME=$JAVA_HOME \
-DWITH_JNILIB=ON \
-DWITH_DEMO=OFF \
../
```
1. 使用cmake --install .
报错:
```
-- Install configuration: "Release"
CMake Error at cmake_install.cmake:55 (file):
file INSTALL cannot find "E:/github/lac/build/Release/lac.lib": No error.
```

2. 使用make install
也报错:
```
make: *** No rule to make target 'install'. Stop.
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the documented CMake configuration with PADDLE_ROOT, JAVA_HOME, and WITH_JNILIB enabled, then compare cmake --install . and make install. Inspect cmake_install.cmake and the expected build/Release/lac.lib path; done means the Java-enabled build installs without either reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp, java
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.