The procedure entry point cgD3D9UnbindProgram could not
be located in the dynamic link library cgD3D9.dll
rubenwardy wrote:I built irrlicht with CG shader support, and I forget to use standard irrlicht for the nb generator
Evergreen wrote:Hey rubenwardy! I made a bash script that automatically compiles your node box generator in your desktop. Please tell me what you think.
Code:Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
#!/bin/bash
echo ""
echo "********************************************"
echo "* *"
echo "* The-NodeBox-Generator Compiler *"
echo "* *"
echo "********************************************"
echo ""
sleep 2s
echo "Program made by rubenwardy, bash script automatic compiler made by Evergreen."
echo "https://github.com/rubenwardy/The-NodeBox-Generator"
sleep 4s
cd ~/Desktop
wget https://github.com/rubenwardy/The-NodeBox-Generator/tarball/master -O The-NodeBox-Generator.tar.gz
tar xf The-NodeBox-Generator.tar.gz
cd rubenwardy-The-NodeBox-Generator-*
sudo apt-get install build-essential libirrlicht-dev cmake libpng12-dev libjpeg8-dev libgl1-mesa-dev
cmake .
make -j2
cd ..
rm The-NodeBox-Generator.tar.gz
mv rubenwardy-The-NodeBox-Generator-*/ The\ NodeBox\ Generator/
cd The\ NodeBox\ Generator/
rm CMake*
rm cmake*
rm Makefile
rm -r cmake/
rm -r CMakeFiles
echo "Compilation complete."
sleep 1s
Download
Also, remember to change the extension to .sh and chmod +x it.
bash new.sh chmod +x
I believe that this works in ubuntu only. (I think)qwrwed wrote:Evergreen wrote:Hey rubenwardy! I made a bash script that automatically compiles your node box generator in your desktop. Please tell me what you think.
Code:Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
#!/bin/bash
echo ""
echo "********************************************"
echo "* *"
echo "* The-NodeBox-Generator Compiler *"
echo "* *"
echo "********************************************"
echo ""
sleep 2s
echo "Program made by rubenwardy, bash script automatic compiler made by Evergreen."
echo "https://github.com/rubenwardy/The-NodeBox-Generator"
sleep 4s
cd ~/Desktop
wget https://github.com/rubenwardy/The-NodeBox-Generator/tarball/master -O The-NodeBox-Generator.tar.gz
tar xf The-NodeBox-Generator.tar.gz
cd rubenwardy-The-NodeBox-Generator-*
sudo apt-get install build-essential libirrlicht-dev cmake libpng12-dev libjpeg8-dev libgl1-mesa-dev
cmake .
make -j2
cd ..
rm The-NodeBox-Generator.tar.gz
mv rubenwardy-The-NodeBox-Generator-*/ The\ NodeBox\ Generator/
cd The\ NodeBox\ Generator/
rm CMake*
rm cmake*
rm Makefile
rm -r cmake/
rm -r CMakeFiles
echo "Compilation complete."
sleep 1s
Download
Also, remember to change the extension to .sh and chmod +x it.
I am very new to Git (as in only created two repositories a couple of hours earlier new) so can someone explain or link to exactly how to run this?
Edit: I saved this into a .sh file as new.sh, put it in my Github folder, extracted the 0.5 zip file into the same place, then in Git Shell I typedYour phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.This ran the script, but most of the commands (wget, cmake and make) were not found, and it also said "tar:The-NodeBox-Generator.tar.gz: Cannot open: No such file or directory"
- Code: Select all
bash new.sh chmod +x
I have extracted the .zip file into the same place as the bash script, but it does not have the extension of .gz, and there was no tar file.
procedure entry point cgD3D9UnbindProgram could not be located in the dynamic link library
Dan Duncombe wrote:[...]The procedure entry point cgD3D9UnbindProgram could not
be located in the dynamic link library cgD3D9.dll
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libIrrlicht.a(CIrrDeviceLinux.o): undefined reference to symbol 'XF86VidModeGetGamma'
/usr/bin/ld: note: 'XF86VidModeGetGamma' is defined in DSO /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 so try adding it to the linker command line
/usr/lib/x86_64-linux-gnu/libXxf86vm.so.1: could not read symbols: Ungültiger Vorgang
collect2: Fehler: ld gab 1 als Ende-Status zurück
make[2]: *** [NodeBoxGenerator] Fehler 1
make[1]: *** [CMakeFiles/NodeBoxGenerator.dir/all] Fehler 2
make: *** [all] Fehler 2
PenguinDad wrote:When I try to compile it I get this error.Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libIrrlicht.a(CIrrDeviceLinux.o): undefined reference to symbol 'XF86VidModeGetGamma'
/usr/bin/ld: note: 'XF86VidModeGetGamma' is defined in DSO /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 so try adding it to the linker command line
/usr/lib/x86_64-linux-gnu/libXxf86vm.so.1: could not read symbols: Ungültiger Vorgang
collect2: Fehler: ld gab 1 als Ende-Status zurück
make[2]: *** [NodeBoxGenerator] Fehler 1
make[1]: *** [CMakeFiles/NodeBoxGenerator.dir/all] Fehler 2
make: *** [all] Fehler 2
I'm using Xubuntu 13.04.
kaeza wrote:PenguinDad wrote:When I try to compile it I get this error.Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libIrrlicht.a(CIrrDeviceLinux.o): undefined reference to symbol 'XF86VidModeGetGamma'
/usr/bin/ld: note: 'XF86VidModeGetGamma' is defined in DSO /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 so try adding it to the linker command line
/usr/lib/x86_64-linux-gnu/libXxf86vm.so.1: could not read symbols: Ungültiger Vorgang
collect2: Fehler: ld gab 1 als Ende-Status zurück
make[2]: *** [NodeBoxGenerator] Fehler 1
make[1]: *** [CMakeFiles/NodeBoxGenerator.dir/all] Fehler 2
make: *** [all] Fehler 2
I'm using Xubuntu 13.04.
Same as this error it seems: https://forum.minetest.net/viewtopic.php?pid=88770#p88770
PenguinDad wrote:kaeza wrote:PenguinDad wrote:When I try to compile it I get this error.Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libIrrlicht.a(CIrrDeviceLinux.o): undefined reference to symbol 'XF86VidModeGetGamma'
/usr/bin/ld: note: 'XF86VidModeGetGamma' is defined in DSO /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 so try adding it to the linker command line
/usr/lib/x86_64-linux-gnu/libXxf86vm.so.1: could not read symbols: Ungültiger Vorgang
collect2: Fehler: ld gab 1 als Ende-Status zurück
make[2]: *** [NodeBoxGenerator] Fehler 1
make[1]: *** [CMakeFiles/NodeBoxGenerator.dir/all] Fehler 2
make: *** [all] Fehler 2
I'm using Xubuntu 13.04.
Same as this error it seems: https://forum.minetest.net/viewtopic.php?pid=88770#p88770
Yes it's the same error but I don't know how to fix that.
sfan5 wrote:For all people on linux that have the same problem as me:
After the "cmake ." step:
Open CMakeFiles/NodeBoxGenerator.dir/link.txt in an editor and add -lXxf86vm
and you're done, now "make" and it should compile
sfan5 wrote:https://forum.minetest.net/viewtopic.php?pid=88908#p88908 may help
rubenwardy wrote:sfan5 wrote:For all people on linux that have the same problem as me:
After the "cmake ." step:
Open CMakeFiles/NodeBoxGenerator.dir/link.txt in an editor and add -lXxf86vm
and you're done, now "make" and it should compile
Do you know how to add this to cmakelists.txt, in a way I can push to mainstream?
if(UNIX)
target_link_libraries(
Xxf86vm
)
endif(UNIX)
Element wrote:where do i put the file
rubenwardy wrote:I used Visual Studio to develop this :P
Users browsing this forum: No registered users and 32 guests