Skip to content
This repository has been archived by the owner on Jun 17, 2020. It is now read-only.

Project did not build. Multiple errors. #35

Open
oddvardm opened this issue Oct 12, 2019 · 27 comments
Open

Project did not build. Multiple errors. #35

oddvardm opened this issue Oct 12, 2019 · 27 comments

Comments

@oddvardm
Copy link

The project does not build. Cloned the project from GitHub and when I try to build it it failes. Is there any dependencies I need?

DWSIM_build_error

@DanWBR
Copy link
Owner

DanWBR commented Oct 12, 2019

Did you restore the nuget packages?

@oddvardm
Copy link
Author

oddvardm commented Oct 12, 2019 via email

@DanWBR
Copy link
Owner

DanWBR commented Oct 12, 2019

Here's what you need to do:

@oddvardm
Copy link
Author

oddvardm commented Oct 12, 2019 via email

@DanWBR
Copy link
Owner

DanWBR commented Oct 12, 2019

Sorry about that. I'll check what's going on in a few hours.

@oddvardm
Copy link
Author

oddvardm commented Oct 12, 2019 via email

@DanWBR
Copy link
Owner

DanWBR commented Oct 12, 2019

Did you try building with the config "Release WinMac" / "x64"?

@oddvardm
Copy link
Author

oddvardm commented Oct 13, 2019 via email

@DanWBR
Copy link
Owner

DanWBR commented Oct 13, 2019

The last commit b08ce0d is compiling here from scratch, using Visual Studio 2019 Community, latest update.

@oddvardm
Copy link
Author

oddvardm commented Oct 13, 2019 via email

@DanWBR
Copy link
Owner

DanWBR commented Oct 13, 2019

@oddvardm
Copy link
Author

oddvardm commented Oct 13, 2019 via email

@oddvardm
Copy link
Author

oddvardm commented Oct 13, 2019 via email

@DanWBR
Copy link
Owner

DanWBR commented Oct 14, 2019

Supported build Configurations:

Debug / x64
Release Linux / x64
Release WinMac / x64
Release WinMac / x86

AnyCPU platform is not supported for building.

@oddvardm
Copy link
Author

oddvardm commented Oct 14, 2019 via email

@DanWBR
Copy link
Owner

DanWBR commented Oct 14, 2019

Something related to cefsharp?

@oddvardm
Copy link
Author

oddvardm commented Oct 14, 2019 via email

@DanWBR
Copy link
Owner

DanWBR commented Oct 14, 2019

Try closing and reopening Visual Studio after restoring the NuGet packages, then compile the solution.

@oddvardm
Copy link
Author

oddvardm commented Oct 14, 2019 via email

@oddvardm
Copy link
Author

oddvardm commented Oct 14, 2019 via email

@DanWBR
Copy link
Owner

DanWBR commented Oct 14, 2019

Here's how I've managed to compile DWSIM from scratch.

  1. Download the latest commit: https://github.com/DanWBR/dwsim5/archive/windows.zip

  2. Unpack the zip file and open DWSIM5.sln on Visual Studio 2019.

  3. Go to Build > Build Solution (Default config: Debug / x64)

  4. It doesn't compile. will throw errors about CefSharp.

  5. Close Visual Studio and reopen the solution (DWSIM5.sln).

  6. Go to Build > Build Solution.

  7. Compilation should then be successful.

  8. If you switch to "Release WinMac" / "x64" and rebuild, an usable distro should be ready in the "DistroPackages/Windows" folder.

@oddvardm
Copy link
Author

oddvardm commented Oct 14, 2019 via email

@oddvardm
Copy link
Author

oddvardm commented Oct 18, 2019 via email

@oddvardm
Copy link
Author

oddvardm commented Oct 23, 2019 via email

@DanWBR
Copy link
Owner

DanWBR commented Oct 25, 2019

Could not load the video, says it wasn't found. Can you try again with the latest code?

@oddvardm
Copy link
Author

oddvardm commented Oct 25, 2019 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants