• Welcome to PlanetSquires Forums.
 

Nehe 5 example errors

Started by Frank Bruebach, March 11, 2024, 09:02:49 AM

Previous topic - Next topic

Frank Bruebach

Good morning hello all...

file: CW_GL_Nehe_05.bas

hey all wanted to test an openGl file, but something I have made wrong ?
I have got here some error messages... working on a windows 10 pc 32bit machine
regards, frank

freebasic version 1.10.1 win32

cwstr.inc
line 831 ambigous call to overloaded function etcpp
DIM cws AS CWSTR = SPACE(nChars)

afxstr.inc
line 137 + line 142 errors
dim cws as cwstr=SPACE(dwLen)
DIM cws AS CWSTR = SPACE(LEN(ansiStr))

much more...

Perhaps Somebody can Help thx

Paul Squires

Works perfectly fine for me on 1.10.1 that I downloaded from:
https://www.freebasic.net/forum/viewtopic.php?t=32498

Are you using the new development version that Jeff is working on?
https://www.freebasic.net/forum/viewtopic.php?t=32254

That new version has a lot of changes to the way SPACE works and from your post it looks like that is where the errors are happening. Those functions with the errors are part of Jose's WinFBX library.

Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

Frank Bruebach

Thank you Paul :)

I have downloaded latest patch for freebasic and fbc Version I have was built at 24.12.2024 1.424 MB Size..

But my "fbedit" Editor dated of 2010 could that be a Problem perhaps?  Other Programms are working all fine.

I have included Afx folder into \ inc folder of Main Level Here you can find fbc

I have No ideas sorry

Thx Frank

Frank Bruebach

#3
All is fine now ;)

Have downloaded winFBE_suite and my nehe 5 example is running fine

I am Glad lol Bye Frank nice Rest of the week


Paul Squires

Excellent, happy to hear that everything is working okay for you now!
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer