QB64.org Forum

Active Forums => QB64 Discussion => Topic started by: cs1964 on December 26, 2019, 10:05:59 am

Title: amd a6 vs i7-8700 processor problem
Post by: cs1964 on December 26, 2019, 10:05:59 am
I have written a qb64 program that works on the AMD A6 processor but does not work on the i7-8700 processor.  Any ideas why the program does not work on i7??
Title: Re: amd a6 vs i7-8700 processor problem
Post by: Cobalt on December 26, 2019, 10:22:32 am
Really need more information on your problem, how does it not work might be a start, which version of QB64 are you using, ect.
Title: Re: amd a6 vs i7-8700 processor problem
Post by: cs1964 on December 26, 2019, 10:57:12 am
I am using version 1.3 and the program does not even come up with an opening screen on the pc with i7.  The only other difference is one pc is a hp(amd) and the other is a dell(i7).

This is happening on 4 different programs,  I do have 2 or 3 programs that work on the dell(i7) but not all and I can't seem to find a common link.

Is there anything else I should be checking.

Thank you
Title: Re: amd a6 vs i7-8700 processor problem
Post by: Petr on December 26, 2019, 11:03:24 am
How OS you use? Its the same OS on both PC's?
Title: Re: amd a6 vs i7-8700 processor problem
Post by: cs1964 on December 26, 2019, 11:11:35 am
I am using win 10 on both pc's. 
Title: Re: amd a6 vs i7-8700 processor problem
Post by: Petr on December 26, 2019, 11:23:51 am
Without the source code, it is hard to say what is wrong. Do you use external BI, BM, or dynamic library files? Do you use external files? Do you have all the necessary files on both computers? Do you use relative file paths or full file paths? Do you have QB64 installed on both computers, or just copy the compiled EXE files to the other computer? Have you tried to compile the same source code again in  computer where it doesn't work?
After a startup, a non-working program terminates and the work is passed back to the operating system, or does it remain running and end with the task manager? You are using fonts? Are in both PCs?
Title: Re: amd a6 vs i7-8700 processor problem
Post by: SMcNeill on December 26, 2019, 11:37:19 am
Is one 32-bit, while the other is 64-bit? 
Title: Re: amd a6 vs i7-8700 processor problem
Post by: TempodiBasic on December 26, 2019, 03:47:46 pm
Hey guys
what do you think to put a list of these questions to help beginner and not only them to track the problem? Just a check list.

this is only a summary of your suggestions:
1. Is the same program that shows the problem or two different compiled copy?
2. Is one 32-bit, while the other is 64-bit? Have they the same OS?
3. Which version of QB64 are you using?
4. Do you copy the program into computers or do you compile it on the same computers?
5. Do you use external BI, BM, or dynamic library files? Do you use external files? Do you have all the necessary files on both computers?
6. Do you use relative file paths or full file paths?
7. Do you have QB64 installed on both computers? And the two copies have the same version?
8. Have you tried to compile the same source code again in  computer where it doesn't work?

Title: Re: amd a6 vs i7-8700 processor problem
Post by: Petr on December 26, 2019, 03:55:10 pm
Hello. :)  Quite an essential note :)
Title: Re: amd a6 vs i7-8700 processor problem
Post by: Bert22306 on December 27, 2019, 03:22:37 pm
I have written a qb64 program that works on the AMD A6 processor but does not work on the i7-8700 processor.  Any ideas why the program does not work on i7??

Like the others responding, I think we need more info. My impression is that this might have less to do with the CPU, and perhaps more to do with peripheral interface hardware you are trying to use?
Title: Re: amd a6 vs i7-8700 processor problem
Post by: SMcNeill on December 27, 2019, 03:33:04 pm
Like the others responding, I think we need more info. My impression is that this might have less to do with the CPU, and perhaps more to do with peripheral interface hardware you are trying to use?

I’m wondering if one is using 32-bit libraries on a 64-bit OS, or vice versa.  Trying to do so can lead to an instant seg fault and window closing as fast as it opens, as he described, and it’d explain why it works on one and not the other.
Title: Re: amd a6 vs i7-8700 processor problem
Post by: RhoSigma on December 27, 2019, 03:55:39 pm
The one and only time I had a program just exiting without any visible live sign was years back with the SDL version, when I tried to run a program containing a BEEP on a system without any sound hardware. The SDL_mixer failed to initalize and just did an exit(10001).

So I think Bert could be right, and still in the current version 1.3 are lots of such exit() calls.

Is there a way to run the program from an command prompt and then check the errorlevel, without writing a *.bat file?, I've no idea if there's is a way to check the returned errorlevel directly at the prompt outside of a .bat