Skip to content
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

Build using QMAKE broken #164

Open
giovamemooria opened this issue Dec 5, 2023 · 3 comments
Open

Build using QMAKE broken #164

giovamemooria opened this issue Dec 5, 2023 · 3 comments

Comments

@giovamemooria
Copy link

Hi, thanks for your awesome project!
I found an issue building with QMAKE after this commit: specifically I'm building with:

qmake nxsbuild.pro && make

And I'm having the following issue:

g++ -c -pipe -std=c++11 -g -fpermissive -O2 -Wall -W -D_REENTRANT -fPIC -D_FILE_OFFSET_BITS=64 -D_USE_MATH_DEFINES -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../vcglib -I../../../vcglib/eigenlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o meshloader.o meshloader.cpp
g++ -c -pipe -std=c++11 -g -fpermissive -O2 -Wall -W -D_REENTRANT -fPIC -D_FILE_OFFSET_BITS=64 -D_USE_MATH_DEFINES -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../vcglib -I../../../vcglib/eigenlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o plyloader.o plyloader.cpp
plyloader.cpp: In constructor 'PlyLoader::PlyLoader(QString)':
plyloader.cpp:142:87: error: too many arguments to function 'void vcg::ply::interpret_texture_name(const char*, const char*, char*)'
    ply::interpret_texture_name( bufclean.c_str(),filename.toLatin1().data(), buf2, 255);

Thanks!

@wapgui
Copy link

wapgui commented Dec 6, 2023

Commits are using dev branch of vcglib !!!

@giovamemooria
Copy link
Author

Commits are using dev branch of vcglib !!!

I don't think I get it.. I'm following the doc and the default branch which is master. Is this a dev branch? Which branch/tag should I use instead?

@wapgui
Copy link

wapgui commented Dec 7, 2023

I use "git clone --branch devel https://github.com/cnr-isti-vclab/vcglib.git" and it works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants