-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
refactor: Move FreeImage into separate project #2690
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
base: master
Are you sure you want to change the base?
Conversation
|
|
|
Pr is ready for review, I tested the changes using the JumpyJet project. No regression so far 😄 |
|
I did a quick rebuild with the following steps:
And it seems to have broken the Test projects but I can confirm the GameStudio seems to run as expected. Im wondering if there is a reference to the new project missed for the tests somewhere? |
|
Oh that's because my branch is not up-to-date. One moment please hah |
|
@Doprez There you go |
|
That seems to have fixed! Looks like everything is working on my end. I did get a new crash but it seems unrelated to your changes but Ill log it here just in case: It looks like a threading issue due to incorrectly disposed assets so I think you're fine for this PR, likely just an existing issue. |
ac2dad6 to
81f8ea5
Compare
|
Okay, so my PR is now ready for review. I also used |
|
LGTM. Just FYI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I actually have a few remarks.
build/Stride.sln
Outdated
| EndProject | ||
| Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Stride.BepuPhysics.Tests", "..\sources\engine\Stride.BepuPhysics\Stride.BepuPhysics.Tests\Stride.BepuPhysics.Tests.csproj", "{7B70C783-4085-4702-B3C6-6570FD85CB8F}" | ||
| EndProject | ||
| Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Stride.FreeImage", "..\sources\tools\Stride.FreeImage\Stride.FreeImage.csproj", "{03695F9B-10E9-4A10-93AE-6402E46F10B5}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That seems to be the wrong Guid for the type of project we use.
It should be {9A19103F-16F7-4668-BE54-9A1E7A4F7556}.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strange, I was adding a project through Rider IDE. I fixed that now :)
| <Nullable>enable</Nullable> | ||
| </PropertyGroup> | ||
| <ItemGroup> | ||
| <StrideNativeLib Include="$(MSBuildThisFileDirectory)..\..\..\deps\FreeImage\Release\**\*.dll"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same link in the original project should probably be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks I forgot about that, fixed!
|
Actually I had to move |
|
The last change is failing the build. Is it necessary? |
ebd0796 to
0ece08a
Compare
|
Looks like not necessarily, I have already rolled back the change |
PR Details
As the name suggests my PR separates FreeImage wrapper from TextureWrapper project just for sake of #2689 to prevent circular dependencies error.
Types of changes
Checklist