Jump to content


Photo

Problems Compiling Under Vc++ 2005


5 replies to this topic

#1 sp00n

sp00n

    Squaddie

  • Forum Members
  • PipPip
  • 1 posts

Posted 11 November 2005 - 12:04 PM

When compiling xenoui under VC++ 2005 beta, I get the following errors:

Error 1 fatal error C1001: An internal error has occurred in the compiler. c:\xenocide.svn\xenocide\src\core\gametime.cpp 24
Error 2 fatal error C1001: An internal error has occurred in the compiler. c:\xenocide.svn\xenocide\src\client\xenocidemodule.cpp 25

WTF ? Any ideas how to sort this out?

Thanks

sp00n

#2 Guest_Azrael_*

Guest_Azrael_*
  • Guests

Posted 11 November 2005 - 12:12 PM

Moved to Help Desk

#3 Beetle

Beetle

    Programming Department

  • Xenocide Inactive
  • 350 posts

Posted 11 November 2005 - 12:54 PM

Hmm strange, maybe some problem with precompiled headers?
Posted Image

#4 sp00n

sp00n

    Squaddie

  • Forum Members
  • PipPip
  • 1 posts

Posted 12 November 2005 - 03:45 PM

Well, I changed from the beta version to the release version of VC++2005 Express.

No more internal compiler errors, but I now get the following compilation errors:

error C2039: 'outer_state_ptr' : is not a member of 'Xenocide::Core::States::State<MostDerived>'	c:\xenocide.svn\xenocide\src\boost\statechart\state_machine.hpp	541
error C2660: 'Xenocide::UI::MessageBoxes::show' : function does not take 3 arguments	c:\xenocide.svn\xenocide\src\client\commonui\optionsdialog.cpp	144	
error C2660: 'Xenocide::UI::ModalDialog::subscribeToClose' : function does not take 2 arguments	c:\xenocide.svn\xenocide\src\client\commonui\optionsdialog.cpp	195
error C2660: 'Xenocide::UI::ModalDialog::subscribeToClose' : function does not take 2 arguments	c:\xenocide.svn\xenocide\src\client\commonui\messagebox.h	135	
error C2660: 'Xenocide::UI::ModalDialog::subscribeToClose' : function does not take 2 arguments	c:\xenocide.svn\xenocide\src\client\geoscape\baseview.cpp	98

Does anybody have any insight as to why this happens?

I really want to get it working, I'd love to contribute.

sp00n

EDIT: the error detailed above referring to outer_state_ptr crops up 16 times during compilation, as it is included by different files. In the same file (state_machine.hpp), there are two other references to outer_state_ptr, at lines 313 and 344, neither of which throw a compiler error:

 
pCurrentState = pCurrentState->outer_state_ptr();

This is the line that does throw the error:

         pState->State::outer_state_ptr() ) )

Edited by sp00n, 12 November 2005 - 03:55 PM.


#5 Guest_Guest_Karfir_*_*

Guest_Guest_Karfir_*_*
  • Guests

Posted 28 December 2005 - 12:24 AM

I'm also trying to compile under that, but xenocore won't compile for me either. I have the same errors.

#6 guyver6

guyver6

    Captain

  • Xenocide Programming Department
  • 599 posts

Posted 30 December 2005 - 02:19 PM

Support for VS 2005 is on my todo list, so you can expect it sometime in January.

Greetings,
Guyver
Posted Image
Sourceforge: guyver6
LinkedIn: Andrzej Haczewski
"A good business idea, they say, can be explained in one sentence. Similarly, each program entity should have one clear purpose."

Join #xenocide at irc.freenode.net.



Reply to this topic