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

安装cbc之后仍然运行不了编译指令 #8

Open
motoight opened this issue Feb 26, 2020 · 1 comment
Open

安装cbc之后仍然运行不了编译指令 #8

motoight opened this issue Feb 26, 2020 · 1 comment

Comments

@motoight
Copy link

键入 ./install/sh命令之后:
prefix=/usr/local/cbc
mkdir -p /usr/local/cbc/bin
install -m755 bin/cbc /usr/local/cbc/bin
mkdir -p /usr/local/cbc/lib
cp lib/cbc.jar lib/libcbc.a /usr/local/cbc/lib
rm -rf /usr/local/cbc/import
cp -r import /usr/local/cbc/import
cbc successfully installed as /usr/local/cbc/bin/cbc
再输入:
cbc -Wa,"--32" -Wl,"-melf_i386" test/hello.cb
显示:
The program 'cbc' is currently not installed. You can install it by typing:
apt install coinor-cbc

@godcherry
Copy link

ln -s /usr/local/cbc/bin/cbc /usr/local/bin/cbc

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

2 participants