MSX FUSION-C, Talking about bugs, errors, mistakes

페이지 13/18
6 | 7 | 8 | 9 | 10 | 11 | 12 | | 14 | 15 | 16 | 17 | 18

By akumajo

Resident (43)

akumajo의 아바타

26-11-2019, 22:09

You can put your project in any folder you want, You just have to initialize the following environment variables :

Using Windows, suppose "fusion-c" folder is in C:\Fusion-C-v1.2
( so, C:\Fusion-C-v1.2\fusion-c )

before calling compil.bat :
SET FC=C:\Fusion-C-v1.2

add in compil.bat :
SET SDCC_INCLUDE=%FC%\fusion-c

and modify :
SET INCLUDEDIR=%FC%\fusion-c\include\
SET LIBDIR=%FC%\fusion-c\lib\

Same thing if you use Linux with export and ${FC} in compil.sh

By yustmenl

Supporter (14)

yustmenl의 아바타

27-11-2019, 08:07

Ok thanks, i wil give it a try

By yustmenl

Supporter (14)

yustmenl의 아바타

29-11-2019, 13:32

I tested it and it works, thanks.
Now it's time for me to learn C Big smile

By DRomero

Expert (125)

DRomero의 아바타

02-01-2020, 00:38

Hello, first i need to say thanks to Eric Boez & co. for the book and the libraries, this is an amazing piece of work, thanks again.

I have a question, in the book Sublime Text is recommended as an IDE but Sublime Text is NOT free software, you have to pay for use it and it's not cheap...

I don't care paying for an IDE but for sure there are x100 better options oustide like Visual Studio Code, and in this case it's free (and better).

Now the questions... Has anyone configured & Integrated SDCC with Visual Studio Code? What extensions do you use?

It's possible to make a few macros in VS Code like compile/run in openMSX /debug etc?

I know maybe is out the scope of the book contemplating other IDEs but really, i don't like to spend $80 bucks for a text editor so if anyone have a few tricks to share with VSCode will be great and appreciated.

Thanks and happy new year to all Smile

By ericb59

Paladin (961)

ericb59의 아바타

02-01-2020, 09:02

@DRomero
First thank you for your interest in FUSION-C.
I recommended SUBLIME TEXT because it is with this IDE that I work, and because it exists on Windows / MacOS / LINUX platforms. I want FUSION-C to be a multi-platform tool.
SUBLIME TEXT is not free, but it can be used completely free as long as you want, without limitation of functionalities. There is just one POP UP that appears every 100 files saved.

Of course, you can use other IDE. The best IDE is the one we know best. Big smile
I know AKUMAJO is coding with ECLIPSE. Perhaps he can give you (us) the way to configure it for FUSION-C

By akumajo

Resident (43)

akumajo의 아바타

02-01-2020, 09:18

Hello everybody!
Best wishes for the new year!

As Eric said, I use Eclipse for coding programs in C, C++, Java. But I have no experience in using Visual Studio because my home computer OS is Linux. Eclipse is free, widely used and works on MacOS / Windows / Linux.
With Eclipse you can duplicate a template project (with individual MSX-DOS directory), compile for MSX1 or MSX2 and more, launch you program.

If any of you are interested in using Fusion-C with Eclipse, let me know Wink

By DRomero

Expert (125)

DRomero의 아바타

02-01-2020, 09:22

Thanks Eric. Didn't know you can use Subline without limitations as free software. Just saw the Not Free tag at their webpage and the price, that's why I asked. If it's only a few popups I can deal with it.

Any way didn't want to sound rude or anything, love the book Smile

Will use sublime then, but if anyone has a working environment for Visual Studio Code (its multi platform too, it works on Linux, Mac and Windows) and can share their config should be a plus.

Thanks Smile

By DRomero

Expert (125)

DRomero의 아바타

02-01-2020, 09:28

Thanks akumajo, I think both of you are confusing the big Visual Studio IDE used to compile Windows Apps and Visual Studio Code... the last is multi platform Smile

Anyway thanks Smile

By akumajo

Resident (43)

akumajo의 아바타

02-01-2020, 09:50

Right, I don't know either Visuel Studio Code, I wish you good developments with Fusion-C Dromero Smile

By Wolverine_nl

Paragon (1101)

Wolverine_nl의 아바타

02-01-2020, 11:05

Hi, best wishes for 2020 all firstly,

I use Fusion-C with Visual Studio Code, but have not figured out a way to use the compile function yet, didn't really try it, I use a batch file.
I used to use Code-Blocks as an IDE, I did manage to use compile functionality in it.

I will try to make it really work and post it in this thread. Smile

페이지 13/18
6 | 7 | 8 | 9 | 10 | 11 | 12 | | 14 | 15 | 16 | 17 | 18