Search found 1327 matches

by St_W
Sep 18, 2018 20:41
Forum: Libraries
Topic: First test of libVLC include files.
Replies: 21
Views: 4718

Re: First test of libVLC include files.

ld: impossibile trovare -lvlc linking failed: 'ld' terminated with exit code 1 The linker complains about being unable to find the library ("-l" stands for library) named "vlc". There should be a file "libvlc.a" or "vlc.so" or "libvlc.so" or similar...
by St_W
Sep 18, 2018 10:14
Forum: Beginners
Topic: How to use a dll created in Nim in FreeBasic ?
Replies: 8
Views: 146

Re: How to use a dll created in Nim in FreeBasic ?

libraries are specified using the "-l" option, so that "-l" just means "library". The library name musn not inlclude the ".dll" suffix. So the error message is correct:
"cannot find -lDllTest.dll" means:
"cannot find library DllTest.dll.dll"
by St_W
Sep 18, 2018 10:12
Forum: Projects
Topic: DWSTRING.bi - Dynamic null terminated unicode string data type
Replies: 19
Views: 1027

Re: DWSTRING.bi - Dynamic null terminated unicode string data type

When will they add this CWSTR and DWSTR into freebasic core ? After all, these data types are essential for a language. I agree that such datatypes should be part of freebasic core, but there are a few issues that prevents to use this implementation. First, it is Windows-only while FreeBasic aims a...
by St_W
Sep 17, 2018 8:20
Forum: Community Discussion
Topic: Where can I get a Recent-Git-Build of FreeBASIC?
Replies: 420
Views: 53482

Re: Where can I get a Recent-Git-Build of FreeBASIC?

At http://users.freebasic-portal.de/stw/builds/, the new 'freebasic_manual.chm' was not compiled as normally (badly IMHO): small file of 320KB instead of about 1771 KB with a poor user interface (like only html), most of the missing pages, ... There was a problem with the upload. It took nearly 9 m...
by St_W
Sep 14, 2018 7:46
Forum: Linux
Topic: Qemu on win7?
Replies: 12
Views: 229

Re: Qemu on win7?

i download latest release and win7 tells me that it is not proper win32 app? hm, there are multiple options that could trigger that message. Make sure that the architecture of Qemu and your OS match (so e.g. both 32-bit or both 64-bit; 32-bit qemu on 64-bit Windows should work too) and that you do ...
by St_W
Sep 13, 2018 12:01
Forum: Community Discussion
Topic: Feature request: instrisic Defines for console / gui mode
Replies: 54
Views: 1420

Re: Feature request: instrisic Defines for console / gui mode

I just wanted to give a few suggestions for improvement, no need to feel sorry. And btw, although I'm quite confident that they are actual improvements I don't guarantee anything as coderJeff has the final say :-) Once you submit a pull request you can still change its contents until it is merged (o...
by St_W
Sep 13, 2018 10:55
Forum: Linux
Topic: Qemu on win7?
Replies: 12
Views: 229

Re: Qemu on win7?

Just download it from https://www.qemu.org/download/#windows and install it. If you use a 64-bit Windows (most likely) use the 64-bit version, otherwise use the 32-bit version. After installation you have a lot of qemu executables for various different CPU architectures. Choose the one you want to e...
by St_W
Sep 13, 2018 10:43
Forum: Community Discussion
Topic: Feature request: instrisic Defines for console / gui mode
Replies: 54
Views: 1420

Re: Feature request: instrisic Defines for console / gui mode

looks okay so far, but you should definitely clean that up before it gets merged. For example: - squash your 10 commits into a single one with a meaningful commit message (as the changes are rather small) - using variable names that are consistent with the ones already used in fbc (e.g. have a look ...
by St_W
Sep 13, 2018 7:16
Forum: Community Discussion
Topic: Feature request: instrisic Defines for console / gui mode
Replies: 54
Views: 1420

Re: Feature request: instrisic Defines for console / gui mode

4) "Am I on the right track, so far?" You should actually fork https://github.com/freebasic/fbc and then clone your personal copy to your local development machine. It should look like e.g. https://github.com/jayrm/fbc - note the " forked from freebasic/fbc" text under the repos...
by St_W
Sep 12, 2018 6:26
Forum: Community Discussion
Topic: Feature request: instrisic Defines for console / gui mode
Replies: 54
Views: 1420

Re: Feature request: instrisic Defines for console / gui mode

I mainly agree with adele. Although we shouldn't integrate a lot of very specific stuff only needed by single users (because it needs to be maintained, documented, etc. and finally just blows up the compiler) this addition could be helpful for a few others as well. The only thing I'd like to discuss...
by St_W
Sep 11, 2018 21:00
Forum: Community Discussion
Topic: Feature request: instrisic Defines for console / gui mode
Replies: 54
Views: 1420

Re: Feature request: instrisic Defines for console / gui mode

We're mixing completely different things here. The options -s gui /console specify the subsystem to use. It is written into the exe file and cannot be changed at runtime. Neither does it matter whether a gui window is used (e.g. by calling Screen) or not. The option whether the current output is a s...
by St_W
Sep 11, 2018 8:02
Forum: Community Discussion
Topic: Feature request: instrisic Defines for console / gui mode
Replies: 54
Views: 1420

Re: Feature request: instrisic Defines for console / gui mode

No, unix does not support something like subsystems.

The option is ignored for targets other than win32/cygwin.
See also: https://freebasic.net/wiki/wikka.php?wakka=CompilerOpts
by St_W
Sep 10, 2018 15:47
Forum: Projects
Topic: FB debugger : 2.93 32/64 BIT ..... (Sept 5th, 2018)
Replies: 604
Views: 99362

Re: FB debugger : 2.93 32/64 BIT ..... (Sept 5th, 2018)

Some general info first: debug info is generated at compile time and part of the compilation result. The GNU toolchain, which FreeBasic uses, embeds that debug info in the compiled binary (e.g. EXE/DLL file). Other toolchains, like MSVC, also allow to store debug info in a separate file (e.g. PDB fi...
by St_W
Sep 10, 2018 13:00
Forum: Community Discussion
Topic: Feature request - tolerate 80_000_000 & 0xff_dd_cc_aa
Replies: 12
Views: 421

Re: Feature request - tolerate 80_000_000 & 0xff_dd_cc_aa

[...] you never know who relies on Val("1_234") returning 1 instead of 1234. Yes, we could run into compatibility issues when modifying the behaviour of the RTL functions as noted above, so I'd favor supporting this at compile time only and not change the RTL. Adding an option to revert t...
by St_W
Sep 08, 2018 13:58
Forum: Community Discussion
Topic: Feature request - tolerate 80_000_000 & 0xff_dd_cc_aa
Replies: 12
Views: 421

Re: Feature request - tolerate 80_000_000 & 0xff_dd_cc_aa

I like the idea as I know it already from other languages and doesn't cause any compatibility issues with existing code and is totally optional without bringing any disadvantages. For most uses adding support for such numeric literals at compile would perfectly do. Thus adding support for that in th...

Go to advanced search