About Store Forum Documentation Contact



Post Reply 
[SOLVED] Linux. Tutorials fail to build with "fatal error: 'new' file not found".
Author Message
titant Offline
Member

Post: #1
[SOLVED] Linux. Tutorials fail to build with "fatal error: 'new' file not found".
Hello!

Step to reproduce:
1) ubuntu, all libs and compilers are installed, nouveau vcard driver
2) start the engine, select tutorials
3) build the first one -- fails with this error.

   
   

Here is the fix:
1) install the missing libraries (the package is not included in the linux installation manual)
PHP Code:
sudo apt install g++-12 

2) I got a "ld -lGL missing" error. To fix it symlink libGL.so.1 to its default destination
PHP Code:
sudo ln -/usr/lib/x86_64-linux-gnu/libGL.so.1 /usr/lib/x86_64-linux-gnu/libGL.so 

3) And Bob's your uncle!

   
(This post was last modified: 11-12-2024 11:18 PM by titant.)
11-12-2024 10:43 PM
Find all posts by this user Quote this message in a reply
AndreasRobertoVader Offline
Member

Post: #2
RE: [SOLVED] Linux. Tutorials fail to build with "fatal error: 'new' file not fou...
To me seems like the symlink provided is already made but i have other problems.

I am fairly new to Linux utilization so i don't know whats where.

Here are the lists of missing files:

" lXi, lXinerama, lXrandr, lXmu, lodbc, ludev, lXcursor, lXxf86vm are missing all from /usr/bin/ld "

Should i download a gui for linux for all i can understand X is some graphical user interface.
11-14-2024 07:15 PM
Find all posts by this user Quote this message in a reply
titant Offline
Member

Post: #3
RE: [SOLVED] Linux. Tutorials fail to build with "fatal error: 'new' file not fou...
Hello!

Have you installed the needed libs (the quote is from the installation guide)?

Quote:Linux

If you're on Linux, then before installing the Engine you will need to install some system libraries.

Please execute the following command from the Terminal:

sudo apt-get install libxmu-dev libxi-dev libxinerama-dev libxrandr-dev libxcursor-dev libudev-dev libopenal-dev libmotif-dev unixodbc-dev lib32stdc++6 libgl1-mesa-dev libz-dev libxxf86vm-dev clang make
11-14-2024 07:32 PM
Find all posts by this user Quote this message in a reply
AndreasRobertoVader Offline
Member

Post: #4
RE: [SOLVED] Linux. Tutorials fail to build with "fatal error: 'new' file not found".
only the libudev-dev missing i am trying a distribution upgrade
11-14-2024 08:39 PM
Find all posts by this user Quote this message in a reply
Post Reply