Page 1 of 2
Demo version won't compile?
Posted: Sat Jan 17, 2009 9:05 pm
by pbster
Resource error, even when attempting to compile any of the sample files included.
I've removed, redownloaded, re-installed (even into a different directory) - and it still does nothing but quit with a 'resource error'. Perhaps I'm doing it wrong?
Doing the simple first 'this will compile' from this page
http://www.xs4all.nl/~bluez/datatalk/pure1.htm
It still faults to resource error. What am I missing?
win 2000 pro, 512mb ram.
Not even this will work with demo.
Posted: Sat Jan 17, 2009 9:10 pm
by pbster
Code: Select all
OpenConsole()
PrintN("hello world")
Repeat
Delay(1)
Until Inkey() <> ""
This also results in resource error.
Posted: Sat Jan 17, 2009 9:30 pm
by idle
That's no good. I wouldn't know why the demo isn't compiling, you may have to wait for the Pb development team to answer you.
Posted: Sat Jan 17, 2009 10:00 pm
by Trond
Can you compile from the command line? Save the above in the "compilers" directory (inside the directory where purebasic is installed), then open cmd.exe, go to the same compilers directory, and type "purebasic yourfile.pb" (without the quotes).
Posted: Sat Jan 17, 2009 10:27 pm
by pbster
pbcompiler test.pb
Code: Select all
Compiling test.pb
Loading external libraries...
Starting compilation...
6 lines processed.
Creating executable.
Error: Linker
Unknown error
Posted: Sat Jan 17, 2009 10:30 pm
by pbster
content of test.pb
Code: Select all
OpenConsole()
PrintN("hello world")
Repeat
Delay(1)
Until Inkey() <> ""
; IDE Options = PureBasic 4.30 (Windows - x86)
; CursorPosition = 5
; Folding = -
; EnableXP
Removed IDE options lines... attempted command line compilation, same result as above.
Posted: Sat Jan 17, 2009 10:44 pm
by idle
Only thing I could think of is maybe the problem is related to MSVCRT.dll
I don't think it ships with 2000. Should be in system32
Posted: Sat Jan 17, 2009 10:47 pm
by Trond
Can you post the ouput of echo %path%? And also make sure everything in the purebasic directory isn't write-protected.
Posted: Sat Jan 17, 2009 10:53 pm
by pbster
Code: Select all
C:\Program Files\PureBasic1\Compilers>echo %path%
C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;I:\ZMYSQL\bin;C:\Program Files\QuickTime\QTSystem\
hmmm.
Posted: Sat Jan 17, 2009 10:57 pm
by pbster
nothing is write protected.
and msvcrt.dll is in place under system32... as well as msvcrtXX.dll
Posted: Sat Jan 17, 2009 11:26 pm
by idle
sorry don't know what it could be.
Posted: Sat Jan 17, 2009 11:30 pm
by Trond
If you run polink.exe, does it say anything?
Posted: Sat Jan 17, 2009 11:32 pm
by Kaeru Gaman
which demo did you download?
perhaps you chose the wrong one....?
Posted: Sun Jan 18, 2009 1:05 am
by pbster
Code: Select all
C:\Program Files\PureBasic1\Compilers>polink
Pelles Linker, Version 5.00.1
Copyright (c) Pelle Orinius 1998-2008
Syntax:
POLINK [ { option | file | @commandfile } ... ]
Options:
/ALIGN:#
/ALLOWBIND[:NO]
/ALLOWISOLATION[:NO]
/ALTERNATENAME:symbol=symbol
/BASE:address
/DEBUG[:NO]
/DEBUGTYPE:{CV|COFF|BOTH}
/DEF:filename
/DEFAULTLIB:filename
/DELAY:{NOBIND|UNLOAD}
/DELAYLOAD:filename
/DLL
/DRIVER[:{UPONLY|WDM}]
/ENTRY:symbol
/EXPORT:symbol[=[module.]symbol][,@ordinal[,NONAME]][,DATA]
/FIXED[:NO]
/FORCE:MULTIPLE
/HEAP:reserve[,commit]
/IMPLIB:filename
/INCLUDE:symbol
/LARGEADDRESSAWARE[:NO]
/LIBPATH:path
/MACHINE:{AMD64|ARM|X64|X86}
/MANIFEST[:NO]
/MANIFESTDEPENDENCY:dependency
/MANIFESTFILE:filename
/MAP[:filename]
/MAPINFO:{EXPORTS|FIXUPS|LINES}
/MERGE:from=to
/NODEFAULTLIB
/NOENTRY
/NXCOMPAT[:NO]
/OPT:{REF|NOREF|WIN98|NOWIN98}
/OSVERSION:#[.##]
/OUT:filename
/RELEASE
/SAFESEH[:NO]
/SECTION:name,[E][R][W][S][D][K][P]
/STACK:reserve[,commit]
/STUB:filename
/SUBSYSTEM:{CONSOLE|NATIVE|WINDOWS|WINDOWSCE}[,#[.##]]
/SWAPRUN:{CD|NET}
/TSAWARE[:NO]
/VERBOSE
/VERSION:#[.##]
/WS:AGGRESSIVE
C:\Program Files\PureBasic1\Compilers>
Downloaded win32 version.
Posted: Sun Jan 18, 2009 10:30 pm
by Rook Zimbabwe
Did you have the demo version and then install the registered version?
You may have to uninstall both and then reinstall 4.3
ALSO this is a copy of my compilers directory. Are all your files sizes the same?
