C/C++ code cannot print to the console
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- NetherGranite
- Prole
- Posts: 30
- Joined: Wed Jul 11, 2018 11:08 pm
C/C++ code cannot print to the console
Print tools like printf and std::cout in code that is loaded as a Lua module don't print to the console that comes with lovec. Is this just a problem with my computer? If not, is there a way around this?
Re: C/C++ code cannot print to the console
Works for me on Linux. It must be a Windows thing.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: C/C++ code cannot print to the console
On windows you need to make sure you link against the dynamic library version of the (same) c runtime. We've seen before that mixing runtimes causes output issues, for some reason.
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 8 guests