can't compile revision 23
Forum » User forums / Bugs and issues » can't compile revision 23
Started by: EnziEnzi
On: 1241720745|%e %b %Y, %H:%M %Z|agohover
Number of posts: 9
rss icon RSS: New posts
can't compile revision 23
EnziEnzi 1241720745|%e %b %Y, %H:%M %Z|agohover

Hey!

I tried to merge my project with the latest revision but it seems there are some problems in the serialization.
I get the following error:

error C2990: 'nGENE::ISerializer' : non-class template has already been declared as a class template    
ISerializer.h    54

I hope you know what is meant with this error cause I'm pretty clueless about this whole serialization stuff.

unfold can't compile revision 23 by EnziEnzi, 1241720745|%e %b %Y, %H:%M %Z|agohover
Re: can't compile revision 23
wtomanwtoman 1241721088|%e %b %Y, %H:%M %Z|agohover

Check in prerequisities.h file that it is:

class ISerializer;

and not:

template <typename T>
class ISerializer;

In previous version there was I think (and quick look to the SVN history proves it) so it might be the reason.

unfold Re: can't compile revision 23 by wtomanwtoman, 1241721088|%e %b %Y, %H:%M %Z|agohover
Re: can't compile revision 23
EnziEnzi 1241772082|%e %b %Y, %H:%M %Z|agohover

Hm, I already have the new prerequisites.h with the changed lines.

unfold Re: can't compile revision 23 by EnziEnzi, 1241772082|%e %b %Y, %H:%M %Z|agohover
Re: can't compile revision 23
wtomanwtoman 1241773850|%e %b %Y, %H:%M %Z|agohover

Damn. I managed to compile it without single error. When does it happen? When comiling ngene proj, ngene framework or some other project?

Is there any additional info in the output window (I mean not in the errors/warnings list)? Sometimes it provides pretty useful information about templates errors. It seems to me that some file is outdated (maybe ISerializer.h?).

unfold Re: can't compile revision 23 by wtomanwtoman, 1241773850|%e %b %Y, %H:%M %Z|agohover
Re: can't compile revision 23
EnziEnzi 1241774146|%e %b %Y, %H:%M %Z|agohover

Yeah, I guess so. Something isn't right in ISerializer.h. It happens when compiling ngene proj. The following errors are all errors because he can't create the ISerializer class. Stuff like:

error C2027: use of undefined type 'nGENE::ISerializer'
iserializer.h    94

I'm not too familiar with class templates. There's not a single template defined in the ISerializer class.

By the way, just to be sure I checked out the whole revision23 in a different folder and tried to compile. Same error. :(

unfold Re: can't compile revision 23 by EnziEnzi, 1241774146|%e %b %Y, %H:%M %Z|agohover
Re: can't compile revision 23
wtomanwtoman 1241774871|%e %b %Y, %H:%M %Z|agohover

Strange. If possible, please email me with whole output from the build process. I should then be able to figure out what's going on.

unfold Re: can't compile revision 23 by wtomanwtoman, 1241774871|%e %b %Y, %H:%M %Z|agohover
Re: can't compile revision 23
EnziEnzi 1241780852|%e %b %Y, %H:%M %Z|agohover

I found the problem.
VS2008 didn't compiled the precompiled headers new, this lead to these errors. I'm pretty pissed how stupid VS handles this. But oh well.

At least you can stop looking for an error. You have made none. ;)

unfold Re: can't compile revision 23 by EnziEnzi, 1241780852|%e %b %Y, %H:%M %Z|agohover
Re: can't compile revision 23
achildachild 1241792260|%e %b %Y, %H:%M %Z|agohover

Indeed. Here at work Visual Studio tends to be pretty good in that regard, you know, figuring out if the precompiled headers need rebuild (thus rebuilding the whole entire project). Our project here is a pretty decent size though (around a million lines), so occasionally Visual Studio messes it all up and we get crazy errors like this. Best advice… when that kind of unexplainable stuff happens, or even if the most recent check-out retrieves a whole lot of updates… just rebuild all. It will still be greatly faster because of the precompiled headers. Looking forward to seeing more of this engine!

unfold Re: can't compile revision 23 by achildachild, 1241792260|%e %b %Y, %H:%M %Z|agohover
Re: can't compile revision 23
wtomanwtoman 1241797064|%e %b %Y, %H:%M %Z|agohover

At least you can stop looking for an error. You have made none. ;)

That's good to hear :)

last edited on 1241797085|%e %b %Y, %H:%M %Z|agohover by wtoman + show more
unfold Re: can't compile revision 23 by wtomanwtoman, 1241797064|%e %b %Y, %H:%M %Z|agohover
New post
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License