Thread: compiling with vc++ 8.0
Brought to you by:
set
From: Michael R. <mic...@fr...> - 2008-09-08 12:40:31
|
Hi! I am pretty curios about this project. Did you get tv to compile with Visual C++ 8.0 (VS 05) (or VC++ 9.0, CS VS08)? Is there an updated makefile? Regards, -mr |
From: Salvador E. T. <sal...@in...> - 2008-09-08 12:49:29
|
Hi! On 08/09/08 09:40, Michael Reichenbach wrote: > I am pretty curios about this project. > > Did you get tv to compile with Visual C++ 8.0 (VS 05) (or VC++ 9.0, CS > VS08)? > I don't know much about VC versions ... > Is there an updated makefile? > You can try a CVS snapshot: http://tvision.sourceforge.net/snap.html If you get errors you can post them and we could try to solve the issues. Is a little bit slow process but that's the way used to get it compiled with a new version of VC++, I never had direct access to it. Regards, SET -- _______________________________________________________________ Ing. Salvador Eduardo Tropea http://utic.inti.gob.ar/ INTI-Electrónica e Informática Tel: (+54 11) 4724 6315 Colectora de Av. General Paz 5445 San Martín - B1650KNA Casilla de Correo 157 FAX: (+54 11) 4754 5194 Buenos Aires * Argentina http://www.inti.gob.ar/ |
From: Michael R. <mic...@fr...> - 2008-09-08 14:12:52
|
Cool, project seams alive. :) Salvador Eduardo Tropea schrieb: > I don't know much about VC versions ... Me neither, only the version I am using. There is a history of versions, number x.x and corespondent Vistual Studio name. http://en.wikipedia.org/wiki/Visual_C%2B%2B > You can try a CVS snapshot: > > http://tvision.sourceforge.net/snap.html Done. > I never had direct access to it. Microsoft platform sdk is free in price. Also Visual Studio 2005 Express Edition (VC++ 8.0) and Visual Studio 2008 Express Edition (VC++ 9.0) are free in price. Rich in features. Imho worth to try and use. http://www.microsoft.com/express/2005/ Only disadvantages: - obviously them like you to buy a paid version (besides free registration no nagscreen) - it's from ms, if this is important for you > If you get errors you can post them and we could try to solve the > issues. nmake -f Makefile.nmk clean doesn't work probable because the line is to long. (Sorry, I can't provide any solutions, maybe deleting the whole folder instant.) (used nmake -f Makefile.nmk all inside the winnt folder, started visual studio 2005 command promt before) I could build libtv.lib (some warnings, see blow) with the cvs snapshot you gave to me. Yet I haven't build an example. The readme says 'How do I compile the demo? Is compiled by the makefile, the name is tvex.exe.'. But it hasn't build tvex.exe, even if I removed the # before SRC7 = ./examples/tutorial and SRC3 = ./ Can you tell me how to build one of the examples? Is there a sample makefile for VC++ 8.0? No errors, so far only warnings. Everywhere this one: cl /nologo -c -O2 -I./include -I../include -D_WIN32 /GR- /GX- /EHsc /Tp. ./classes/unix\unixdis.cc -Foobj_ms/unixdis.o cl : Command line warning D9035 : option 'GX-' has been deprecated and will be r emoved in a future release cl : Command line warning D9036 : use 'EHs-c-' instead of 'GX-' unixdis.cc cl /nologo -c -O2 -I./include -I../include -D_WIN32 /GR- /GX- /EHsc /Tp. ./classes/unix\unixkey.cc -Foobj_ms/unixkey.o cl : Command line warning D9035 : option 'GX-' has been deprecated and will be r emoved in a future release I've combined and exchanged /GR- with the new EHs-c-. Then I did run into a lot of cl /nologo -c -O2 -I./include -I../include -D_WIN32 /GR- /EHs-c- /EHsc / Tp../classes/qnx4\qnx4scr.cc -Foobj_ms/qnx4scr.o cl : Command line warning D9025 : overriding '/EHs-' with '/EHs' cl : Command line warning D9025 : overriding '/EHc-' with '/EHc' combined again.... This is the new makefile with less warnings: http://nopaste.com/p/aHrQqRgRT (warning, this was just reading and luck, tbh I have not much clue, better someone else is looking into this) With the new makefile there are only a few warning left, all about the same topic. xtermmouse.o : warning LNK4221: no public symbols found; archive member will be inaccessible xtermkey.o : warning LNK4221: no public symbols found; archive member will be in accessible xtermdis.o : warning LNK4221: no public symbols found; archive member will be in accessible x11src.o : warning LNK4221: no public symbols found; archive member will be inac cessible x11mouse.o : warning LNK4221: no public symbols found; archive member will be in accessible x11key.o : warning LNK4221: no public symbols found; archive member will be inac cessible x11dis.o : warning LNK4221: no public symbols found; archive member will be inac cessible wingrscr.o : warning LNK4221: no public symbols found; archive member will be in accessible wingrmouse.o : warning LNK4221: no public symbols found; archive member will be inaccessible wingrkey.o : warning LNK4221: no public symbols found; archive member will be in accessible wingrdis.o : warning LNK4221: no public symbols found; archive member will be in accessible unixscr.o : warning LNK4221: no public symbols found; archive member will be ina ccessible unixmouse.o : warning LNK4221: no public symbols found; archive member will be i naccessible unixkey.o : warning LNK4221: no public symbols found; archive member will be ina ccessible unixdis.o : warning LNK4221: no public symbols found; archive member will be ina ccessible sescreen.o : warning LNK4221: no public symbols found; archive member will be in accessible screen.o : warning LNK4221: no public symbols found; archive member will be inac cessible rhscreen.o : warning LNK4221: no public symbols found; archive member will be in accessible qnxscr.o : warning LNK4221: no public symbols found; archive member will be inac cessible qnxkey.o : warning LNK4221: no public symbols found; archive member will be inac cessible qnxdis.o : warning LNK4221: no public symbols found; archive member will be inac cessible qnx4scr.o : warning LNK4221: no public symbols found; archive member will be ina ccessible qnx4key.o : warning LNK4221: no public symbols found; archive member will be ina ccessible qnx4dis.o : warning LNK4221: no public symbols found; archive member will be ina ccessible linuxscr.o : warning LNK4221: no public symbols found; archive member will be in accessible linuxmouse.o : warning LNK4221: no public symbols found; archive member will be inaccessible linuxkey.o : warning LNK4221: no public symbols found; archive member will be in accessible linuxdis.o : warning LNK4221: no public symbols found; archive member will be in accessible dosscr.o : warning LNK4221: no public symbols found; archive member will be inac cessible dosmouse.o : warning LNK4221: no public symbols found; archive member will be in accessible doskey.o : warning LNK4221: no public symbols found; archive member will be inac cessible dosdis.o : warning LNK4221: no public symbols found; archive member will be inac cessible |
From: Salvador E. T. <sal...@in...> - 2008-09-08 15:54:22
|
On 08/09/08 11:12, Michael Reichenbach wrote: > Cool, project seams alive. :) > > Salvador Eduardo Tropea schrieb: > >> I don't know much about VC versions ... >> > > Me neither, only the version I am using. There is a history of versions, > number x.x and corespondent Vistual Studio name. > http://en.wikipedia.org/wiki/Visual_C%2B%2B > > >> You can try a CVS snapshot: >> >> http://tvision.sourceforge.net/snap.html >> > > Done. > > >> I never had direct access to it. >> > > Microsoft platform sdk is free in price. > Yes, but last time I checked it needed W2k or newer, last Windows I installed was 98SE ... > Also Visual Studio 2005 Express Edition (VC++ 8.0) and Visual Studio > 2008 Express Edition (VC++ 9.0) are free in price. Rich in features. > Imho worth to try and use. > http://www.microsoft.com/express/2005/ > > Only disadvantages: > - obviously them like you to buy a paid version (besides free > registration no nagscreen) > - it's from ms, if this is important for you > > >> If you get errors you can post them and we could try to solve the >> issues. >> > > nmake -f Makefile.nmk clean doesn't work probable because the line is to > long. (Sorry, I can't provide any solutions, maybe deleting the whole > folder instant.) > > > > > (used > nmake -f Makefile.nmk all > inside the winnt folder, Why inside winnt? Can you try the one in the root of the project? (Makefile.nmk) it reuses the BC++ makefile. > started visual studio 2005 command promt before) > > > > I could build libtv.lib (some warnings, see blow) with the cvs snapshot > you gave to me. > > > Yet I haven't build an example. The readme says 'How do I compile the > demo? Is compiled by the makefile, the name is tvex.exe.'. But it hasn't > build tvex.exe, even if I removed the # before SRC7 = > ./examples/tutorial and SRC3 = ./ > I think this is what the other makefile compiles. > Can you tell me how to build one of the examples? Is there a sample > makefile for VC++ 8.0? > Please try the main .nmk. Regard, SET -- _______________________________________________________________ Ing. Salvador Eduardo Tropea http://utic.inti.gob.ar/ INTI-Electrónica e Informática Tel: (+54 11) 4724 6315 Colectora de Av. General Paz 5445 San Martín - B1650KNA Casilla de Correo 157 FAX: (+54 11) 4754 5194 Buenos Aires * Argentina http://www.inti.gob.ar/ |
From: Michael R. <mic...@fr...> - 2008-09-08 18:44:46
|
Salvador Eduardo Tropea schrieb: > Why inside winnt? Dunno, I did feel redirected into this folder by the readme. > Can you try the one in the root of the project? > (Makefile.nmk) it reuses the BC++ makefile. Ok. >> Can you tell me how to build one of the examples? Is there a sample >> makefile for VC++ 8.0? > > Please try the main .nmk. Done that with a fresh copy, worked. Have the librhtv.lib again, now in \makes. (This time only the 'no public symbols found' warning again, the other one not). > I think this is what the other makefile compiles. The makefile in \winnt creates the example. Thanks so far. :) Regards, -mr |
From: Mike G. <mi...@ma...> - 2008-09-08 13:35:52
|
Hello, Michael! MR> I am pretty curios about this project. MR> Did you get tv to compile with Visual C++ 8.0 (VS 05) (or VC++ 9.0, CS MR> VS08)? MR> Is there an updated makefile? TVision has been compiled by me using VS2005 without any problem. As for VS2008 you need to check if it still works, because many standard C/C++ (POSIX) function names and functions was declared by VS2005 as deprecated on the score of security and ISO C++ conformance, so VS2008 could or could not contain these standard function names and functions. With best regards, Mike Gorchak. E-mail: mi...@ma... |