It is currently Mon Sep 28, 2020 7:23 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 32 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: OpenGL Accelerated 2D Engine (with SFML)
PostPosted: Mon Aug 31, 2020 9:42 am 
Offline
Enthusiast
Enthusiast

Joined: Thu May 06, 2010 10:16 am
Posts: 609
Location: Belgium
Hi BarryG,

Same here, I bought a lot of stuff here in 10 years time,
and yes, a lot of them are disappeared.

But I'm still believing in good work...

@IndigoFuzz,

Don't give up ...


greetings,
marc

_________________
- every professional was once an amateur - greetings from Pajottenland - Belgium -
PS: sorry for my english I speak flemish ...


Top
 Profile  
Reply with quote  
 Post subject: Re: OpenGL Accelerated 2D Engine (with SFML)
PostPosted: Mon Aug 31, 2020 10:00 am 
Offline
User
User
User avatar

Joined: Wed Sep 10, 2014 1:40 am
Posts: 51
Location: United Kingdom
Don't worry chaps! I wont let you down.. or if I do I will make sure the source code is put on gitlab so you folks can tinker with it

_________________
Regards!

Mike


Top
 Profile  
Reply with quote  
 Post subject: Re: OpenGL Accelerated 2D Engine (mit SFML)
PostPosted: Mon Aug 31, 2020 10:07 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Apr 05, 2020 11:28 am
Posts: 231
Location: Pandora
viewtopic.php?f=17&t=58221

It remains to be seen how good or bad it will be and whether it will find acceptance at all.

_________________
地球上の平和


Top
 Profile  
Reply with quote  
 Post subject: Re: OpenGL Accelerated 2D Engine (mit SFML)
PostPosted: Mon Aug 31, 2020 10:54 am 
Offline
User
User
User avatar

Joined: Wed Sep 10, 2014 1:40 am
Posts: 51
Location: United Kingdom
Saki wrote:
https://www.purebasic.fr/english/viewtopic.php?f=17&t=58221

It remains to be seen how good or bad it will be and whether it will find acceptance at all.


Such a cynic! If I were to be hit by a bus tomorrow, the DLL C++ code is there, as well as the purebasic includes, so anyone who sat down, compiled SFML statically with unicode for both x86 and x64, and created a DLL using those source files could create it too :)

_________________
Regards!

Mike


Top
 Profile  
Reply with quote  
 Post subject: Re: OpenGL Accelerated 2D Engine (with SFML)
PostPosted: Mon Aug 31, 2020 11:12 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Apr 05, 2020 11:28 am
Posts: 231
Location: Pandora
Unnecessary blah blah

_________________
地球上の平和


Top
 Profile  
Reply with quote  
 Post subject: Re: OpenGL Accelerated 2D Engine (with SFML)
PostPosted: Mon Aug 31, 2020 12:38 pm 
Offline
User
User
User avatar

Joined: Wed Sep 10, 2014 1:40 am
Posts: 51
Location: United Kingdom
Moved to GitLab

Sample and include source (mfwlib.dll source will eventually be added too once some refactoring is done, and made a little more elegant)

GitLab Project Group
https://gitlab.com/mfwlib

Samples Repo
https://gitlab.com/mfwlib/sample

Include Repo
https://gitlab.com/mfwlib/mfw

First post to be updated.

_________________
Regards!

Mike


Top
 Profile  
Reply with quote  
 Post subject: Re: [Framework] OpenGL Accelerated 2D Engine (with SFML)
PostPosted: Mon Aug 31, 2020 2:47 pm 
Offline
User
User
User avatar

Joined: Wed Sep 10, 2014 1:40 am
Posts: 51
Location: United Kingdom
To keep @Saki happy and off my back, the source code for the DLL has now also been pushed to GitLab containing

  • Microsoft Visual Studio 2019 Solution & Project for compiling both x86 and x64 versions.
  • Precompiled static libraries of SFML and Squirrel for Visual Studio 2019
  • Licences

Source can be found here: https://gitlab.com/mfwlib/mfwlib-src

_________________
Regards!

Mike


Top
 Profile  
Reply with quote  
 Post subject: Re: [Framework] OpenGL Accelerated 2D Engine (with SFML)
PostPosted: Mon Aug 31, 2020 3:11 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Apr 05, 2020 11:28 am
Posts: 231
Location: Pandora
Well, that was a good decision, the best one !

I wouldn't have bothered you any further.
It is necessary that new things come.
I myself will probably not use it, but others will.

I wish you much success with the project.

_________________
地球上の平和


Top
 Profile  
Reply with quote  
 Post subject: Re: [Framework] OpenGL Accelerated 2D Engine (with SFML)
PostPosted: Tue Sep 01, 2020 9:30 am 
Offline
Enthusiast
Enthusiast

Joined: Fri Feb 24, 2012 10:19 am
Posts: 186
I've got this message "[Fatal Error] Library mfwlib.dll was not found."

