Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » 708-dev2b
Re: 708-dev2b [message #11250 is a reply to message #11206] Tue, 28 August 2007 21:04 Go to previous messageGo to next message
michael is currently offline  michael
Messages: 153
Registered: May 2007
Location: Germany
Experienced Member
This is what i get when builing my project with MS Windows SDK and Vista:

$blitz.cpp
c:\upp\uppsrc\richtext\txtop.cpp(54) : fatal error C1001: An internal error has occurred in the compiler.
(compiler file 'F:\SP\vctools\compiler\utc\src\P2\main.c[0x10BF5F00:0x0000002C]', line 182)
 To work around this problem, try simplifying or changing the program near the locations listed above.
Please choose the Technical Support command on the Visual C++ 
 Help menu, or open the Technical Support help file for more information
Internal Compiler Error in C:\Program Files\Microsoft SDKs\Windows\v6.0\Vc\Bin\cl.exe.  You will be prompted to send an error report to Mi
	crosoft later.
INTERNAL COMPILER ERROR in 'C:\Program Files\Microsoft SDKs\Windows\v6.0\Vc\Bin\cl.exe'
    Please choose the Technical Support command on the Visual C++
    Help menu, or open the Technical Support help file for more information

And BLITZ is not checked in build method release.

What can i do to get this build using MS Compiler and Vista?
Re: 708-dev2b [message #11251 is a reply to message #11250] Tue, 28 August 2007 23:38 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Well, what to say. I am getting exactly the same bug in release mode with BLITZ (same line and error code). BLITZ off - everything is OK. Note that this is MSC bug, not theide.

Have you tried debug mode?

Mirek
Re: 708-dev2b [message #11252 is a reply to message #11251] Tue, 28 August 2007 23:39 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
BTW, can you post more of output so that I can see compile flags?

(like this:)

----- RichText ( GUI MSC8 BLITZ WIN32 MSC ) (5 / 11)
BLITZ: Object.cpp ParaPaint.cpp TxtData.cpp TxtPaint.cpp TxtOp.cpp Format.cpp TableCell.cpp TableLayout.cpp TablePaint.cpp TableData.cpp T
	extPaint.cpp TextStyle.cpp TextData.cpp TextTable.cpp Util.cpp
CtrlCore.icpp
$blitz.cpp
d:\uppsrc\richtext\txtop.cpp(54) : fatal error C1001: An internal error has occurred in the compiler.
(compiler file 'f:\rtm\vctools\compiler\utc\src\P2\main.c[0x10BF1FD0:0x0000002C]', line 182)
 To work around this problem, try simplifying or changing the program near the locations listed above.
Please choose the Technical Support command on the Visual C++ 
 Help menu, or open the Technical Support help file for more information
Internal Compiler Error in C:\Program Files\Microsoft SDKs\Windows\v6.0\Vc\Bin\cl.exe.  You will be prompted to send an error report to Mi
	crosoft later.
$blitz.cpp
CtrlCore: 25 file(s) built in (0:01.53), 61 msecs / file, duration = 3203 msecs, parallelization 100%
ParaData.cpp
ParaType.cpp
ParseQtf.cpp
EncodeQtf.cpp
ParseRTF.cpp
EncodeRTF.cpp
RichImage.icpp
EncodeHTML.cpp
RichText: 23 file(s) built in (0:06.25), 272 msecs / file, duration = 7828 msecs, parallelization 100%

There were errors. (0:16.54)


Mirek
Re: 708-dev2b [message #11255 is a reply to message #11206] Wed, 29 August 2007 07:17 Go to previous messageGo to next message
michael is currently offline  michael
Messages: 153
Registered: May 2007
Location: Germany
Experienced Member
XP with MS-Compiler, Debug mode is ok, besides this errors:

Linking...
mysqlclient.lib(my_winthread.obj) : error LNK2001: unresolved external symbol __db_doprnt_
mysqlclient.lib(mf_loadpath.obj) : error LNK2001: unresolved external symbol __db_doprnt_
mysqlclient.lib(my_getwd.obj) : error LNK2001: unresolved external symbol __db_doprnt_
mysqlclient.lib(my_once.obj) : error LNK2001: unresolved external symbol __db_doprnt_
mysqlclient.lib(mf_pack.obj) : error LNK2001: unresolved external symbol __db_doprnt_


And here is some output from my xp-system using ms-compiler in release-mode:

$blitz.cpp
c:\upp\uppsrc\richtext\txtop.cpp(54) : fatal error C1001: An internal error has occurred in the compiler.
(compiler file 'F:\SP\vctools\compiler\utc\src\P2\main.c[0x10BF5F00:0x0000002C]', line 182)
 To work around this problem, try simplifying or changing the program near the locations listed above.
Please choose the Technical Support command on the Visual C++ 
 Help menu, or open the Technical Support help file for more information
Internal Compiler Error in C:\Programme\Microsoft SDKs\Windows\v6.0\Vc\Bin\cl.exe.  You will be prompted to send an error report to Micros
	oft later.
Error executing "C:\Programme\Microsoft SDKs\Windows\v6.0\Vc\Bin\cl.exe" -nologo -W3 -GR -c -I"G:\Entwicklung\UPP" -I"C:\upp\uppsrc" -I"C:
	\Programme\Microsoft SDKs\Windows\v6.0\Vc\Include" -I"C:\Programme\Microsoft SDKs\Windows\v6.0\Include" -I"C:\Programme\MySQL\MySQL Se
	rver 5.0\include" -DflagGUI -DflagMSC8 -DflagBLITZ -DflagWIN32 -DflagMSC -DbmYEAR=2007 -DbmMONTH=8 -DbmDAY=29 -DbmHOUR=7 -DbmMINUTE=29
	 -DbmSECOND=12 -EHsc  -MT -O1 -GS- -Gy -Fd"C:/upp/out/RichText/MSC8.Blitz.Gui\RichText-2.pdb" -Tp "C:/upp/out/RichText/MSC8.Blitz.Gui\
	$blitz.cpp" -Fo"C:/upp/out/RichText/MSC8.Blitz.Gui\$blitz.obj"
"C:\Programme\Microsoft SDKs\Windows\v6.0\Vc\Bin\cl.exe" -nologo -W3 -GR -c -I"G:\Entwicklung\UPP" -I"C:\upp\uppsrc" -I"C:\Programme\Micro
	soft SDKs\Windows\v6.0\Vc\Include" -I"C:\Programme\Microsoft SDKs\Windows\v6.0\Include" -I"C:\Programme\MySQL\MySQL Server 5.0\include
	" -DflagGUI -DflagMSC8 -DflagBLITZ -DflagWIN32 -DflagMSC -DbmYEAR=2007 -DbmMONTH=8 -DbmDAY=29 -DbmHOUR=7 -DbmMINUTE=29 -DbmSECOND=12 -
	EHsc  -MT -O2 -GS- -Gy -Fd"C:/upp/out/RichText/MSC8.Blitz.Gui\RichText-2.pdb" -Tp "C:\upp\uppsrc\RichText\ParseQtf.cpp" -Fo"C:/upp/out
	/RichText/MSC8.Blitz.Gui\ParseQtf.obj"
compiled in (0:00.82)


blitz is not selected but it looks like it used anyway?

[Updated on: Wed, 29 August 2007 09:32]

Report message to a moderator

Re: 708-dev2b [message #11257 is a reply to message #11255] Wed, 29 August 2007 09:45 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
OK, please screenshot of "Output mode" Smile

Mirek
Re: 708-dev2b [message #11259 is a reply to message #11206] Wed, 29 August 2007 09:53 Go to previous messageGo to next message
michael is currently offline  michael
Messages: 153
Registered: May 2007
Location: Germany
Experienced Member
OK.

Re: 708-dev2b [message #11261 is a reply to message #11206] Wed, 29 August 2007 10:18 Go to previous messageGo to next message
michael is currently offline  michael
Messages: 153
Registered: May 2007
Location: Germany
Experienced Member
I did a clean new-installation with upp 2007.1 and now i get these error using mingw release-mode:
Linking...
c++.exe: C:/upp/out/MySql/MINGW.Gui\MySql.a: No such file or directory

Confused

This is really strange...

The error posted above occurs when i first build my project. When i then do a second build the error dosn't occurs anymore. When i start a rebuild, the error is there again. This happens with upp 2007.1 and dev2b. I never had this error before.

[Updated on: Wed, 29 August 2007 10:59]

Report message to a moderator

Re: 708-dev2b [message #11262 is a reply to message #11255] Wed, 29 August 2007 10:56 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
michael wrote on Wed, 29 August 2007 01:17

XP with MS-Compiler, Debug mode is ok, besides this errors:

Linking...
mysqlclient.lib(my_winthread.obj) : error LNK2001: unresolved external symbol __db_doprnt_
mysqlclient.lib(mf_loadpath.obj) : error LNK2001: unresolved external symbol __db_doprnt_
mysqlclient.lib(my_getwd.obj) : error LNK2001: unresolved external symbol __db_doprnt_
mysqlclient.lib(my_once.obj) : error LNK2001: unresolved external symbol __db_doprnt_
mysqlclient.lib(mf_pack.obj) : error LNK2001: unresolved external symbol __db_doprnt_


And here is some output from my xp-system using ms-compiler in release-mode:

$blitz.cpp
c:\upp\uppsrc\richtext\txtop.cpp(54) : fatal error C1001: An internal error has occurred in the compiler.
(compiler file 'F:\SP\vctools\compiler\utc\src\P2\main.c[0x10BF5F00:0x0000002C]', line 182)
 To work around this problem, try simplifying or changing the program near the locations listed above.
Please choose the Technical Support command on the Visual C++ 
 Help menu, or open the Technical Support help file for more information
Internal Compiler Error in C:\Programme\Microsoft SDKs\Windows\v6.0\Vc\Bin\cl.exe.  You will be prompted to send an error report to Micros
	oft later.
Error executing "C:\Programme\Microsoft SDKs\Windows\v6.0\Vc\Bin\cl.exe" -nologo -W3 -GR -c -I"G:\Entwicklung\UPP" -I"C:\upp\uppsrc" -I"C:
	\Programme\Microsoft SDKs\Windows\v6.0\Vc\Include" -I"C:\Programme\Microsoft SDKs\Windows\v6.0\Include" -I"C:\Programme\MySQL\MySQL Se
	rver 5.0\include" -DflagGUI -DflagMSC8 -DflagBLITZ -DflagWIN32 -DflagMSC -DbmYEAR=2007 -DbmMONTH=8 -DbmDAY=29 -DbmHOUR=7 -DbmMINUTE=29
	 -DbmSECOND=12 -EHsc  -MT -O1 -GS- -Gy -Fd"C:/upp/out/RichText/MSC8.Blitz.Gui\RichText-2.pdb" -Tp "C:/upp/out/RichText/MSC8.Blitz.Gui\
	$blitz.cpp" -Fo"C:/upp/out/RichText/MSC8.Blitz.Gui\$blitz.obj"
"C:\Programme\Microsoft SDKs\Windows\v6.0\Vc\Bin\cl.exe" -nologo -W3 -GR -c -I"G:\Entwicklung\UPP" -I"C:\upp\uppsrc" -I"C:\Programme\Micro
	soft SDKs\Windows\v6.0\Vc\Include" -I"C:\Programme\Microsoft SDKs\Windows\v6.0\Include" -I"C:\Programme\MySQL\MySQL Server 5.0\include
	" -DflagGUI -DflagMSC8 -DflagBLITZ -DflagWIN32 -DflagMSC -DbmYEAR=2007 -DbmMONTH=8 -DbmDAY=29 -DbmHOUR=7 -DbmMINUTE=29 -DbmSECOND=12 -
	EHsc  -MT -O2 -GS- -Gy -Fd"C:/upp/out/RichText/MSC8.Blitz.Gui\RichText-2.pdb" -Tp "C:\upp\uppsrc\RichText\ParseQtf.cpp" -Fo"C:/upp/out
	/RichText/MSC8.Blitz.Gui\ParseQtf.obj"
compiled in (0:00.82)


blitz is not selected but it looks like it used anyway?


Getting out of ideas...

Can you please post a RichText package heading from console too?

----- RichText ( GUI MSC8 BLITZ WIN32 MSC ) (5 / 11)
BLITZ: Object.cpp ParaPaint.cpp TxtData.cpp TxtPaint.cpp TxtOp.cpp Format.cpp TableCell.cpp TableLayout.cpp TablePaint.cpp TableData.cpp T
	extPaint.cpp TextStyle.cpp TextData.cpp TextTable.cpp Util.cpp
CtrlCore.icpp
$blitz.cpp
d:\uppsrc\richtext\txtop.cpp(54) : fatal error C1001: An internal error has occurred in the compiler.


Mirek
Re: 708-dev2b [message #11263 is a reply to message #11206] Wed, 29 August 2007 11:04 Go to previous messageGo to next message
michael is currently offline  michael
Messages: 153
Registered: May 2007
Location: Germany
Experienced Member
Mirek, i added a note to the last posting, any idea about that?

Linking...
c++.exe: C:/upp/out/MySql/MINGW.Gui\MySql.a: No such file or directory

The error posted above occurs when i first build my project. When i then do a second build the error dosn't occurs anymore. When i start a rebuild, the error is there again. This happens with upp 2007.1 and dev2b. I never had this error before.
Re: 708-dev2b [message #11264 is a reply to message #11263] Wed, 29 August 2007 11:15 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
michael wrote on Wed, 29 August 2007 05:04

Mirek, i added a note to the last posting, any idea about that?

Linking...
c++.exe: C:/upp/out/MySql/MINGW.Gui\MySql.a: No such file or directory

The error posted above occurs when i first build my project. When i then do a second build the error dosn't occurs anymore. When i start a rebuild, the error is there again. This happens with upp 2007.1 and dev2b. I never had this error before.


Vista or XP?

Well, I have encountered this error on Linux. I think it is related... Obviously, library building step is omitted - this happens when HYDRA build is active (multicpu building).

Mirek
Re: 708-dev2b [message #11265 is a reply to message #11263] Wed, 29 August 2007 11:17 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
michael wrote on Wed, 29 August 2007 05:04

Mirek, i added a note to the last posting, any idea about that?

Linking...
c++.exe: C:/upp/out/MySql/MINGW.Gui\MySql.a: No such file or directory

The error posted above occurs when i first build my project. When i then do a second build the error dosn't occurs anymore. When i start a rebuild, the error is there again. This happens with upp 2007.1 and dev2b. I never had this error before.


PS.: Maybe the reason why it was OK before was that current dev2 version sets the correct number of HYDRA threads...

Mirek
Re: 708-dev2b [message #11268 is a reply to message #11206] Wed, 29 August 2007 11:42 Go to previous messageGo to next message
michael is currently offline  michael
Messages: 153
Registered: May 2007
Location: Germany
Experienced Member
Ok, the HYDRA Threads were set to 2, set them now to 1 and the error dosn't occurs anymore on mingw with xp in release-mode.
Re: 708-dev2b [message #11270 is a reply to message #11268] Wed, 29 August 2007 14:13 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Well, at last one problem identified Wink

I hope that fixing that on linux will fix that on Vista too.

Mirek
Re: 708-dev2b [message #17760 is a reply to message #11270] Thu, 28 August 2008 09:12 Go to previous message
kov_serg is currently offline  kov_serg
Messages: 37
Registered: August 2008
Location: Russia
Member
I am tring to buld reference\SQL_MySQL using Upp2008.1/winxp

1. automatic setup using registry key "SOFTWARE\\MySQL AB\\MySQL Server 4.1" instead of 5.0 Sad
2. I've secify include and lib directory
inc: C:\Program Files\MySQL\MySQL Server 5.0\include
lib: C:\Program Files\MySQL\MySQL Server 5.0\lib
3. copy libmysql.lib -> mysql.lib
4. to compile MSC8_Debug I have to add to project the following file:
// msc_debug_mysql_fix.cpp
extern "C" { // from MySQL5\include\my_dbug.h
void*_db_fp_;
char*_db_process_;
int _db_on_,_no_db_;
void _db_end_(){}
void _db_push_(const char *control){}
void _db_doprnt_ (const char *format,...){}
int _db_keyword_(const char *keyword){ return 0; }
void _db_pargs_(unsigned _line_,const char *keyword){}
void _db_dump_(unsigned _line_,const char *keyword,const char *memory,unsigned length){}
void _db_return_(unsigned _line_,const char **_sfunc_,const char **_sfile_,unsigned *_slevel_){}
void _db_enter_(const char *_func_,const char *_file_,unsigned _line_,const char **_sfunc_,
	const char **_sfile_,unsigned *_slevel_, char ***) {}
}

And it works Smile but in MSC8_Debug I have a lot of "warning LNK4099: PDB 'mysqlclient.pdb' was not found with ..."
Previous Topic: svn 'doc' rights
Next Topic: svn public mirror
Goto Forum:
  


Current Time: Sat Apr 27 18:00:26 CEST 2024

Total time taken to generate the page: 0.04124 seconds