jaPBe for PB 3.91 Beta
Paul's installed worked perfectly for me. I do have some strange stuff in that compilers dir though!
http://www.k-billing.com/screen1.jpg
http://www.k-billing.com/screen1.jpg
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
-
RJP Computing
- Enthusiast

- Posts: 202
- Joined: Sun Apr 27, 2003 4:44 am
- Location: Michigan, USA
- Contact:
@Paul,
Thanks. I am tring it now.
After receiving the install from Paul, I can now debug, but I get the LINKER ERROR : < No Message > error.
Still getting closer. I will look into this further.
Thanks. I am tring it now.
After receiving the install from Paul, I can now debug, but I get the LINKER ERROR : < No Message > error.
Still getting closer. I will look into this further.
-Ryan
RJP Computing
Ubuntu 8.10/WinXP, AMD Athlon 64 3000+, 1000MB RAM, AC 97 Audio, nVidia GeForce 7600GT 512MB
RJP Computing
Ubuntu 8.10/WinXP, AMD Athlon 64 3000+, 1000MB RAM, AC 97 Audio, nVidia GeForce 7600GT 512MB
@ RJP Computing
Compile the same code in the PB-IDE. If your code contains API calls that are macros, like ImageList_AddIcon_()
PB-IDE will give you a linker error complaining about the macro while jaPBe will give you LINKER ERROR : < No Message > error.
Maybe GPI must adjust jaPBe to deal with PB's new linker and linker messages to avoid more confusion
Compile the same code in the PB-IDE. If your code contains API calls that are macros, like ImageList_AddIcon_()
PB-IDE will give you a linker error complaining about the macro while jaPBe will give you LINKER ERROR : < No Message > error.
Maybe GPI must adjust jaPBe to deal with PB's new linker and linker messages to avoid more confusion
yep, will do...though it'll have to wait until tomorrow when I get back to work. i still get the "no message" linker error on my pc at home (haven't done the full uninstall/re-install here yet).GPI wrote:Thats good news: A good error-message. Can you please report the files in the purebasic\pbcompilers\ - directory?
Cid
Hm, not really. You can delete the Linker.out, because it is not needed anymore.
Try follow. hold shift and click on "restart compiler" (don't release), the Compiler-Window should appear. Then load your source. Now again hold shift and start compile. My fake-linker should open and show additional messages. Maybe there is something intressting...
Try follow. hold shift and click on "restart compiler" (don't release), the Compiler-Window should appear. Then load your source. Now again hold shift and start compile. My fake-linker should open and show additional messages. Maybe there is something intressting...
okay, here's what's in the fake linker window:
here's what the compiler screen looks like:

and finally, an actual pic of the error too:

Code: Select all
/OUT:"C:\My | Documents\_pbfiles\test.exe" | /ENTRY:start | Start.o | /SUBSYSTEM:Windows | /LIBPATH:"..\PureLibraries\Windows\Libraries" | PureBasic.obj | SystemBase.lib | CRTDLL.lib | KERNEL32.lib | USER32.lib | GDI32.lib | COMDLG32.lib | ADVAPI32.lib | COMCTL32.lib | 1.lib | 2.lib | 3.obj | 4.lib | 5.obj | 6.lib | 7.lib | 8.lib | 9.lib | 10.lib | 11.lib | 12.lib | 13.lib | 14.lib | 15.lib | 16.lib | ODBC32.LIB | USER32.LIB | KERNEL32.LIB | |
Before Link
len:390
/OUT:"C:\My Documents\_pbfiles\test.exe" /ENTRY:start Start.o /SUBSYSTEM:Window
s /LIBPATH:"..\PureLibraries\Windows\Libraries" PureBasic.obj SystemBase.lib CR
TDLL.lib KERNEL32.lib USER32.lib GDI32.lib COMDLG32.lib ADVAPI32.lib COMCTL32.l
ib 1.lib 2.lib 3.obj 4.lib 5.obj 6.lib 7.lib 8.lib 9.lib 10.lib 11.lib 12.lib 1
3.lib 14.lib 15.lib 16.lib ODBC32.LIB USER32.LIB KERNEL32.LIB _jaPBe_0.res
exitcode:1

and finally, an actual pic of the error too:

Cid
First @fred:
The first lines shows all the "programParamter()", seperated by a "|". It seems, that the out-parameter is here splited between "c:\MY" and "Documents". Mybe a bug of programparamter() or a bug in the pbcompiler.
@nhokem:
It seems, that no _japbe_0.rc is created (does xp-Style enable work?)
open the _jaPBe_0.rc (in the pbcompilers-directory) with jaPBe and try to compile this one.
Code: Select all
/OUT:"C:\My | Documents\_pbfiles\test.exe"@nhokem:
It seems, that no _japbe_0.rc is created (does xp-Style enable work?)
open the _jaPBe_0.rc (in the pbcompilers-directory) with jaPBe and try to compile this one.
enabling xp-skin causes the same error (with and without an icon selected).GPI wrote:@nhokem:
It seems, that no _japbe_0.rc is created (does xp-Style enable work?)
when i compile the _jaPBe_0.rc, i get no errors but the _jaPBe_0.res file is not in the pbcompilers directory (should it be there?)GPI wrote:open the _jaPBe_0.rc (in the pbcompilers-directory) with jaPBe and try to compile this one.
Cid
that worked! it created the necessary _japbe_0.res file (although i did get a "warning: No newline at end of file."). when i tried compiling my app with japbe, there was no errors and my app had the icon!!!GPI wrote:type then
"porc _japbe_0.rc"
What happend then?
However, i need to manually compile _japbe_0.rc with porc everytime i use an icon or i'll get the same icon everytime (since _japbe_0.rc doesn't seem to compile from japbe, the _japbe_0.res doesn't change until i manually run porc). btw, the _japbe_0.res file doesn't seem to get deleted anymore either (assuming it did before)...
here's the contents of my current _japbe_0.rc:GPI wrote:(Btw: can you post the _japbe_0.rc?)
Code: Select all
LANGUAGE 0x0, 0x0
1 Icon "C:\\My Documents\\_pbfiles\\dc\\waiting.ico"
thanks for walking me through all this, GPI...hopefully it narrows things down for you...
Cid
ok, good (or bad). I don't know, why jaPBe don't start porc correct...
@All with jaPBe-Compile-Problems.
Are any Spaces in the path of Purebasic or in the path of jaPBe?
When yes: Can you copy all the files of Purebasic and of jaPBe in a path without Spaces? Don't forget to set the new compiler-path in the japbe-preferences. Did this solve the problem?
Edit:
@
>although i did get a "warning: No newline at end of file."
Ignore this.
>1 Icon "C:\\My Documents\\_pbfiles\\dc\\waiting.ico"
You must not correct the path (the \\ in \). Why? This is a c-String. A \n will be replaced to chr(13)+chr(10). When you write
>1 Icon "C:\NewIcon.ico"
porc will not find the icon.
@All with jaPBe-Compile-Problems.
Are any Spaces in the path of Purebasic or in the path of jaPBe?
When yes: Can you copy all the files of Purebasic and of jaPBe in a path without Spaces? Don't forget to set the new compiler-path in the japbe-preferences. Did this solve the problem?
Edit:
@
>although i did get a "warning: No newline at end of file."
Ignore this.
>1 Icon "C:\\My Documents\\_pbfiles\\dc\\waiting.ico"
You must not correct the path (the \\ in \). Why? This is a c-String. A \n will be replaced to chr(13)+chr(10). When you write
>1 Icon "C:\NewIcon.ico"
porc will not find the icon.
Last edited by GPI on Fri Jun 11, 2004 7:05 pm, edited 1 time in total.
That may very well be why Paul's install works - there are no spaces in his paths.
Virtually every PB install is going to go into c:\Program Files\PureBasic though - so I'm surprised that more people aren't having trouble if that is the cause.. It might be that not many are using 3.91, though..
Virtually every PB install is going to go into c:\Program Files\PureBasic though - so I'm surprised that more people aren't having trouble if that is the cause.. It might be that not many are using 3.91, though..
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
heh, i meant changing the path/filename TO the new icon...GPI wrote:You must not correct the path (the \\ in \). Why? This is a c-String. A \n will be replaced to chr(13)+chr(10). When you write
>1 Icon "C:\NewIcon.ico"
porc will not find the icon.
i used to program in c/c++ back in the ol' DOS days...nothing major, mind you...in fact, I still have most of my half-written old code lying about (incl. a rogue-like rpg that never got beyond the map generator)...i do miss being forced to define variables, and those lovely CLASS structures...
unfortunately (or maybe fortunately since i've found better programming environments) i could never get the hang of VC++...nor do i like programming in VB. i prefer coding in a nice, clean, simple-looking editor...with all the bells and whistles optional (which is why i LOVE jaPBe; the fact that you can easily add-on any tools YOU want is very nice...not to mention FOLDING!!!). I never liked working with VB's form designer and found getting from that to the actual code annoying...
(how's that for going OT...)
Cid




