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

Riga finished hw11 #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Riga finished hw11 #9

wants to merge 1 commit into from

Conversation

Riga27527
Copy link

完成了作业11

  1. 为什么不指定cmake_minium_required会导致下面在project处出错?
    • 答:因为project处指定了VERSION 3.1.4
  2. 使用 SHARED 在 Windows 上会遇到什么困难?请尝试修复!
    • 答:可能会导致dll和exe不在同一目录,Windows只会查找exe所在目录和PATH路径,如果生成的dll在其他目录会找不到。需要添加多个属性,让dll生成目录在exe文件夹下。又或者可以直接把SHARED改成OBJECT。
  3. 为什么lagacy这个只有.c文件的对象出错了?
    • 答:因为指定编译的LANGUAGES里面没有包含C。

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

Successfully merging this pull request may close these issues.

1 participant