Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Another Question about EXPORT / WAS: ...GLADE
#11
Quote:I translated that code from the gladewin32 project's dev-cpp example, i've no knowledge of Gtk+, i just did a plain translation to test stuff.

Glade is way cool, btw, thanks for pointing me it Wink

You're welcome Big Grin
I compiled fbc and got the problem (exported function only accepts the return statement) with the functions solved.
Thanks for that.


Another question though:

I still need a second bas file with the exported functions in it.
Can't have the exported functions in the main file - the error occurs: 'no symbol found'.

Is this intentional ?


If so no prob, just need to know the right approach.

Thanks again for your hard work
Reply
#12
BTW:
While compiling fbc and the rtlib with Dev-Cpp i had to copy fbc and some other stuff (needed by fb) to the dev-cpp folder.
This way I was able to use your makefile without changes...

This said I was able to use :
gcc to compile the rtlib
and :
fbc to compile fbc_new
with the same dev environment :o

So I thought: actually Dev-Cpp could be used to code FreeBASIC files.
It's already all in there (compiler output and error messages etc., don't know about the debugger though...), and open source.
The only thing needed to do is to merge/copy the fb directory structure to the dev-cpp directory one, so all libs and other files are in place.

Maybe it's even possible to take the dev-cpp sources and make a dev environment dedicated to fb (on the other hand, if the original dev-cpp is used, it's possible to compile the rtlib!).

Don't know how much work it is to make a basic-language syntax highlite-file for dev-cpp.
Another thing is that MAKE is used, and so a makefile is needed for every project :barf:

EDIT
It seems that the syntax highliting function in dev-cpp is hardcoded.
No file found for this... Cry
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)