I use WIndows XP 32b and i did all the Instructions (If Downloading rather than Cloning)
"Download the repo as an archive and extract it somewhere : OK
Download the mfw repo separately and copy the files into the mfw directory of the samples.: OK
Copy the appropriate shared library to the root (sample) directory from the 'mfw/bin/[platform]/' directory.: OK
Run the desired example!": OK but [Fatal Error] Library mfwlib.dll was not found.

M.


Top
 Profile  
Reply with quote  
 Post subject: Re: [Framework] OpenGL Accelerated 2D Engine (with SFML)
PostPosted: Tue Sep 01, 2020 1:30 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Tue Apr 27, 2010 3:20 pm
Posts: 148
Location: Wales, United Kingdom
Mesa wrote:
I've got this message "[Fatal Error] Library mfwlib.dll was not found."

I use WIndows XP 32b and i did all the Instructions (If Downloading rather than Cloning)
"Download the repo as an archive and extract it somewhere : OK
Download the mfw repo separately and copy the files into the mfw directory of the samples.: OK
Copy the appropriate shared library to the root (sample) directory from the 'mfw/bin/[platform]/' directory.: OK
Run the desired example!": OK but [Fatal Error] Library mfwlib.dll was not found.

M.


Make sure the current working directory is the same as where the DLL is housed and that the DLL is in the same directory as the sample. That error is thrown when the filesize is < 1

Code:
If FileSize(#MFWCORE) > 0
...
Else
  mfwFatalError("Library " + #MFWCORE + " was not found.")
EndIf

_________________
Thanks!


Top
 Profile  
Reply with quote  
 Post subject: Re: [Framework] OpenGL Accelerated 2D Engine (with SFML)
PostPosted: Tue Sep 01, 2020 3:04 pm 
Offline
Enthusiast
Enthusiast

Joined: Fri Feb 24, 2012 10:19 am
Posts: 186
In corelib.pbi, i replaced '#MFWCORE' by 'GetCurrentDirectory()+#MFWCORE' and the dll is found now but i have another message: [Fatal Error] Library X:\...\mfwlib.dll could not be opened.
The dll can't be opened.

M.


Top
 Profile  
Reply with quote  
 Post subject: Re: [Framework] OpenGL Accelerated 2D Engine (with SFML)
PostPosted: Tue Sep 01, 2020 3:13 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Tue Apr 27, 2010 3:20 pm
Posts: 148
Location: Wales, United Kingdom
Mesa wrote:
In corelib.pbi, i replaced '#MFWCORE' by 'GetCurrentDirectory()+#MFWCORE' and the dll is found now but i have another message: [Fatal Error] Library X:\...\mfwlib.dll could not be opened.
The dll can't be opened.

M.


More than likely because Windows XP became end of life 6 years ago and the later Visual Studio version platform toolsets no longer support it either. You would have to compile the dependencies and the library yourself

_________________
Thanks!


Top
 Profile  
Reply with quote  
 Post subject: Re: [Framework] OpenGL Accelerated 2D Engine (with SFML)
PostPosted: Tue Sep 01, 2020 6:02 pm 
Offline
Addict
Addict
User avatar

Joined: Fri May 12, 2006 6:51 pm
Posts: 2662
Location: Germany
Never use GetCurrentDirectory(). Is not sure to path of Program

Example
Code:
Debug GetCurrentDirectory()
PathProg.s = GetPathPart(ProgramFilename())
Debug PathProg
PathDLL.s = PathProg + "Library\mfwlib.dll"
Debug PathDLL

And set Compiler Options
- Create temporary executable in the source directory

_________________
My Projects ThreadToGUI / OOP-BaseClass / OOP-BaseClassDispatch / EventDesigner V3
PB v3.30 / v5.70 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace


Top
 Profile  
Reply with quote  
 Post subject: Re: [Framework] OpenGL Accelerated 2D Engine (with SFML)
PostPosted: Fri Sep 11, 2020 12:28 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Dec 23, 2009 3:26 pm
Posts: 212
Any news?

_________________
poor English...

PureBasic & Delphi & VBA


Top
 Profile  
Reply with quote  
 Post subject: Re: [Framework] OpenGL Accelerated 2D Engine (with SFML)
PostPosted: Fri Sep 11, 2020 9:11 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Tue Apr 27, 2010 3:20 pm
Posts: 148
Location: Wales, United Kingdom
leonhardt wrote:
Any news?


Yes, there's news - My account IndigoFuzz got disabled because I was switching e-mail over to new e-mail, and accidentally put .co.uk instead of .com, and now I have no way to re-enable it (and sent an email to support over a week ago, as well as messaged 3 admins on here with no response still) and luckily I realised I had this account too.

As for the codebase, unfortunately a family emergency has meant I've been away for the best part of the week so has impacted my tinker time a bit. I'll be back tomorrow so will get the event code wrapped up at the least and merge that into the master branch with x86 and x64 DLLs compiled

And please folks who are playing with it - leave feedback on your experiences just to show there is interest in this as I'll know to keep developing this on the side (since most of what my own project needs is done now with it)

_________________
Thanks!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 32 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye