Jump to content

new project does not compile


Go to solution Solved by Dexter,

Recommended Posts

Posted

howdy, I'm trying to create a new project, after my old project stopped working I wanted to narrow down why.

I'm on the steam main branch - simply create a new blank project C++ template and try to compile it and you will get 5 errors:

Error	C2065	'Plugin': undeclared identifier	C:\Program Files (x86)\Steam\steamapps\common\Ultra Engine Pro\Include\Classes\Assets\Asset.h	73	
Error	C2923	'std::shared_ptr': 'Plugin' is not a valid template type argument for parameter '_Ty' C:\Program Files (x86)\Steam\steamapps\common\Ultra Engine Pro\Include\Classes\Assets\Asset.h	73		
Error	C2955	'std::shared_ptr': use of class template requires template argument list C:\Program Files (x86)\Steam\steamapps\common\Ultra Engine Pro\Include\Classes\Assets\Asset.h	73		
Error	C2433	'Leadwerks::Plugin': 'friend' not permitted on data declarations C:\Program Files (x86)\Steam\steamapps\common\Ultra Engine Pro\Include\Classes\FileSystem\Package.h	97		
Error	C4430	missing type specifier - int assumed. Note: C++ does not support default-int C:\Program Files (x86)\Steam\steamapps\common\Ultra Engine Pro\Include\Classes\FileSystem\Package.h	97		

 

switching to beta branch and trying a new project results in the same errors. I have to admit I'm a little bit confused as to what to develop against. stable breaks, beta breaks. should I just work on the beta branch and deal with the frequent breaking changes? 

Posted
15 minutes ago, Josh said:

Are you saying that a brand new project can't compile?

sorry, yes. brand new project on main or beta steam branch result in those errors 

Posted

I just tried creating a new blank C++ project, using the default and beta branches on Steam, and was able to compile with no problems in Visual Studio 17.9.4.

Let's build cool stuff and have fun. :)

Posted

I updated to the latest VS 17.14.11, again with no problems. Updating Visual Studio should probably be the first thing you try.

Let's build cool stuff and have fun. :)

  • Solution
Posted

after some poking around, I fixed it by hitting verify integrity in steam properties. the copy of source in program files was stuck on an older version, even between switching branches on steam, which i found quite surprising! something to be aware of i guess

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...