2.8pre-245-gfe67ae5 Compile error

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: 2.8pre-245-gfe67ae5 Compile error

Re: 2.8pre-245-gfe67ae5 Compile error

by Blzut3 » Thu Feb 06, 2014 12:24 am

Nash wrote:... or am I doing it totally wrong. :S
I believe so, if your files are listed in the CMakeLists they should appear in the same folders on the left. If you added new folders then you just need to add a source_group rule for them (see the bottom of src/CMakeLists.txt). Also make sure your header files can be found in the "file( GLOB HEADER_FILES" rules in that same CMake file.

The unmodified generated project should be more or less identical to the hand made one outside of a few extra things that CMake adds to keep itself updated automatically.

Re: 2.8pre-245-gfe67ae5 Compile error

by Nash » Wed Feb 05, 2014 11:07 pm

Yes it's all good but I still keep the old VS2010 project file when I'm editing. I like using the IDE and seeing the source files all placed into folders on the left, and using Ctrl Shift F on the old project is much easier too. I would have a separate instance of Visual Studio open with the generated CMake stuff so I'd have to constantly switch windows while I work.

... or am I doing it totally wrong. :S

Re: 2.8pre-245-gfe67ae5 Compile error

by Blzut3 » Wed Feb 05, 2014 12:16 pm

Didn't we solve all of your CMake issues?

Re: 2.8pre-245-gfe67ae5 Compile error

by Nash » Wed Feb 05, 2014 5:38 am

randi wrote:Fixed, not that I expect any of you care anymore.
I do, actually. I still find the old project files useful (well, for MY setup anyway).

Re: 2.8pre-245-gfe67ae5 Compile error

by randi » Tue Feb 04, 2014 7:55 pm

Fixed, not that I expect any of you care anymore.

Re: 2.8pre-245-gfe67ae5 Compile error

by Nash » Mon Dec 09, 2013 3:08 am

Any temporary solutions on how to manually fix these in the traditional VC project files? It'll be some time until I finally sort out things with CMake and I'd just like to do quick builds to test the executables and make sure things even run at all with the new codebase.

Re: 2.8pre-245-gfe67ae5 Compile error

by Enjay » Sun Dec 08, 2013 11:28 am

Yes, I got the GME error with the old solution file too. However, CMake does indeed fix things. In fact, it was getting this error that spurred me on to setting up CMake (as you can probably figure out from the rest of this thread).

Re: 2.8pre-245-gfe67ae5 Compile error

by Graf Zahl » Sun Dec 08, 2013 9:30 am

No surprise. The change that was made here in the code requires a configuration change in the project. However, since I no longer use the project the change won't get made unless Randi decides to keep it around.

Re: 2.8pre-245-gfe67ae5 Compile error

by Nash » Sun Dec 08, 2013 9:02 am

I spent some time updating my dusty codebase to the latest GZDoom and I am also getting this GME compile error on my traditional VC2010 project file. I haven't mucked around with generating stuff with CMake yet so I'm guessing I should ditch that and start using CMake... ?

Re: 2.8pre-245-gfe67ae5 Compile error

by edward850 » Wed Nov 20, 2013 11:37 pm

Nash wrote:Does that mean I should trash VC2010 too? If the solution is going to be deprecated?
Why? You use CMake to make the VC2010 project file. Unless you have another IDE on hand you prefer. (Just so you know, you make it sound like you think CMake is an IDE. It isn't. ;))

Re: 2.8pre-245-gfe67ae5 Compile error

by Nash » Wed Nov 20, 2013 11:34 pm

Does that mean I should trash VC2010 too? If the solution is going to be deprecated?

(Not complaining; I'm cool with changes, I mean if I am supposed to move to CMake, I'd rather see the .sln deleted from GitHub so I don't get confused)

Re: 2.8pre-245-gfe67ae5 Compile error

by Graf Zahl » Wed Nov 20, 2013 5:58 pm

No, but it's not that complicated. You have to start the CMake GUI, select the compiler of your choice, add a path where to generate the project and press the configure button. Then you have to manually add the paths it couldn't find itself - for me it was only the paths to the old DirectX SDK - Repeat this process until all errors age gone, select the options you want and generate a project.
It's actually a lot more straightforward than setting all this stuff manually in Visual Studio itself.

Once the project is generated it will update itself when necessary so you won't have to launch CMake again unless you want to use different settings.

Re: 2.8pre-245-gfe67ae5 Compile error

by Enjay » Wed Nov 20, 2013 4:19 pm

Graf Zahl wrote:Far easier to configure that Visual Studio directly and it doesn't have any compiler restrictions.
Is there a "step-by-step" anywhere for getting ZDoom/GZDoom up and running with CMake?

Re: 2.8pre-245-gfe67ae5 Compile error

by Graf Zahl » Wed Nov 20, 2013 4:04 pm

The error is that a recent change was only made in the CMake files. So it's not surprising it also happens with VC2008.

When I installed my new working machine I didn't even bother installing all the old compilers. I got a brand new VC2013 Enterprise edition so why step down into those ugly depths again... :D

CMake is just fine, except for the one bug I reported. For that I'd like Randy's feedback first. Far easier to configure that Visual Studio directly and it doesn't have any compiler restrictions.
You can consider the .sln file in GZDoom deprecated. I won't maintain it any longer, ignore all errors reported with it, and just keep it so that updating from ZDoom is easier. (OK, I think I'll delete gzdoom.sln right away...)

Re: 2.8pre-245-gfe67ae5 Compile error

by Enjay » Wed Nov 20, 2013 3:47 pm

Have you moved completely across to CMake for GZDoom? The above error was with VC2005 express but I was using VC2008 express with GZDoom.

Top