Questions tagged [G++] (32)

2
answers

How to connect the library using MinGW?

Decided not to use Visual studio or Code::Blocks, installed MinGW. The compilation seems clear. Got another question, how to connect the library. Watched a couple of videos, read a couple of articles, but never found. As I understand this requires linking. Let's say I would like to use GLFW. Threw the desired files into the...
Troy.Walter asked April 19th 20 at 12:07
2
answers

Why g++ from MinGW-w64 doesn't know about _beginthread and about conio.h?

Hello! Can't figure out how to compile it in g++ (MinGW-w64) on Windows. Compile like this:g++ -o app.exe app_source.cpp g++ complains about file not found conio.h. In addition, in the process.h should be the Declaration of the function _beginthread. It is written on microsoft.com. The output of the compiler: spoilerC:\xcv...
Stuart asked April 4th 20 at 00:44
1
answer

Is there a compatibility table of compilers and versions of libraries?

In General, the essence of the question is, which versions of the standards C are represented in one form or another, versions of libraries libstdc++ For example, there is a conclusion[root@nightmare bin]# strings /lib/libstdc++.so.6 | grep GLIBC GLIBCXX_3.4 GLIBCXX_3.4.1 GLIBCXX_3.4.2 GLIBCXX_3.4.3 GLIBCXX_3.4.4 GLIBCXX_3....
Micheal.Gusikowski asked March 30th 20 at 00:49
2
answers

Install 32-bit boost libraries in ubuntu?

In General, the task was to connect restsdk to the project in linux for compiling 32 bit library. Compile, and that's what comes outthe independent@independent-W35xSS-370SS:~/workbench/ukau-gmod-module$ ./compile.sh /usr/bin/ld: /tmp/cc9Ec8ui.o: in function `_GLOBAL__sub_I_main.cpp': main.cpp:(.text+0xb0): undefined refere...
Wanda.Armstrong2 asked March 29th 20 at 21:35
3
answers

Why not compile SFML app?

I wanted to make a GUI for SFML (2.5.1), but when you compile your code is constantly the same error. Development environment: Eclipse-Cpp15:49:16 **** Incremental Build of configuration Debug for project vanilla **** Info: Internal Builder is used for build g++ -o vanilla.exe "src\\log.o" "src\\vanilla.o", "- lC:\\Users\\v...
alexandra_Jer asked March 19th 20 at 20:07
1
answer

Where to find latest version toolchain arm?

Good time of day. Engaged in application development for pos terminal, NEWPOS 8210. Provided the following tulchan (from the documentation):The toolchain for NEW8210 is based on ARM cross compile toolchain which has the version of glibc-2.9 and gcc-4.3.4 The compiler included in tulcan arm-unknown-linux-gnu-g++ Online a lo...
price.Jenki asked March 19th 20 at 10:10
2
answers

How to compile cpp in linux with additional library?

error$g++ -I.-libsshpp.cpp -o libsshpp /usr/bin/ld: /tmp/ccHZZCyj.o: in function `ssh::SshException::SshException(ssh_session_struct*)': libsshpp.cpp:(.text._ZN3ssh12SshExceptionC2EP18ssh_session_struct[_ZN3ssh12SshExceptionC5EP18ssh_session_struct]+0x29): undefined reference to `ssh_get_error_code' /usr/bin/ld: libsshpp.cp...
Noemi_Veum asked March 19th 20 at 09:48
1
answer

How to use third-party C++ library in Visual Code on Linux?

Sitting on Ubuntu'vskom distribution, write in C++, for these purposes, I use Microsoft Visual Code. I want to try to work with the SFML library, then with boost, how to connect? In Linux I'm not a Pro, so please help.
malcolm.OHara asked March 12th 20 at 16:33
7
answers

Does not compile helloworld.cpp in g++

#include <iostream> int main () { cout << "Hello world\n"; } </iostream> Code taken from Stroustrup, second edition. g++ helloworld.cpp -o helloworld.cpp<br / > helloworld.cpp In function "int main()":<br> helloworld.cpp:5:3: error: no Declaration "cout" in this scope<br> helloworld.cp...
Marshall.Lakin74 asked October 8th 19 at 07:42
3
answers

G++ and linking order

You have a working Qt application. Trying to put it in a static exe. Stuck on the following problem: Not want you want to link to the plugin phonon_ds9. Throws undefined reference sheet: pastebin.com/fQmF5Q6a Namely, plugging in the following command: g++ -Wl,-s-mthreads -Wl,-subsystem,windows -o release\app.exe object_scr...
Enos_Bedn asked October 7th 19 at 15:20