| 
 | 
 | 
 
Home » Community » U++ community news and announcements » 708-dev2b 
	| 
		
 |  
	| 
		
 |  
	
		
		
			| Re: 708-dev2b [message #11252 is a reply to message #11251] | 
			Tue, 28 August 2007 23:39    | 
		 
		
			
				
				
				  | 
					
						  
						mirek
						 Messages: 14271 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    | 
		 
		
			
				
				
				  | 
					
						  
						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 #17760 is a reply to message #11270] | 
			Thu, 28 August 2008 09:12   | 
		 
		
			
				
				
				  | 
					
						  
						kov_serg
						 Messages: 42 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   
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   but in MSC8_Debug I have a lot of "warning LNK4099: PDB 'mysqlclient.pdb' was not found with ..." 
		
		
		
 |  
	| 
		
	 | 
 
 
 |   
Goto Forum:
 
 Current Time: Tue Nov 04 02:18:15 CET 2025 
 Total time taken to generate the page: 0.09688 seconds 
 |   
 |  
  |