-
Notifications
You must be signed in to change notification settings - Fork 460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add CMake support #41
Conversation
@davidrmiller want me to check the cmake instructions shown in the readme from inside of the docker container? Otherwise I don't (off the top of my head) know of any need to change the image to continue supporting the Is there any particular benefit to using cmake over make if one is developing without an IDE? |
@mathematicalmichael , I would love your evaluation on the impact to the docker container, thanks. |
src/CMakeLists.txt
Outdated
include_directories( ${OpenCV_INCLUDE_DIRS} ) | ||
|
||
SET(GCC_COVERAGE_COMPILE_FLAGS "-O3 -Wall -fexceptions -fopenmp") | ||
SET(GCC_COVERAGE_LINK_FLAGS "-lpthread -O3 -s -lz -lgomp") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why add the -s option? This strips out all debug information from the executable, making debugging impossible. Since I'm not really that familiar with gcc flags, I spent quite a while trying to figure out why debugging doesn't work.
@davidrmiller fwiw, the docker image doesn't contain |
personal take: I suppose since |
Thanks @apatho for this suggestion.
I'm entirely new to this but i checked every file and understood what each does. can anyone tell me how to execute all these and make them into a single console program? I'm good at interface build so i can alter a few layouts and make it seem like a real game into fun but i need all ur help. pls text my mail [email protected] if anyone knows how to work this out |
Hi @NitishDragneel , If you follow the steps in the README, the result will be a console program. There's no GUI in this project, but there are forks of the project that include a graphical interface. If you encounter any problem following the README, let us know how far you got and what problem you encountered and we'll try to help. |
Hey hii I'm very much confused because ubuntu is new to me.... Can i get your email id? Or wherever i can contact you personally pls? This is something im very much interested to learn |
@NitishDragneel, I applaud your willingness to explore new territory. I assume you're a Windows user. Since I rarely use Windows, it's best if we keep this discussion public where others can contribute their expertise. Your first step is to set up an Ubuntu development environment on Windows. As I understand it, you have several options. One way is with WSL, the Windows Subsystem for Linux. Another is to set up an Ubuntu virtual machine with VirtualBox. Check out Issue #89 as it may have additional information on those options. Other options include setting up a dual-boot computer that boots Windows and Linux, or load Linux onto a spare computer and dedicate that computer for Linux development. Once you are able to invoke a Linux terminal by whatever method, then you should be able to clone the biosim4 repository, install the dependencies mentioned in the README file, and execute make to generate an executable program. If you get stuck along the way, feel free to open a new Issue with specific questions. Good luck! |
DEPRECATED: The legacy builder is deprecated and will be removed in a
future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the
docker daemon running?
this is the first issue im facing when i try to build docker with "docker
build -t biosim4 ."
…On Tue, Jan 16, 2024 at 11:09 AM David R. Miller ***@***.***> wrote:
@NitishDragneel <https://github.com/NitishDragneel>, I applaud your
willingness to explore new territory.
I assume you're a Windows user. Since I rarely use Windows, it's best if
we keep this discussion public where others can contribute their expertise.
Your first step is to set up an Ubuntu development environment on Windows.
As I understand it, you have several options. One way is with WSL, the
Windows Subsystem for Linux. Another is to set up an Ubuntu virtual machine
with VirtualBox. Check out Issue #89
<#89> as it may have
additional information on those options. Other options include setting up a
dual-boot computer that boots Windows and Linux, or load Linux onto a spare
computer and dedicate that computer for Linux development.
Once you are able to invoke a Linux terminal by whatever method, then you
should be able to clone the biosim4 repository, install the dependencies
mentioned in the README file, and execute make to generate an executable
program.
If you get stuck along the way, feel free to open a new Issue with
specific questions. Good luck!
—
Reply to this email directly, view it on GitHub
<#41 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BDRSYX6RFKK3VBOOSZLMQGTYOYG73AVCNFSM5J4VOUQ2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBZGMYTAMJVGI3A>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@NitishDragneel, since this discussion has shifted to docker, I opened Issue #97 about this. Let's continue this discussion there. |
Comments are welcome.
Are any changes needed in the docker support?
Is the README.md file sufficiently clear?