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

Same computer and configuration, 2.7 can be compiled successfully, while the latest release of the code cannot be compiled successfully #123

Open
dollPrincess opened this issue Nov 22, 2024 · 4 comments

Comments

@dollPrincess
Copy link

dollPrincess commented Nov 22, 2024

Same computer and configuration,
2.7 can be compiled successfully, while the latest release of the code can not be compiled successfully,.
Vs and clion are both in the build error!

Situation Description:
I am a developer and have been using FS 2.7 running locally. Recently, I downloaded the latest code, but with the same computer and configuration, the 2.7 version can be compiled successfully and run locally, but your latest version of the code can not be compiled successfully!

I'm sure it's not my problem, is there something wrong with your latest release?

I tried cmake+vs, and clion to compile, in the cmake part of no error and can generate normal success, but in the vs to generate the solution, and in clion in the build process no matter how many times I tried there are errors!
Each time I use administrator privileges and thoroughly clean up the leftover files from the last time, but still a steady stream of errors, so this is not an occasional occurrence.

It's definitely not my problem, is there an error somewhere in your latest code release?

Question:

  1. can you reproduce the situation and compile your latest code on window 11 to help me fix this weird latest version error?
  2. do you know of any other windows users who are experiencing this?

Any other necessary information:
My computer is window 11.
The latest version of the code downloaded is FEBio Studio 2.8 and the accompanying FEBio, nothing has been changed, and the runtime uses FEBio Studio 2.8.
The dependencies were all downloaded successfully as the 2.7 code works fine.

Errors reported as below:
because the whole message is so long, so I just list the failed ones.

CLion :
ninja: build stopped: subcommand failed.

VS :

in the middle of the messages page:
23>D:\Projects\FEBioStudiotest\new edition\FEBioStudio-develop\FEBioStudio\FEBioJob.cpp(67,2): error C2065: ‘m_sshHandler ‘: undeclared identifier

in the end:
`23>The operation to generate the project ‘FEBioStudio2.vcxproj’ has been completed - it failed.

24>------ has started full regeneration: Project: ALL_BUILD, Configuration: Release x64 ------

24>Building Custom Rule D:/Projects/FEBioStudiotest/new edition/FEBioStudio-develop/CMakeLists.txt

========== ‘Regenerate All’: 23 Success, 1 Failure, 0 Skipped ==========`

@michaelrossherron
Copy link
Member

As of FEBio Studio 2.8, our code must be compiled with Qt 6.5 or newer. Make sure that you have a version of Qt that is at least version 6.5 and try to compile it again.

Michael Herron

@dollPrincess
Copy link
Author

dollPrincess commented Nov 25, 2024

As of FEBio Studio 2.8, our code must be compiled with Qt 6.5 or newer. Make sure that you have a version of Qt that is at least version 6.5 and try to compile it again.

Michael Herron

Does your version of Qt mean the version of this folder?
However, the qt I downloaded is 6.7.2, which meets the requirements. I don't think the problem is the qt version.

image

@dollPrincess
Copy link
Author

? How to solve this?

@SteveMaas1978
Copy link
Member

It looks like the error above was caused a missing conditional compilation flag (HAS_SSH). I think I have that fixed now, so please update your copy and then give it another try. Let us know if it's working now, or if you still have build issues.

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

3 participants