U++ framework
Do not panic. Ask here before giving up.

Home » Community » U++ community news and announcements » 708-dev2b
708-dev2b [message #11206] Mon, 27 August 2007 16:38 Go to next message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
I have uploaded a quick critical fix of issues of current dev releases (fixes problem with mingw compiles).

Mirek
Re: 708-dev2b [message #11207 is a reply to message #11206] Mon, 27 August 2007 18:22 Go to previous messageGo to next message
michael is currently offline  michael
Messages: 153
Registered: May 2007
Location: Germany
Experienced Member
Works for me here on vista with mingw besides the following warning and errors:

C:\upp\uppsrc\RichText\ParseRTF.cpp: In member function `Upp::String Upp::RTFParser::ReadBinHex(char&) const':
C:\upp\uppsrc\RichText\ParseRTF.cpp:902: warning: converting of negative value `-0x000000001' to `unsigned int'

This seems to be a path-problem and is not new but still present:
gcc: Files\MySQL\MySQL\: No such file or directory
gcc: Server\: No such file or directory
gcc: 5.0\include: No such file or directory

And the building-time is 5-times longer compared to xp:
OK. (5:17.65)

With XP it build my project within 1:30
Re: 708-dev2b [message #11208 is a reply to message #11207] Mon, 27 August 2007 18:36 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
Have you tried with M$ compiler?

Mirek
Re: 708-dev2b [message #11209 is a reply to message #11206] Mon, 27 August 2007 18:38 Go to previous messageGo to next message
michael is currently offline  michael
Messages: 153
Registered: May 2007
Location: Germany
Experienced Member
No, only testing with mingw. I have no MS-Compiler available.
Re: 708-dev2b [message #11210 is a reply to message #11209] Mon, 27 August 2007 19:01 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
You can download it for free...

Mirek
icon12.gif  Re: 708-dev2b [message #11213 is a reply to message #11206] Mon, 27 August 2007 20:11 Go to previous messageGo to next message
michael is currently offline  michael
Messages: 153
Registered: May 2007
Location: Germany
Experienced Member
Yes, i know. I just prefer gcc.
Re: 708-dev2b [message #11216 is a reply to message #11213] Mon, 27 August 2007 20:58 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
No problem with that. But right know it would help us to know whether this is GCC or TheIDE problem Smile

BTW, there is AFAIK a new mingw, perhaps you could try that too.

Mirek
Re: 708-dev2b [message #11220 is a reply to message #11206] Tue, 28 August 2007 06:51 Go to previous messageGo to next message
michael is currently offline  michael
Messages: 153
Registered: May 2007
Location: Germany
Experienced Member
I'm sure for the building-speed problem it's vista and gcc. Same UPP-Version with XP and gcc builds fast.
Re: 708-dev2b [message #11221 is a reply to message #11220] Tue, 28 August 2007 08:34 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
Yes, but it still could be theide problem, there can be a bug in the way how compiler is launched and its output captured...
Re: 708-dev2b [message #11222 is a reply to message #11206] Tue, 28 August 2007 08:55 Go to previous messageGo to next message
michael is currently offline  michael
Messages: 153
Registered: May 2007
Location: Germany
Experienced Member
Ok, i can try the MS-Compiler.

Downloaded and installed Visual C++ Express 2005 with SP1 and Platform SDK.

But there is a problem:

The IDE seems to access the PATH where the SDK-Image was placed while installing the SDK?

c:\upp\uppsrc\richtext\txtop.cpp(54) : fatal error C1001: Interner Compilerfehler.
(Compilerdatei "F:\SP\vctools\compiler\utc\src\P2\main.c[0x10BF5F00:0x0000002C]", Zeile 182)
 Vereinfachen oder  Ëndern Sie das Programm im Umfeld der oben aufgef Èhrten Positionen. W Ëhlen 
Sie im Men È "Hilfe" von Visual C++ den Befehl "Technischer Support", 
oder  Ûffnen Sie die Hilfedatei des technischen Supports, um weitere Informationen zu erhalten.
Interner Compilerfehler in C:\Programme\Microsoft Visual Studio 8\Vc\Bin\cl.exe. Sie werden aufgefordert, sp Ëter einen Fehlerbericht an Mi
	crosoft zu senden.

[Updated on: Tue, 28 August 2007 09:39]

Report message to a moderator

Re: 708-dev2b [message #11223 is a reply to message #11222] Tue, 28 August 2007 10:11 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
No, this is quite known problem - you are compiling Release with BLITZ.

Please, use BLITZ in debug mode only... (ok, we should finally add some lock there unlocked in expert mode only... Smile

Mirek
Re: 708-dev2b [message #11224 is a reply to message #11207] Tue, 28 August 2007 10:14 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
michael wrote on Mon, 27 August 2007 12:22

Works for me here on vista with mingw besides the following warning and errors:
This seems to be a path-problem and is not new but still present:
gcc: Files\MySQL\MySQL\: No such file or directory
gcc: Server\: No such file or directory
gcc: 5.0\include: No such file or directory

And the building-time is 5-times longer compared to xp:
OK. (5:17.65)

With XP it build my project within 1:30


Can you please activate "Setup/Verbose" and then post here a commandline used to invoke gcc? (Will be printed in console.).

Mirek
Re: 708-dev2b [message #11225 is a reply to message #11223] Tue, 28 August 2007 10:29 Go to previous messageGo to next message
michael is currently offline  michael
Messages: 153
Registered: May 2007
Location: Germany
Experienced Member
luzr wrote on Tue, 28 August 2007 10:11

No, this is quite known problem - you are compiling Release with BLITZ.

Please, use BLITZ in debug mode only... (ok, we should finally add some lock there unlocked in expert mode only... Smile

Mirek




But in the build methods BLITZ isn't checked for release mode default.
Re: 708-dev2b [message #11226 is a reply to message #11224] Tue, 28 August 2007 10:33 Go to previous messageGo to next message
michael is currently offline  michael
Messages: 153
Registered: May 2007
Location: Germany
Experienced Member
luzr wrote on Tue, 28 August 2007 10:14

michael wrote on Mon, 27 August 2007 12:22

Works for me here on vista with mingw besides the following warning and errors:
This seems to be a path-problem and is not new but still present:
gcc: Files\MySQL\MySQL\: No such file or directory
gcc: Server\: No such file or directory
gcc: 5.0\include: No such file or directory

And the building-time is 5-times longer compared to xp:
OK. (5:17.65)

With XP it build my project within 1:30


Can you please activate "Setup/Verbose" and then post here a commandline used to invoke gcc? (Will be printed in console.).

Mirek


Something like that?

ChWin32.cpp
c++ -c  -I"G:\Entwicklung\UPP" -I"C:\upp\uppsrc" -I"C:\upp\mingw\include" -I"C:\Programme\MySQL\MySQL Server 5.0\include" -DflagGUI -Dflag
	GCC -DflagBLITZ -DflagWIN32 -DbmYEAR=2007 -DbmMONTH=8 -DbmDAY=28 -DbmHOUR=10 -DbmMINUTE=29 -DbmSECOND=47 -static   -fexceptions  -Os -
	finline-limit=20 -ffunction-sections -x c++ "C:\upp\uppsrc\CtrlLib\ChWin32.cpp" -o "C:/upp/out/CtrlLib/MINGW.Blitz.Gui\ChWin32.o"
compiled in (0:00.01)
Re: 708-dev2b [message #11227 is a reply to message #11226] Tue, 28 August 2007 11:40 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
Yes. Interesting, now there is "Programme", while the original obviously had "Program Files"?
Re: 708-dev2b [message #11228 is a reply to message #11206] Tue, 28 August 2007 11:50 Go to previous messageGo to next message
michael is currently offline  michael
Messages: 153
Registered: May 2007
Location: Germany
Experienced Member
What do you mean by original? The other posting http://www.ultimatepp.org/forum/index.php?t=msg&th=2630& amp; amp;start=0& was from my vista system at home. These output is from my xp system at work.

But both have the same error:

gcc: Files\MySQL\MySQL\: No such file or directory
gcc: Server\: No such file or directory
gcc: 5.0\include: No such file or directory


I will post the verbose output from vista when i'm at home again.

[Updated on: Tue, 28 August 2007 11:55]

Report message to a moderator

Re: 708-dev2b [message #11229 is a reply to message #11206] Tue, 28 August 2007 12:53 Go to previous messageGo to next message
dmcgeoch is currently offline  dmcgeoch
Messages: 52
Registered: November 2006
Location: New Jersey
Member
Hi,

I installed and tried to use 708-dev2b for an application that I've been working on and got the following error messages:

In file included from C:/upp/out/Core/MINGW.Debug_full.Gui.Mt\$blitz.cpp:7:
C:\upp\uppsrc\Core\Mt.cpp: In member function `bool Upp::Thread::Run(Upp::Callback)':
C:\upp\uppsrc\Core\Mt.cpp:85: error: `_beginthreadex' undeclared (first use this function)
C:\upp\uppsrc\Core\Mt.cpp:85: error: (Each undeclared identifier is reported only once for each function it appears in.)
OL_Set.cpp


This did not happen prior to the new release.

Thanks,

Dave
Re: 708-dev2b [message #11233 is a reply to message #11229] Tue, 28 August 2007 13:44 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
dmcgeoch wrote on Tue, 28 August 2007 06:53

Hi,

I installed and tried to use 708-dev2b for an application that I've been working on and got the following error messages:

In file included from C:/upp/out/Core/MINGW.Debug_full.Gui.Mt\$blitz.cpp:7:
C:\upp\uppsrc\Core\Mt.cpp: In member function `bool Upp::Thread::Run(Upp::Callback)':
C:\upp\uppsrc\Core\Mt.cpp:85: error: `_beginthreadex' undeclared (first use this function)
C:\upp\uppsrc\Core\Mt.cpp:85: error: (Each undeclared identifier is reported only once for each function it appears in.)
OL_Set.cpp


This did not happen prior to the new release.

Thanks,

Dave


Ops.

Quickfix Core/Core.h:

			#include <stdarg.h>
			#include <windef.h>
			#include <winbase.h>
			#include <wingdi.h>
			#include <winuser.h>
		#define byte win32_byte_ // RpcNdr defines byte -> class with Upp::byte
		#define CY win32_CY_
			#include <objidl.h>
		#undef byte
		#undef CY
			typedef DWORD LCTYPE;
		#else
			#define _WINSOCKAPI_   /* Prevent inclusion of winsock.h in windows.h */
			#include <windows.h>
			#include <stdint.h>
		#endif
		#include <process.h>
	#endif

	#ifdef RGBA
		#undef RGBA
	#endif
#endif


(moved #include <process.h> further in the code, to be included for mingw too).

BTW, mingw has associated huge performance penalty with MT code as it does not support thread variables - means it is not possible to use per-thread allocator cache.

Mirek
Re: 708-dev2b [message #11236 is a reply to message #11233] Tue, 28 August 2007 16:15 Go to previous messageGo to next message
nixnixnix is currently offline  nixnixnix
Messages: 415
Registered: February 2007
Location: Kelowna, British Columbia
Senior Member
Hmmm, think I will leave dev2b alone for now and wait for dev2c.

However, FYI Mirek, I get excellent performance with MT on mingw. I'm using it in a very basic way. I have large grids on which I carry out calculations which took a long time and made testing slow so I now do four grid lines at a time and get almost 400% performance on my Q6600. I am very impressed with UPP MT under mingw.

My two pence.

Nick
Re: 708-dev2b [message #11242 is a reply to message #11236] Tue, 28 August 2007 18:01 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
nixnixnix wrote on Tue, 28 August 2007 10:15

Hmmm, think I will leave dev2b alone for now and wait for dev2c.

However, FYI Mirek, I get excellent performance with MT on mingw. I'm using it in a very basic way. I have large grids on which I carry out calculations which took a long time and made testing slow so I now do four grid lines at a time and get almost 400% performance on my Q6600. I am very impressed with UPP MT under mingw.

My two pence.

Nick


Off course, it depends on what the code is doing.

In my multicore website generation, on dual core machine, mingw MT is SLOWER than single threaded... Because there is a lot of string / array manipulation and it gets hurt badly by poor performance of locking allocator.

Mirek
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: 14291
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: 14291
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: 14291
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: 14291
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: 14291
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: 14291
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: 14291
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: 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 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: Mon May 04 08:47:06 GMT+2 2026

Total time taken to generate the page: 0.01435 seconds