So, I went about on my epic quest to port my game as it is, to FreeBSD. The first thing I did was get lost in the file system. After I found my way out, with help, I started working to move to a build system that wasn't an IDE. I did try to use CMake before. I had nothing but a bad time with it. Mostly because I didn't know it. Aside from just not knowing it, I was told that online a lot of the information is very wrong, or out dated, even on their site.
So I decided on Build2. I quickly set out, find what little documentation I can get a hold of on the internet. I get something working. I feel confidant. So I move it to my project. Wonderful! I thought. I fight with the errors. I assumed most of the issue was moving from Clang to VS. And from Windows to FreeBSD. As I fixed several issues, I noticed most of the issues were undefined symbols.
So I went back to google. I got this! I look and look, and what I find is that it should be linking to lua automagically. Sadly the harder I search, the less I find about build2. Actually, did you know that Build2 is also the name of a game engine. But what's confusing me is that it's only complaining in main.cpp/ or other places it's not defined. but It's not giving the undefined symbol other .cpp files.
So; does anyone here know about build to? And is that okay to ask about here?
I don't know if the problem is with how I setup Build2 or if it's how I have my header files formatted.
Edit: I did just notice that Clang was saying it was having a linking issue. Error code 1. So I don't know what I'm failing to do. I'm sure it's obvious.
So I decided on Build2. I quickly set out, find what little documentation I can get a hold of on the internet. I get something working. I feel confidant. So I move it to my project. Wonderful! I thought. I fight with the errors. I assumed most of the issue was moving from Clang to VS. And from Windows to FreeBSD. As I fixed several issues, I noticed most of the issues were undefined symbols.
So I went back to google. I got this! I look and look, and what I find is that it should be linking to lua automagically. Sadly the harder I search, the less I find about build2. Actually, did you know that Build2 is also the name of a game engine. But what's confusing me is that it's only complaining in main.cpp/ or other places it's not defined. but It's not giving the undefined symbol other .cpp files.
So; does anyone here know about build to? And is that okay to ask about here?
I don't know if the problem is with how I setup Build2 or if it's how I have my header files formatted.
Edit: I did just notice that Clang was saying it was having a linking issue. Error code 1. So I don't know what I'm failing to do. I'm sure it's obvious.