Re: How to set up/start a Project?

2020-07-08 Thread XxDiCaprioxX
Both dont work haha. The system / mingw compiler looks for ...gcc.exeinstead of the location of gcc.exe so it wont find the necessary file. Idk how to fix it because the Path variable is correct

Re: How to set up/start a Project?

2020-07-08 Thread federico3
I use [https://github.com/FedericoCeratto/nim_project_maker](https://github.com/FedericoCeratto/nim_project_maker) to initialize projects with some useful files

Re: How to set up/start a Project?

2020-07-07 Thread sschwarzer
Just to be sure, are you using the command `Nim` (uppercase N) or `nim` (lowercase n)? The command is `nim` (lowercase n).

Re: How to set up/start a Project?

2020-07-07 Thread XxDiCaprioxX
And there is my next problem. If i try to run anything with Nim c -r filename.nim it gives a file not found error. even if i use f6 in VS Code

Re: How to set up/start a Project?

2020-07-07 Thread XxDiCaprioxX
Thank you for the links it was hard for me to find anything

Re: How to set up/start a Project?

2020-07-07 Thread XxDiCaprioxX
Thank you, I'll look into it

Re: How to set up/start a Project?

2020-07-07 Thread treeform
This is project structure I use: [https://github.com/treeform/nimtemplate](https://github.com/treeform/nimtemplate)

Re: How to set up/start a Project?

2020-07-07 Thread sschwarzer
There's the Nim package manager [Nimble](https://github.com/nim-lang/nimble) and its README has a section on [project structure](https://github.com/nim-lang/nimble#project-structure). Also, if you use `nimble init` on the command line, it will create the structure for you to have an easy start.

Re: How to set up/start a Project?

2020-07-07 Thread Stefan_Salewski
Have you tried reading some tutorials? [https://nim-lang.org/learn.html](https://nim-lang.org/learn.html) There are also videos at youtube. Generally in Nim we do not but all objects in its own source file as it is common in Java. So generally You just create one single text file for your code

How to set up/start a Project?

2020-07-06 Thread XxDiCaprioxX
Hello Everybody, I am 100% new to Nim (I programmed exclusively in Java and a bit of Python before) the only thing I did was Hello World and now I have a question to the set up of a "real" project: Do you write all code in one file or do you use multiple files for different things (like class